|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.contentmanagement.contentmanager.state.CollectionManager
org.gcube.contentmanagement.contentmanager.state.WriteManager
public class WriteManager
Collections managers of write-only operations
| Constructor Summary | |
|---|---|
WriteManager()
|
|
| Method Summary | |
|---|---|
java.lang.String |
add(GDoc doc)
Adds a gDoc document. |
java.net.URI |
add(java.net.URI locator)
Adds zero or more gDoc documents. |
java.lang.String |
getType()
Returns the type of the resource. |
void |
update(GDoc doc)
Updates a gDoc document. |
java.net.URI |
update(java.net.URI locator)
Updates zero or more gDoc documents. |
| Methods inherited from class org.gcube.contentmanagement.contentmanager.state.CollectionManager |
|---|
getCardinality, getCollectionID, getLastUpdate, getPlugin, onEvent |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WriteManager()
| Method Detail |
|---|
public java.lang.String getType()
getType in class CollectionManager
public java.lang.String add(GDoc doc)
throws InvalidDocumentException,
java.lang.Exception
gDoc document.
doc - the document.
InvalidDocumentException - if the document is invalid.
java.lang.Exception - if the document is valid but could not be added.
public java.net.URI add(java.net.URI locator)
throws java.lang.Exception
gDoc documents.
locator - a locator to a remote resultset of DOM representations of the documents.
AddResponses.
java.lang.Exception - if the locator could not be returned.
public void update(GDoc doc)
throws UnknownDocumentException,
InvalidDocumentException,
java.lang.Exception
gDoc document.
doc - the updated document.
UnknownDocumentException - if the document is unknown.
InvalidDocumentException - if the document is invalid.
java.lang.Exception - if the document is known and valid but could not be updated.
public java.net.URI update(java.net.URI locator)
throws java.lang.Exception
gDoc documents.
locator - a locator to a remote resultset of DOM representations of the updated documents.
UpdateResponses.
java.lang.Exception - if the locator could not be returned.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||