|
||||||||||
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.ResourceRegistration
public class ResourceRegistration
Implementation of the ResourceRegistration portType
Constructor Summary | |
---|---|
ResourceRegistration()
|
Method Summary | |
---|---|
CreateResponse |
create(CreateMessage message)
Creates a new resource |
RemoveResponse |
remove(RemoveMessage message)
Removes a resource |
UpdateResponse |
update(UpdateMessage message)
Updates an existing resource |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResourceRegistration()
Method Detail |
---|
public CreateResponse create(CreateMessage message) throws InvalidResourceFault, ResourceNotAcceptedFault, CreateFault
message
-
SchemaValidationFault
ResourceNotAcceptedFault
CreateFaultType
InvalidResourceFault
CreateFault
public UpdateResponse update(UpdateMessage message) throws InvalidResourceFault, ResourceNotAcceptedFault, UpdateFault
message
-
SchemaValidationFault
ResourceNotAcceptedFault
UpdateFaultType
InvalidResourceFault
UpdateFault
public RemoveResponse remove(RemoveMessage message) throws RemoveFault, java.rmi.RemoteException
message
- id and type of the resource to remove
ResourceDoesNotExistFaultType
- if the resource does not exist
RemoveFaultType
- if an error occurs during the removal
RemoveFault
java.rmi.RemoteException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |