public class DocumentClientImpl extends Object implements DocumentClient
DocumentClient
.Constructor and Description |
---|
DocumentClientImpl(com.lexmark.saperion.document.DocumentService documentService,
com.lexmark.saperion.document.DocumentReferenceType reference) |
Modifier and Type | Method and Description |
---|---|
List<com.lexmark.saperion.administration.AclReferenceType> |
getACLs()
This method loads the ACLs set on the current revision of the specified document.
|
DocumentRevisionClient |
getRevision(com.lexmark.saperion.document.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(com.lexmark.saperion.document.DocumentService documentService, com.lexmark.saperion.document.DocumentReferenceType reference)
public DocumentRevisionClient latestRevision() throws com.lexmark.saperion.exceptions.EcmException
DocumentClient
latestRevision
in interface DocumentClient
com.lexmark.saperion.exceptions.EcmException
public DocumentRevisionClient getRevision(com.lexmark.saperion.document.DocumentRevisionReferenceType id)
DocumentClient
getRevision
in interface DocumentClient
id
- the document revision idpublic void lock() throws com.lexmark.saperion.exceptions.EcmException
DocumentClient
lock
in interface DocumentClient
com.lexmark.saperion.exceptions.EcmException
- when locking the document failedpublic void unlock() throws com.lexmark.saperion.exceptions.EcmException
DocumentClient
unlock
in interface DocumentClient
com.lexmark.saperion.exceptions.EcmException
- when unlocking the document failedpublic List<com.lexmark.saperion.administration.AclReferenceType> getACLs() throws com.lexmark.saperion.exceptions.EcmException
DocumentClient
getACLs
in interface DocumentClient
com.lexmark.saperion.exceptions.EcmException
- when loading the ACLs failedCopyright © 2020 Hyland Software Germany GmbH. All rights reserved.