public class DocumentServiceClientImpl extends Object implements DocumentServiceClient
DocumentServiceClient
.Constructor and Description |
---|
DocumentServiceClientImpl(DocumentService documentService) |
Modifier and Type | Method and Description |
---|---|
DocumentStoreInformationType |
createDocument(ArchiveReferenceType archiveReference,
Map<String,PropertyType> index,
DocumentElementType structure)
This method creates a new document with the given properties in the given archive.
|
DocumentStoreInformationType |
createDocument(CreateDocumentInputType properties)
This method creates a new document with the given properties in the given archive.
|
DocumentClient |
resolve(DocumentReferenceType reference)
This method returns a client for the document referenced.
|
DocumentRevisionClient |
resolve(DocumentRevisionReferenceType reference)
This method returns a client for the document revision referenced.
|
public DocumentServiceClientImpl(DocumentService documentService)
public DocumentClient resolve(DocumentReferenceType reference)
DocumentServiceClient
resolve
in interface DocumentServiceClient
reference
- a reference to the documentpublic DocumentRevisionClient resolve(DocumentRevisionReferenceType reference)
DocumentServiceClient
resolve
in interface DocumentServiceClient
reference
- a reference to the document revisionpublic DocumentStoreInformationType createDocument(ArchiveReferenceType archiveReference, Map<String,PropertyType> index, DocumentElementType structure) throws 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 structureEcmException
public DocumentStoreInformationType createDocument(CreateDocumentInputType properties) throws EcmException
DocumentServiceClient
createDocument
in interface DocumentServiceClient
properties
- the properties of the new document containing the archive, structure, metadata and ACLsEcmException
Copyright © 2016 Lexmark Enterprise Software Deutschland GmbH. All rights reserved.