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
DocumentClient
latestRevision
in interface DocumentClient
EcmException
public DocumentRevisionClient getRevision(DocumentRevisionReferenceType id)
DocumentClient
getRevision
in interface DocumentClient
id
- the document revision idpublic void lock() throws EcmException
DocumentClient
lock
in interface DocumentClient
EcmException
- when locking the document failedpublic void unlock() throws EcmException
DocumentClient
unlock
in interface DocumentClient
EcmException
- when unlocking the document failedpublic List<AclReferenceType> getACLs() throws EcmException
DocumentClient
getACLs
in interface DocumentClient
EcmException
- when loading the ACLs failedCopyright © 2016 Lexmark Enterprise Software Deutschland GmbH. All rights reserved.