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

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

public class GenericResourceManager
extends Object

Author:
Spyros Boutsis, NKUA

Constructor Summary
GenericResourceManager()
           
 
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
 

Constructor Detail

GenericResourceManager

public GenericResourceManager()
Method Detail

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.