org.gcube.portlets.admin.forwardindexportlet.gwt.server.util
Class GenericResourceManager
java.lang.Object
org.gcube.portlets.admin.forwardindexportlet.gwt.server.util.GenericResourceManager
public class GenericResourceManager
- extends Object
- Author:
- Spyros Boutsis, NKUA
|
Method Summary |
static void |
deleteGenericResource(String resourceID,
org.gcube.common.core.scope.GCUBEScope scope)
|
static List<org.gcube.common.core.resources.GCUBEGenericResource> |
retrieveGenericResource(List<String[]> conditions,
org.gcube.common.core.scope.GCUBEScope scope)
Retrieves a set of generic resources from the IS and returns them. |
static String |
updateGenericResource(org.gcube.common.core.resources.GCUBEGenericResource resource,
org.gcube.common.core.scope.GCUBEScope scope)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GenericResourceManager
public GenericResourceManager()
retrieveGenericResource
public static List<org.gcube.common.core.resources.GCUBEGenericResource> retrieveGenericResource(List<String[]> conditions,
org.gcube.common.core.scope.GCUBEScope scope)
throws Exception
- Retrieves a set of generic resources from the IS and returns them.
- Parameters:
conditions - pairs of strings representing "property"="value" conditions
- Returns:
- an object representing the generic resource
- Throws:
Exception
updateGenericResource
public static String updateGenericResource(org.gcube.common.core.resources.GCUBEGenericResource resource,
org.gcube.common.core.scope.GCUBEScope scope)
throws Exception
- Throws:
Exception
deleteGenericResource
public static void deleteGenericResource(String resourceID,
org.gcube.common.core.scope.GCUBEScope scope)
throws Exception
- Throws:
Exception
Copyright © 2013. All Rights Reserved.