Package com.saperion.ngc.viewer
Class RememberDocumentBean
java.lang.Object
com.saperion.ngc.viewer.RememberDocumentBean
Bean used to remember the last document.
-
Constructor Summary
ConstructorsConstructorDescriptionRememberDocumentBean
(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. -
Method Summary
Modifier and TypeMethodDescriptionGets the document id.int
Gets the element number.long
Gets the element size.Gets the page meta info.boolean
Checks if is ignore size.
-
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 elementsizeIgnored
- size will be ignored if true
-
-
Method Details
-
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
-