|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectGCUBEPortType
org.gcube.contentmanagement.contentmanager.porttypes.CMSPortType
org.gcube.contentmanagement.contentmanager.porttypes.CollectionManagerPT
org.gcube.contentmanagement.contentmanager.porttypes.WriteManagerPT
public class WriteManagerPT
Extends CollectionManagerPT for the read-only service port-type.
| Constructor Summary | |
|---|---|
WriteManagerPT()
|
|
| Method Summary | |
|---|---|
java.lang.String |
add(AnyHolder holder)
Adds a gDoc document. |
java.lang.String |
addRS(java.lang.String locator)
Adds zero or more gDoc documents to the bound collection. |
WriteManager |
getManager()
|
VOID |
update(AnyHolder holder)
Updates a gDoc document in the bound collection. |
java.lang.String |
updateRS(java.lang.String locator)
Updates zero or more gDoc documents in the bound collection. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WriteManagerPT()
| Method Detail |
|---|
public WriteManager getManager()
throws java.lang.Exception
java.lang.Exception
public java.lang.String add(AnyHolder holder)
throws InvalidDocumentFault,
GCUBEFault
gDoc document.
holder - a DOM representation of the document, packaged for transmission.
InvalidDocumentFault - if the document is invalid.
GCUBEFault - if the document is valid but still could not be added.
public java.lang.String addRS(java.lang.String locator)
throws GCUBEFault
gDoc documents to the bound collection.
locator - a locator to a remote ResultSet of gDoc documents.
AddResponses.
GCUBEFault - if the locator could not returned.
public VOID update(AnyHolder holder)
throws UnknownDocumentFault,
InvalidDocumentFault,
GCUBEFault
gDoc document in the bound collection.
holder - a DOM representation of the updated document, packaged for transmission.
UnknownDocumentFault - if the document is unknown.
InvalidDocumentFault - if the document is invalid.
GCUBEFault - if the document is known and valid but still could not be added.
public java.lang.String updateRS(java.lang.String locator)
throws GCUBEFault
gDoc documents in the bound collection.
locator - a locator to a remote ResultSet of gDoc documents.
UpdateResponses.
GCUBEFault - if the locator could not returned.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||