Package com.saperion.intf
Interface SaDocInfo
- All Superinterfaces:
- Serializable
- All Known Implementing Classes:
- SaDocInfoImpl
Holds information about a document like the document's structure and variables read from the archive.
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic interfaceRepresents an element of a document's structure.static enumStructure-element types.
- 
Method SummaryModifier and TypeMethodDescriptionintintReturns a list of the structure-elements of this document.getElementInfo(int elementNumber) Returns the element info of the element with the specified number, if existing.Returns the structure-elements as a map with the corresponding element number as key.getHdoc()Returns variables of the document.boolean
- 
Method Details- 
getVariableDataProperties getVariableData()Returns variables of the document. UseSaDocInfo.ElementInfo.getVariableData()to get variables contained in a specific element.- Returns:
- Document variable data
 
- 
getElementInfoList<SaDocInfo.ElementInfo> getElementInfo()Returns a list of the structure-elements of this document.- Returns:
- Element information
 
- 
getElementInfoMapMap<Integer,SaDocInfo.ElementInfo> getElementInfoMap()Returns the structure-elements as a map with the corresponding element number as key.- Returns:
- the element information as a map.
 
- 
getElementInfoReturns the element info of the element with the specified number, if existing. Null is returned if no element-info is existing for the given element number.- Parameters:
- elementNumber- The element number to get information for
- Returns:
- the document info for the given element number, if existing - null otherwise.
 
- 
getElementCountint getElementCount()- Returns:
- Element count
 
- 
getCreateUserint getCreateUser()- Returns:
- Document create user
 
- 
hasAnnotationsboolean hasAnnotations()- Returns:
- true if the document contains annotations
 
- 
getHdocString getHdoc()- Returns:
- hDoc of the revision represented by this SaDocInfo instance
 
 
-