Class RememberDocumentBean


  • public class RememberDocumentBean
    extends java.lang.Object
    Bean used to remember the last document.
    • Constructor Detail

      • RememberDocumentBean

        public RememberDocumentBean​(DocumentId docId,
                                    int elementNr,
                                    DocumentArchiveMetaInfo.ElementArchiveMetaInfo metaInfo,
                                    long size,
                                    boolean sizeIgnored)
        Creates a new DocumentHelper Object that holds information about a document like its docId.
        Parameters:
        docId - Id of the document.
        elementNr - Number of the elements.
        metaInfo - Meta information about the document.
        size - size of the element
        sizeIgnored - size will be ignored if true
    • Method Detail

      • getDocumentId

        public DocumentId getDocumentId()
        Gets the document id.
        Returns:
        the document id
      • getElementNumber

        public int getElementNumber()
        Gets the element number.
        Returns:
        the element number
      • getElementSize

        public long getElementSize()
        Gets the element size.
        Returns:
        the element size
      • isIgnoreSize

        public boolean isIgnoreSize()
        Checks if is ignore size.
        Returns:
        true, if is ignore size