git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/application-support-layer/applicationSupportLayerCore@11254 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
0935654f14
commit
d97fe43e33
|
@ -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<ISGenericResource> 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<ISGenericResource> 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<ISGenericResource> 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<Pair> 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<String,Vector<String[]>> getAllXslts(String xsltType);
|
||||
}
|
Loading…
Reference in New Issue