org.gcube.vremanagement.vremodeler.impl
Class ModelFactoryService

java.lang.Object
  extended by org.gcube.vremanagement.vremodeler.impl.ModelFactoryService

public class ModelFactoryService
extends java.lang.Object


Constructor Summary
ModelFactoryService()
           
 
Method Summary
 org.apache.axis.message.addressing.EndpointReferenceType createResource()
          implementation of createResource method
 ReportList getAllVREs(VOID arg)
           
 org.apache.axis.message.addressing.EndpointReferenceType getEPRbyId(java.lang.String id)
           
 GetExistingNamesResponseMessage getExistingNamesVREs(VOID arg)
          return the existing DL Name
 void initDB(VOID arg)
          Initialize the DB
 VOID removeVRE(java.lang.String id)
          remove the DL instance
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModelFactoryService

public ModelFactoryService()
Method Detail

createResource

public org.apache.axis.message.addressing.EndpointReferenceType createResource()
                                                                        throws GCUBEFault
implementation of createResource method

Parameters:
request - creation request
Returns:
the EndpointReference pointing to the resource
Throws:
GCUBEFault - if something fails

getExistingNamesVREs

public GetExistingNamesResponseMessage getExistingNamesVREs(VOID arg)
                                                     throws GCUBEFault
return the existing DL Name

Parameters:
request - void
Returns:
array of string with existing VRE names
Throws:
RemoteException - -
GCUBEFault

initDB

public void initDB(VOID arg)
            throws GCUBEFault
Initialize the DB

Parameters:
request - void
Throws:
GCUBEFault - thrown if something fails

getAllVREs

public ReportList getAllVREs(VOID arg)
                      throws GCUBEFault
Parameters:
request - void
Returns:
String
Throws:
RemoteException - -
GCUBEFault

removeVRE

public VOID removeVRE(java.lang.String id)
               throws GCUBEFault
remove the DL instance

Parameters:
request - the id of VRE to remove
Returns:
void
Throws:
RemoteException - -
GCUBEFault

getEPRbyId

public org.apache.axis.message.addressing.EndpointReferenceType getEPRbyId(java.lang.String id)
                                                                    throws GCUBEFault
Parameters:
id -
Returns:
Throws:
GCUBEFault