Interface DocumentArchiveMetaInfo.ElementArchiveMetaInfo
-
- All Superinterfaces:
java.io.Serializable
- All Known Implementing Classes:
ClassicConnectorPageArchiveMetaInfo
- Enclosing interface:
- DocumentArchiveMetaInfo
public static interface DocumentArchiveMetaInfo.ElementArchiveMetaInfo extends java.io.Serializable
Holds the meta information about a page of a document that is stored in the archive.- Author:
- jsc
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
MULTIPAGE_TIFF_INDICATOR
Multipage tiff files contain @in full-name.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getDocUid()
int
getFrameCount()
java.lang.String
getFullName()
Returns the full name of the element as it was stored in the archive (with page-numbers for multi-page-tiffs but without path).java.lang.String
getLinkUid()
java.lang.String
getName()
Returns only the name of the element.int
getNumber()
int
getPageCount()
long
getSize()
java.lang.String
getStructureDocUid()
int
getStructureLevel()
com.saperion.intf.SaDocInfo.ElementType
getType()
java.util.Properties
getVariableData()
boolean
isMergedMultipageDocument()
Returns true if this element is a multipage document (TIFF or scanned pages) which was merged to one document by the core server.boolean
isMultipageTiff()
Multipage tiff files contain @in full-name. boolean
isSelected()
boolean
isVisible()
Checks if this element should be visible in structure-views or not.
-
-
-
Field Detail
-
MULTIPAGE_TIFF_INDICATOR
static final java.lang.String MULTIPAGE_TIFF_INDICATOR
Multipage tiff files contain @in full-name. - See Also:
- Constant Field Values
-
-
Method Detail
-
getNumber
int getNumber()
- Returns:
- Number of element
-
getFullName
java.lang.String getFullName()
Returns the full name of the element as it was stored in the archive (with page-numbers for multi-page-tiffs but without path).- Returns:
- full name of the element
-
getName
java.lang.String getName()
Returns only the name of the element. For multi-page tiffs, the page number will be removed.- Returns:
- Element name
-
getType
com.saperion.intf.SaDocInfo.ElementType getType()
- Returns:
- Element type
-
isSelected
boolean isSelected()
- Returns:
- True, if selected
-
getVariableData
java.util.Properties getVariableData()
- Returns:
- element variable data
-
getSize
long getSize()
- Returns:
- element's size
-
getPageCount
int getPageCount()
- Returns:
- the number of pages (for files with several pages)
-
getFrameCount
int getFrameCount()
- Returns:
- the number of frames
-
getDocUid
java.lang.String getDocUid()
- Returns:
- the uid of the page
-
getLinkUid
java.lang.String getLinkUid()
- Returns:
- the uid of the linked document if the page is a link.
-
getStructureDocUid
java.lang.String getStructureDocUid()
- Returns:
- the uid of structure which contains the document / page
-
getStructureLevel
int getStructureLevel()
- Returns:
- the element's level in the structure hierarchy. 0 indicates unstructured document..
-
isMultipageTiff
boolean isMultipageTiff()
Multipage tiff files contain @in full-name. - Returns:
- True if the Element is a multipage tiff. False else.
-
isMergedMultipageDocument
boolean isMergedMultipageDocument()
Returns true if this element is a multipage document (TIFF or scanned pages) which was merged to one document by the core server.- Returns:
- true if merged document
-
isVisible
boolean isVisible()
Checks 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.
-
-