Interface NavigationNode
- All Superinterfaces:
NavigationItem
,Serializable
- All Known Implementing Classes:
FolderNode
Navigation node.
- Author:
- mak
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canMove()
Returns the content stream, it will be loaded on demand.Returns the node/folder name to display on frontend.long
Returns the folder class.getId()
Returns the node/folder identifier.Returns the index form name.Returns the link folder id.Returns the link table.Returns the mask ddc name.Returns the parent navigation item (node or tree).getPath()
Returns the properties of the folder.Returns the query form name.com.saperion.constants.SaFolderConstants.FOLDER_TYPE
getType()
Returns folder type.long
boolean
Checks if the node is located within a private-subtree of the navigation tree.boolean
isLinked()
void
setContent
(InputStream content) Sets the content stream.void
setDocCount
(int count) Sets the number of documents enclosed by this folder.void
Sets the ID of this node.void
setLinkingNode
(NavigationNode linking) Sets the node that is linking to this node.void
Sets the node name.void
setParent
(NavigationItem parentItem) Sets a new parent to a Node.void
setUnreadCount
(long count) Sets the number of unread documents enclosed by this folder.void
Methods inherited from interface com.saperion.ngc.model.navigation.intf.NavigationItem
canAddFolder, canDelete, canPermissions, canRename, getName, getNodes, getQuery, getViewElementId, remove, setViewElementId
-
Method Details
-
getParent
NavigationItem getParent()Returns the parent navigation item (node or tree).- Returns:
NavigationItem
-
getDisplayName
String getDisplayName()Returns the node/folder name to display on frontend.- Returns:
- the node display name
-
getQueryFormName
String getQueryFormName()Returns the query form name.- Returns:
- the query form name
-
getMaskDDCName
String getMaskDDCName()Returns the mask ddc name.- Returns:
- Form DDC name
-
getIndexFormName
String getIndexFormName()Returns the index form name.- Returns:
- the index form name
-
getLinkFolder
String getLinkFolder()Returns the link folder id.- Returns:
- the linkFolder
-
getLinkTable
String getLinkTable()Returns the link table.- Returns:
- the linkTable
-
getId
FolderId getId()Returns the node/folder identifier.- Returns:
- the navigation node's id
-
setId
Sets the ID of this node.- Parameters:
folderId
- node id
-
setName
Sets the node name.- Parameters:
nodeName
- Name
-
getType
com.saperion.constants.SaFolderConstants.FOLDER_TYPE getType()Returns folder type.- Returns:
- folder type
-
getContent
Returns the content stream, it will be loaded on demand.- Returns:
- content
- Throws:
AuthenticationException
- AuthenticationExceptionBinaryUnavailableException
- BinaryUnavailableException
-
setContent
Sets the content stream.- Parameters:
content
- content
-
getPath
String getPath()- Returns:
- the node path
-
getDocCount
long getDocCount()- Returns:
- Document count
-
setDocCount
void setDocCount(int count) Sets the number of documents enclosed by this folder.- Parameters:
count
- the number of documents enclosed by this folder.
-
getUnreadCount
long getUnreadCount()- Returns:
- Document count
-
setUnreadCount
void setUnreadCount(long count) Sets the number of unread documents enclosed by this folder.- Parameters:
count
- the number of unread documents enclosed by this folder.
-
canMove
boolean canMove()- Returns:
- Can move.
-
getUploadInfos
FolderUploadInfos getUploadInfos()- Returns:
- information about the upload capabilities of the node
-
getFolderClass
FolderClass getFolderClass()Returns the folder class. If no class is defined, a GenericFolderClass is generated.- Returns:
- the folder class
-
getProperties
Returns the properties of the folder. The properties do not contain system properties.- Returns:
- folder properties
-
getWorkflowInfo
WorkflowNodeInfo getWorkflowInfo()- Returns:
- The workflow infomation's
-
isLinked
boolean isLinked()- Returns:
- true if this node is linked by another node
-
getLinkingNode
NavigationNode getLinkingNode()- Returns:
- the node that links to this node or null if this node is not linked
-
isInPrivateSubtree
boolean isInPrivateSubtree()Checks if the node is located within a private-subtree of the navigation tree.- Returns:
- true if node is in private subtree
-