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
DocumentClientlatestRevision in interface DocumentClientcom.lexmark.saperion.exceptions.EcmExceptionpublic DocumentRevisionClient getRevision(com.lexmark.saperion.document.DocumentRevisionReferenceType id)
DocumentClientgetRevision in interface DocumentClientid - the document revision idpublic void lock()
throws com.lexmark.saperion.exceptions.EcmException
DocumentClientlock in interface DocumentClientcom.lexmark.saperion.exceptions.EcmException - when locking the document failedpublic void unlock()
throws com.lexmark.saperion.exceptions.EcmException
DocumentClientunlock in interface DocumentClientcom.lexmark.saperion.exceptions.EcmException - when unlocking the document failedpublic List<com.lexmark.saperion.administration.AclReferenceType> getACLs() throws com.lexmark.saperion.exceptions.EcmException
DocumentClientgetACLs in interface DocumentClientcom.lexmark.saperion.exceptions.EcmException - when loading the ACLs failedCopyright © 2020 Hyland Software Germany GmbH. All rights reserved.