org.gcube.vremanagement.vremodeler.resources.handlers
Class GenericResourceHandler

java.lang.Object
  extended by org.gcube.vremanagement.vremodeler.resources.handlers.GenericResourceHandler
All Implemented Interfaces:
ResourceHandler<GCUBEGenericResource>

public class GenericResourceHandler
extends java.lang.Object
implements ResourceHandler<GCUBEGenericResource>


Field Summary
static java.lang.String tableName
           
 
Constructor Summary
GenericResourceHandler()
           
 
Method Summary
 void add(GCUBEGenericResource resource)
           
 void drop(java.lang.String resourceId)
           
 void initialize()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tableName

public static final java.lang.String tableName
See Also:
Constant Field Values
Constructor Detail

GenericResourceHandler

public GenericResourceHandler()
Method Detail

add

public void add(GCUBEGenericResource resource)
         throws java.lang.Exception
Specified by:
add in interface ResourceHandler<GCUBEGenericResource>
Throws:
java.lang.Exception

drop

public void drop(java.lang.String resourceId)
          throws java.lang.Exception
Specified by:
drop in interface ResourceHandler<GCUBEGenericResource>
Throws:
java.lang.Exception

initialize

public void initialize()
                throws java.lang.Exception
Specified by:
initialize in interface ResourceHandler<GCUBEGenericResource>
Throws:
java.lang.Exception