public interface DocumentStoreInterface
DocumentStore.xml
example.
This is a placeholder until you develop your own interface using JAX-WS
tools.Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
deleteVersion(java.lang.Integer docid,
java.lang.Integer version)
Attempts to delete a given version of a document with the given docid.
|
Document |
getDocument(java.lang.Integer docid)
Attempts to retrieve a document under the docid.
|
java.lang.Integer |
getEncryption()
Returns the encryption standard for the customer.
|
java.lang.String |
getScenario()
Returns the last scenario that was enacted.
|
java.lang.String |
getState()
Returns the last state that was entered.
|
java.lang.Integer |
getStorageLimit()
Returns the storage allocation limit for the customer.
|
java.lang.Integer |
getStorageUsed()
Returns the storage used by the customer.
|
Document |
getVersion(java.lang.Integer docid,
java.lang.Integer version)
Attempts to retrieve a given version of a document with the given
docid.
|
java.util.List<java.lang.Object> |
login(java.lang.String username,
java.lang.String password)
Attempts to login with the given credentials.
|
void |
logout()
Logs out of the service, if logged in.
|
java.util.List<java.lang.Object> |
putDocument(java.lang.Integer docid,
Document document)
Attempts to store a document under the docid.
|
void |
reset()
Resets the service to its clean initial state.
|
void reset()
java.lang.String getScenario()
java.lang.String getState()
java.util.List<java.lang.Object> login(java.lang.String username, java.lang.String password)
username
- the customer's name.password
- the customer's password.void logout()
java.lang.Integer getEncryption()
java.lang.Integer getStorageLimit()
java.lang.Integer getStorageUsed()
java.util.List<java.lang.Object> putDocument(java.lang.Integer docid, Document document)
docid
- the document index.document
- the Document.Document getDocument(java.lang.Integer docid)
docid
- the document index.Document getVersion(java.lang.Integer docid, java.lang.Integer version)
docid
- the document index.version
- the version index.java.lang.Integer deleteVersion(java.lang.Integer docid, java.lang.Integer version)
docid
- the document index.version
- the version index.