Class DocumentServiceClientImpl

    • Constructor Summary

      Constructors 
      Constructor Description
      DocumentServiceClientImpl​(com.lexmark.saperion.document.DocumentService documentService)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.lexmark.saperion.document.DocumentStoreInformationType createDocument​(com.lexmark.saperion.archive.ArchiveReferenceType archiveReference, java.util.Map<java.lang.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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DocumentServiceClientImpl

        public DocumentServiceClientImpl​(com.lexmark.saperion.document.DocumentService documentService)
    • Method Detail

      • resolve

        public DocumentClient resolve​(com.lexmark.saperion.document.DocumentReferenceType reference)
        Description copied from interface: DocumentServiceClient
        This method returns a client for the document referenced.
        Specified by:
        resolve in interface DocumentServiceClient
        Parameters:
        reference - a reference to the document
        Returns:
        a client for the document referenced
      • resolve

        public DocumentRevisionClient resolve​(com.lexmark.saperion.document.DocumentRevisionReferenceType reference)
        Description copied from interface: DocumentServiceClient
        This method returns a client for the document revision referenced.
        Specified by:
        resolve in interface DocumentServiceClient
        Parameters:
        reference - a reference to the document revision
        Returns:
        a client for the document revision referenced
      • createDocument

        public com.lexmark.saperion.document.DocumentStoreInformationType createDocument​(com.lexmark.saperion.archive.ArchiveReferenceType archiveReference,
                                                                                         java.util.Map<java.lang.String,​com.lexmark.saperion.PropertyType> index,
                                                                                         com.lexmark.saperion.document.DocumentElementType structure)
                                                                                  throws com.lexmark.saperion.exceptions.EcmException
        Description copied from interface: DocumentServiceClient
        This method creates a new document with the given properties in the given archive.
        Specified by:
        createDocument in interface DocumentServiceClient
        Parameters:
        archiveReference - a reference to the archive to create the document in
        index - the index properties of the document as defined by the archive
        structure - the documents content structure
        Returns:
        a reference to the newly created document
        Throws:
        com.lexmark.saperion.exceptions.EcmException
      • createDocument

        public com.lexmark.saperion.document.DocumentStoreInformationType createDocument​(com.lexmark.saperion.document.CreateDocumentInputType properties)
                                                                                  throws com.lexmark.saperion.exceptions.EcmException
        Description copied from interface: DocumentServiceClient
        This method creates a new document with the given properties in the given archive.
        Specified by:
        createDocument in interface DocumentServiceClient
        Parameters:
        properties - the properties of the new document containing the archive, structure, metadata and ACLs
        Returns:
        a reference to the newly created document
        Throws:
        com.lexmark.saperion.exceptions.EcmException