org.gcube.application.aquamaps.aquamapsservice.impl.publishing
Class Generator<T>

java.lang.Object
  extended by org.gcube.application.aquamaps.aquamapsservice.impl.publishing.Generator<T>

public abstract class Generator<T>
extends java.lang.Object


Constructor Summary
Generator(GenerationRequest request)
           
 
Method Summary
static void cleanData(Submitted object)
           
static java.lang.String clusteringDistributionQuery(java.lang.String hspecName)
           
 void destroy(T toDestroy)
           
 T generate()
           
 T update()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Generator

public Generator(GenerationRequest request)
Method Detail

generate

public T generate()
           throws java.lang.Exception
Throws:
java.lang.Exception

destroy

public void destroy(T toDestroy)
             throws java.lang.Exception
Throws:
java.lang.Exception

update

public T update()
         throws java.lang.Exception
Throws:
java.lang.Exception

cleanData

public static void cleanData(Submitted object)
                      throws java.lang.Exception
Throws:
java.lang.Exception

clusteringDistributionQuery

public static java.lang.String clusteringDistributionQuery(java.lang.String hspecName)