org.gcube.portlets.admin.fulltextindexportlet.gwt.server.util
Class GenericResourceManager
java.lang.Object
org.gcube.portlets.admin.fulltextindexportlet.gwt.server.util.GenericResourceManager
public class GenericResourceManager
- extends Object
- Author:
- Spyros Boutsis, NKUA
| 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.resources.gcore.GenericResource> retrieveGenericResource(List<String> conditions,
String 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.resources.gcore.GenericResource resource,
String scope)
throws Exception
- Throws:
Exception
deleteGenericResource
public static void deleteGenericResource(org.gcube.common.resources.gcore.GenericResource resource,
String scope)
throws Exception
- Throws:
Exception
Copyright © 2014. All Rights Reserved.