public class DocumentClientImpl extends Object implements DocumentClient
DocumentClient.| Constructor and Description |
|---|
DocumentClientImpl(DocumentService documentService,
DocumentReferenceType reference) |
| Modifier and Type | Method and Description |
|---|---|
List<AclReferenceType> |
getACLs()
This method loads the ACLs set on the current revision of the specified document.
|
DocumentRevisionClient |
getRevision(DocumentRevisionReferenceType id)
This method returns a document revision client bound to the given revision of the
given document.
|
DocumentRevisionClient |
latestRevision()
This method returns a document revision client bound to the newest revision of the
given document.
|
void |
lock()
This method locks the document.
|
void |
unlock()
This method unlocks the document.
|
public DocumentClientImpl(DocumentService documentService, DocumentReferenceType reference)
public DocumentRevisionClient latestRevision() throws EcmException
DocumentClientlatestRevision in interface DocumentClientEcmExceptionpublic DocumentRevisionClient getRevision(DocumentRevisionReferenceType id)
DocumentClientgetRevision in interface DocumentClientid - the document revision idpublic void lock()
throws EcmException
DocumentClientlock in interface DocumentClientEcmException - when locking the document failedpublic void unlock()
throws EcmException
DocumentClientunlock in interface DocumentClientEcmException - when unlocking the document failedpublic List<AclReferenceType> getACLs() throws EcmException
DocumentClientgetACLs in interface DocumentClientEcmException - when loading the ACLs failedCopyright © 2016 Lexmark Enterprise Software Deutschland GmbH. All rights reserved.