public class DocumentServiceClientImpl extends Object implements DocumentServiceClient
DocumentServiceClient
.Constructor and Description |
---|
DocumentServiceClientImpl(com.lexmark.saperion.document.DocumentService documentService) |
Modifier and Type | Method and Description |
---|---|
com.lexmark.saperion.document.DocumentStoreInformationType |
createDocument(com.lexmark.saperion.archive.ArchiveReferenceType archiveReference,
Map<String,com.lexmark.saperion.PropertyType> index,
com.lexmark.saperion.document.DocumentElementType structure)
This method creates a new document with the given properties in the given archive.
|
com.lexmark.saperion.document.DocumentStoreInformationType |
createDocument(com.lexmark.saperion.document.CreateDocumentInputType properties)
This method creates a new document with the given properties in the given archive.
|
DocumentClient |
resolve(com.lexmark.saperion.document.DocumentReferenceType reference)
This method returns a client for the document referenced.
|
DocumentRevisionClient |
resolve(com.lexmark.saperion.document.DocumentRevisionReferenceType reference)
This method returns a client for the document revision referenced.
|
public DocumentServiceClientImpl(com.lexmark.saperion.document.DocumentService documentService)
public DocumentClient resolve(com.lexmark.saperion.document.DocumentReferenceType reference)
DocumentServiceClient
resolve
in interface DocumentServiceClient
reference
- a reference to the documentpublic DocumentRevisionClient resolve(com.lexmark.saperion.document.DocumentRevisionReferenceType reference)
DocumentServiceClient
resolve
in interface DocumentServiceClient
reference
- a reference to the document revisionpublic com.lexmark.saperion.document.DocumentStoreInformationType createDocument(com.lexmark.saperion.archive.ArchiveReferenceType archiveReference, Map<String,com.lexmark.saperion.PropertyType> index, com.lexmark.saperion.document.DocumentElementType structure) throws com.lexmark.saperion.exceptions.EcmException
DocumentServiceClient
createDocument
in interface DocumentServiceClient
archiveReference
- a reference to the archive to create the document inindex
- the index properties of the document as defined by the archivestructure
- the documents content structurecom.lexmark.saperion.exceptions.EcmException
public com.lexmark.saperion.document.DocumentStoreInformationType createDocument(com.lexmark.saperion.document.CreateDocumentInputType properties) throws com.lexmark.saperion.exceptions.EcmException
DocumentServiceClient
createDocument
in interface DocumentServiceClient
properties
- the properties of the new document containing the archive, structure, metadata and ACLscom.lexmark.saperion.exceptions.EcmException
Copyright © 2020 Hyland Software Germany GmbH. All rights reserved.