Package com.saperion.ngc.model.document
Class ClassicConnectorPageArchiveMetaInfo
java.lang.Object
com.saperion.ngc.model.document.ClassicConnectorPageArchiveMetaInfo
- All Implemented Interfaces:
- DocumentArchiveMetaInfo.ElementArchiveMetaInfo,- Serializable
public class ClassicConnectorPageArchiveMetaInfo
extends Object
implements DocumentArchiveMetaInfo.ElementArchiveMetaInfo
Holds the meta information about a page of a document that is stored in the archive and obtained
 by the classic connector. Actually wraps 
SaDocInfo.ElementInfo- Author:
- jsc
- See Also:
- 
Field SummaryFields inherited from interface com.saperion.ngc.model.document.intf.DocumentArchiveMetaInfo.ElementArchiveMetaInfoMULTIPAGE_TIFF_INDICATOR
- 
Constructor SummaryConstructorsConstructorDescriptionClassicConnectorPageArchiveMetaInfo(com.saperion.intf.SaDocInfo.ElementInfo info, String parentDocUid) constructor.
- 
Method SummaryModifier and TypeMethodDescriptionintReturns the full name of the element as it was stored in the archive (with page-numbers for multi-page-tiffs but without path).getName()Returns only the name of the element.intintlonggetSize()intcom.saperion.intf.SaDocInfo.ElementTypegetType()booleanReturns true if this element is a multipage document (TIFF or scanned pages) which was merged to one document by the core server.booleanMultipage tiff files contain @<page#> in full-name.booleanbooleanChecks if this element should be visible in structure-views or not.
- 
Constructor Details- 
ClassicConnectorPageArchiveMetaInfopublic ClassicConnectorPageArchiveMetaInfo(com.saperion.intf.SaDocInfo.ElementInfo info, String parentDocUid) constructor.- Parameters:
- info- The wrapped Elementinfo
 
 
- 
- 
Method Details- 
getNumberpublic int getNumber()- Specified by:
- getNumberin interface- DocumentArchiveMetaInfo.ElementArchiveMetaInfo
- Returns:
- Number of element
 
- 
getFullNameReturns the full name of the element as it was stored in the archive (with page-numbers for multi-page-tiffs but without path).- Specified by:
- getFullNamein interface- DocumentArchiveMetaInfo.ElementArchiveMetaInfo
- Returns:
- full name of the element
 
- 
getNameReturns only the name of the element. For multi-page tiffs, the page number will be removed.- Specified by:
- getNamein interface- DocumentArchiveMetaInfo.ElementArchiveMetaInfo
- Returns:
- Element name
 
- 
getTypepublic com.saperion.intf.SaDocInfo.ElementType getType()- Specified by:
- getTypein interface- DocumentArchiveMetaInfo.ElementArchiveMetaInfo
- Returns:
- Element type
 
- 
isSelectedpublic boolean isSelected()- Specified by:
- isSelectedin interface- DocumentArchiveMetaInfo.ElementArchiveMetaInfo
- Returns:
- True, if selected
 
- 
getVariableData- Specified by:
- getVariableDatain interface- DocumentArchiveMetaInfo.ElementArchiveMetaInfo
- Returns:
- element variable data
 
- 
getSizepublic long getSize()- Specified by:
- getSizein interface- DocumentArchiveMetaInfo.ElementArchiveMetaInfo
- Returns:
- element's size
 
- 
getPageCountpublic int getPageCount()- Specified by:
- getPageCountin interface- DocumentArchiveMetaInfo.ElementArchiveMetaInfo
- Returns:
- the number of pages (for files with several pages)
 
- 
getFrameCountpublic int getFrameCount()- Specified by:
- getFrameCountin interface- DocumentArchiveMetaInfo.ElementArchiveMetaInfo
- Returns:
- the number of frames
 
- 
getDocUid- Specified by:
- getDocUidin interface- DocumentArchiveMetaInfo.ElementArchiveMetaInfo
- Returns:
- the uid of the page
 
- 
getLinkUid- Specified by:
- getLinkUidin interface- DocumentArchiveMetaInfo.ElementArchiveMetaInfo
- Returns:
- the uid of the linked document if the page is a link.
 
- 
getStructureDocUid- Specified by:
- getStructureDocUidin interface- DocumentArchiveMetaInfo.ElementArchiveMetaInfo
- Returns:
- the uid of structure which contains the document / page
 
- 
getStructureLevelpublic int getStructureLevel()- Specified by:
- getStructureLevelin interface- DocumentArchiveMetaInfo.ElementArchiveMetaInfo
- Returns:
- the element's level in the structure hierarchy. 0 indicates unstructured document..
 
- 
isMultipageTiffpublic boolean isMultipageTiff()Description copied from interface:DocumentArchiveMetaInfo.ElementArchiveMetaInfoMultipage tiff files contain @<page#> in full-name.- Specified by:
- isMultipageTiffin interface- DocumentArchiveMetaInfo.ElementArchiveMetaInfo
- Returns:
- True if the Element is a multipage tiff. False else.
 
- 
isMergedMultipageDocumentpublic boolean isMergedMultipageDocument()Description copied from interface:DocumentArchiveMetaInfo.ElementArchiveMetaInfoReturns true if this element is a multipage document (TIFF or scanned pages) which was merged to one document by the core server.- Specified by:
- isMergedMultipageDocumentin interface- DocumentArchiveMetaInfo.ElementArchiveMetaInfo
- Returns:
- true if merged document
 
- 
isVisiblepublic boolean isVisible()Description copied from interface:DocumentArchiveMetaInfo.ElementArchiveMetaInfoChecks if this element should be visible in structure-views or not. Note: Currently, this is only used by the SAP-Viewer to hide sapfile.txt files.- Specified by:
- isVisiblein interface- DocumentArchiveMetaInfo.ElementArchiveMetaInfo
 
 
-