Package com.saperion.ngc.viewer
Class RememberDocumentBean
- java.lang.Object
-
- com.saperion.ngc.viewer.RememberDocumentBean
-
public class RememberDocumentBean extends java.lang.Object
Bean used to remember the last document.
-
-
Constructor Summary
Constructors Constructor Description 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DocumentId
getDocumentId()
Gets the document id.int
getElementNumber()
Gets the element number.long
getElementSize()
Gets the element size.DocumentArchiveMetaInfo.ElementArchiveMetaInfo
getPageMetaInfo()
Gets the page meta info.boolean
isIgnoreSize()
Checks if is ignore size.
-
-
-
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 elementsizeIgnored
- 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
-
getPageMetaInfo
public DocumentArchiveMetaInfo.ElementArchiveMetaInfo 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
-
-