Class RetrievedDocument

  • All Implemented Interfaces:

    public class RetrievedDocument
    extends Object
    implements Serializable
    A single document retrieved from the repository.

    All members of this class are allowed to be null.

    Jens Riemschneider
    See Also:
    Serialized Form
    • Constructor Detail

      • RetrievedDocument

        public RetrievedDocument()
        Constructs the retrieved document.
      • RetrievedDocument

        public RetrievedDocument​(javax.activation.DataHandler dataHandler,
                                 DocumentReference requestData,
                                 String newRepositoryUniqueId,
                                 String newDocumentUniqueId,
                                 String mimeType)
        Constructs the retrieved document.
        dataHandler - the data handler allowing access to the content of the document.
        requestData - the data specified in the request.
        newRepositoryUniqueId - ID of the Document Repository that will support retrieval of the document created as a result of retrieval of the On-Demand Document (required when the On-Demand Document Source supports the Persistence of Retrieved Documents Option).
        newDocumentUniqueId - ID of the document created as a result of retrieval of the On-Demand Document.
        mimeType - MIME type of the document.
    • Method Detail

      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        hashCode in class Object
      • getDataHandler

        public javax.activation.DataHandler getDataHandler()
      • setDataHandler

        public void setDataHandler​(javax.activation.DataHandler dataHandler)
      • getMimeType

        public String getMimeType()
      • setMimeType

        public void setMimeType​(String mimeType)
      • getNewRepositoryUniqueId

        public String getNewRepositoryUniqueId()
      • setNewRepositoryUniqueId

        public void setNewRepositoryUniqueId​(String newRepositoryUniqueId)
      • getNewDocumentUniqueId

        public String getNewDocumentUniqueId()
      • setNewDocumentUniqueId

        public void setNewDocumentUniqueId​(String newDocumentUniqueId)