org.gcube.vremanagement.vremodeler.impl
Class ModelFactoryService

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

public class ModelFactoryService
extends Object


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

Constructor Detail

ModelFactoryService

public ModelFactoryService()
Method Detail

getServiceContext

protected ServiceContext getServiceContext()

createResource

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

Parameters:
request - creation request
Returns:
the EndpointReference pointing to the resource
Throws:
org.gcube.common.core.faults.GCUBEFault - if something fails

getExistingNamesVREs

public org.gcube.vremanagement.vremodeler.stubs.GetExistingNamesResponseMessage getExistingNamesVREs(org.gcube.common.core.types.VOID arg)
                                                                                              throws org.gcube.common.core.faults.GCUBEFault
return the existing DL Name

Parameters:
request - void
Returns:
array of string with existing VRE names
Throws:
RemoteException - -
org.gcube.common.core.faults.GCUBEFault

initDB

public void initDB(org.gcube.common.core.types.VOID arg)
            throws org.gcube.common.core.faults.GCUBEFault
Initialize the DB

Parameters:
request - void
Throws:
org.gcube.common.core.faults.GCUBEFault - thrown if something fails

getAllVREs

public org.gcube.vremanagement.vremodeler.stubs.ReportList getAllVREs(org.gcube.common.core.types.VOID arg)
                                                               throws org.gcube.common.core.faults.GCUBEFault
Parameters:
request - void
Returns:
String
Throws:
RemoteException - -
org.gcube.common.core.faults.GCUBEFault

removeVRE

public org.gcube.common.core.types.VOID removeVRE(String id)
                                           throws org.gcube.common.core.faults.GCUBEFault
remove the DL instance

Parameters:
request - the id of VRE to remove
Returns:
void
Throws:
RemoteException - -
org.gcube.common.core.faults.GCUBEFault

getEPRbyId

public org.apache.axis.message.addressing.EndpointReferenceType getEPRbyId(String id)
                                                                    throws org.gcube.common.core.faults.GCUBEFault
Parameters:
id -
Returns:
Throws:
org.gcube.common.core.faults.GCUBEFault


Copyright © 2013. All Rights Reserved.