org.gcube.portlets.admin.fulltextindexportlet.gwt.server.util
Class GenericResourceManager

java.lang.Object
  extended by org.gcube.portlets.admin.fulltextindexportlet.gwt.server.util.GenericResourceManager

public class GenericResourceManager
extends Object

Author:
Spyros Boutsis, NKUA

Constructor Summary
GenericResourceManager()
           
 
Method Summary
static void deleteGenericResource(org.gcube.common.resources.gcore.GenericResource resource, String scope)
           
static List<org.gcube.common.resources.gcore.GenericResource> retrieveGenericResource(List<String> conditions, String scope)
          Retrieves a set of generic resources from the IS and returns them.
static String updateGenericResource(org.gcube.common.resources.gcore.GenericResource resource, String scope)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericResourceManager

public GenericResourceManager()
Method Detail

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 © 2013. All Rights Reserved.