Class RememberDocumentBean

java.lang.Object
com.saperion.ngc.viewer.RememberDocumentBean

public class RememberDocumentBean extends Object
Bean used to remember the last document.
  • Constructor Details

    • 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 Details

    • getDocumentId

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

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

      Gets the page meta info.
      Returns:
      the page meta info
    • 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