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

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

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


Field Summary
static java.lang.String tableName
           
 
Constructor Summary
CollectionHandler()
           
 
Method Summary
 void add(GCUBEGenericResource resource)
           
 void drop(java.lang.String collectionId)
           
 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

CollectionHandler

public CollectionHandler()
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 collectionId)
          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