public interface DocumentClient
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.
|
DocumentRevisionClient latestRevision() throws com.lexmark.saperion.exceptions.EcmException
com.lexmark.saperion.exceptions.EcmException
DocumentRevisionClient getRevision(com.lexmark.saperion.document.DocumentRevisionReferenceType id)
id
- the document revision idvoid lock() throws com.lexmark.saperion.exceptions.EcmException
com.lexmark.saperion.exceptions.EcmException
- when locking the document failedvoid unlock() throws com.lexmark.saperion.exceptions.EcmException
com.lexmark.saperion.exceptions.EcmException
- when unlocking the document failedList<com.lexmark.saperion.administration.AclReferenceType> getACLs() throws com.lexmark.saperion.exceptions.EcmException
com.lexmark.saperion.exceptions.EcmException
- when loading the ACLs failedCopyright © 2020 Hyland Software Germany GmbH. All rights reserved.