public interface DocumentRevisionClient
ConcurrentWriteException will be thrown otherwise.| Modifier and Type | Method and Description |
|---|---|
void |
delete()
This method deletes the specified document.
|
DocumentElementClient |
getElement(DocumentElementReferenceType reference)
This method returns the document element client for the given document element id.
|
DocumentRevisionType |
load()
This method loads a document revision with its content.
|
DocumentRevisionType |
loadMetadata()
This method loads a document revision without its content.
|
SearchClient<PropertyType> |
searchMultiValueField(String fieldName)
This method returns a search client for the content of the given multi value field of the given document
revision.
|
DocumentStoreInformationType |
update(DocumentElementType documentElement)
This is a shorthand for
update(Collections.<String, PropertyType> emptyMap(), documentElement)
updating only the document element and leaving the index data untouched. |
DocumentStoreInformationType |
update(Map<String,PropertyType> indexData)
This is a shorthand for
update(indexData, null) updating only the index data and leaving the document
structure untouched. |
DocumentStoreInformationType |
update(Map<String,PropertyType> indexData,
DocumentElementType documentElement)
This method updates the document instance and replaces the document with the given entity.
|
DocumentStoreInformationType |
update(UpdateDocumentInputType properties)
This method updates the document with the given properties containing index-data, structure-data and ACLs.
|
DocumentRevisionType loadMetadata() throws EcmException
EcmException - indicates that a system exception occurredDocumentRevisionType load() throws EcmException
EcmException - indicates that a system exception occurredSearchClient<PropertyType> searchMultiValueField(String fieldName) throws EcmException
fieldName - the name of the multi value fieldEcmExceptionDocumentElementClient getElement(DocumentElementReferenceType reference) throws EcmException
reference - the document element referenceEcmExceptionvoid delete()
throws EcmException
EcmException - indicates that a system exception occurredDocumentStoreInformationType update(Map<String,PropertyType> indexData, DocumentElementType documentElement) throws EcmException
indexData - the index data changes of the documentdocumentElement - the new document root structureEcmException - indicates that a system exception occurredDocumentStoreInformationType update(DocumentElementType documentElement) throws EcmException
update(Collections.<String, PropertyType> emptyMap(), documentElement)
updating only the document element and leaving the index data untouched.documentElement - the new document root structureEcmExceptionDocumentStoreInformationType update(Map<String,PropertyType> indexData) throws EcmException
update(indexData, null) updating only the index data and leaving the document
structure untouched.indexData - the index data changes of the documentEcmExceptionDocumentStoreInformationType update(UpdateDocumentInputType properties) throws EcmException
properties - the properties to updateEcmException - when updating the document failedCopyright © 2016 Lexmark Enterprise Software Deutschland GmbH. All rights reserved.