|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectGCUBEPortType
org.gcube.informationsystem.registry.impl.porttypes.RegistryFactory
public class RegistryFactory
Implementation of the Registry Factory portType
Field Summary | |
---|---|
static java.lang.String |
NOTIFICATOR_RESOURCE_KEY
the key used to label the Factory Resource |
Constructor Summary | |
---|---|
RegistryFactory()
|
Method Summary | |
---|---|
java.lang.String |
createResource(CreateResourceMessage mess)
Creates a new ProfileResource and registers the GCUBEResource in the IS-IC |
RemoveResourceResponse |
removeResource(RemoveResourceMessage mess)
Removes a Resource profile identified by the given the resource ID |
UpdateResourceResponse |
updateResource(UpdateResourceMessage mess)
Updates a GCUBEResource |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String NOTIFICATOR_RESOURCE_KEY
Constructor Detail |
---|
public RegistryFactory()
Method Detail |
---|
public java.lang.String createResource(CreateResourceMessage mess) throws SchemaValidationFault, java.rmi.RemoteException, ProfileAlreadyRegisteredFault, ResourceNotAcceptedFault
ProfileResource
and registers the GCUBEResource
in the IS-IC
inputMessage
- defined in the WSDL
SchemaValidationException
- if the string serialization of the resource is not valid
ResourceNotAcceptedFault
- it the resource is rejected when evaluating the resources' filters
java.rmi.RemoteException
ProfileAlreadyRegisteredFault
SchemaValidationFault
public UpdateResourceResponse updateResource(UpdateResourceMessage mess) throws java.rmi.RemoteException, SchemaValidationFault, ResourceNotAcceptedFault, GCUBEFault
GCUBEResource
mess
- Complex Object that contains a String representing the XML profile to update and the diligentID
java.rmi.RemoteException
- Exception
SchemaValidationException
- if the string serialization of the resource is not valid
ResourceNotAcceptedFault
- it the resource is rejected when evaluating the resources' filters
SchemaValidationFault
GCUBEFault
public RemoveResourceResponse removeResource(RemoveResourceMessage mess) throws java.rmi.RemoteException, GCUBEFault
inputMessage
- defined into WSDL file
java.rmi.RemoteException
GCUBEFault
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |