From d97fe43e337535d60813dc2b52cf9bb5833572ac Mon Sep 17 00:00:00 2001 From: Rena Tsantouli Date: Fri, 10 Apr 2009 14:33:29 +0000 Subject: [PATCH] git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/application-support-layer/applicationSupportLayerCore@11254 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../vremanagement/GenericResourceInfoI.java | 70 ------------------- 1 file changed, 70 deletions(-) delete mode 100644 src/org/gcube/application/framework/core/vremanagement/GenericResourceInfoI.java diff --git a/src/org/gcube/application/framework/core/vremanagement/GenericResourceInfoI.java b/src/org/gcube/application/framework/core/vremanagement/GenericResourceInfoI.java deleted file mode 100644 index c6b9cb3..0000000 --- a/src/org/gcube/application/framework/core/vremanagement/GenericResourceInfoI.java +++ /dev/null @@ -1,70 +0,0 @@ -package org.gcube.application.framework.core.vremanagement; - -import java.rmi.RemoteException; -import java.util.HashMap; -import java.util.List; -import java.util.Vector; - -import org.gcube.application.framework.core.vremanagement.impl.Pair; -import org.gcube.application.framework.core.vremanagement.model.ISGenericResource; - -/** - * @author Valia Tsagkalidou (NKUA) - * - */ -public interface GenericResourceInfoI { - - /** - * @param name the name of the generic resource - * @return a list containing the generic resources that have as name the given - * @throws RemoteException when an error has occurred while communicating with IS - */ - public List getGenericResourceByName(String name) throws RemoteException ; - - /** - * @param id the id of the generic resource - * @return a list containing the corresponding generic resources - * @throws RemoteException when an error has occurred while communicating with IS - */ - public List getGenericResourceByID(String id) throws RemoteException; - - /** - * @return a list containing the generic resources that describe which collections are part of the active VRE as well as their hierarchical structure (the name of this generic resource is "ScenarioCollectionInfo") - * @throws RemoteException when an error has occurred while communicating with IS - */ - public List getGenericResourceForScenario() throws RemoteException ; - - /** - * Updates a generic resource based on it's ID - * @param genericResource the generic resource to be updated - * @throws RemoteException when an error has occurred while communicating with IS - */ - public void updateGenericResourceByID(ISGenericResource genericResource) throws RemoteException; - - /** - * Creates a new generic resource - * @param genericResource the new generic resource - * @throws RemoteException when an error has occurred while communicating with IS - */ - public String createGenericResource(ISGenericResource genericResource) throws RemoteException; - - /** - * Reomoves an existing generic resource - * @param genericResource the generic resource to be removed - * @throws RemoteException when an error has occurred while communicating with IS - */ - public void removeGenericResource(ISGenericResource genericResource) throws RemoteException; - - /** - * @return a list containing pairs of (name, id) of the available generic resources - * @throws RemoteException when an error has occurred while communicating with IS - */ - public List getAvailableGenericResourceNames() throws RemoteException; - - /** - * - * @param xsltType Presentation or Metadata. The type of the xslt - * @return A vector which contains all the generic resources, xslts of this type. The xslts are sorted by the schema. - */ - public HashMap> getAllXslts(String xsltType); -}