Interface NavigationNode

    • Method Detail

      • setParent

        void setParent​(NavigationItem parentItem)
        Sets a new parent to a Node.
        Parameters:
        parentItem - The new parentItem.
      • getDisplayName

        java.lang.String getDisplayName()
        Returns the node/folder name to display on frontend.
        Returns:
        the node display name
      • getQueryFormName

        java.lang.String getQueryFormName()
        Returns the query form name.
        Returns:
        the query form name
      • getMaskDDCName

        java.lang.String getMaskDDCName()
        Returns the mask ddc name.
        Returns:
        Form DDC name
      • getIndexFormName

        java.lang.String getIndexFormName()
        Returns the index form name.
        Returns:
        the index form name
      • getLinkFolder

        java.lang.String getLinkFolder()
        Returns the link folder id.
        Returns:
        the linkFolder
      • getLinkTable

        java.lang.String getLinkTable()
        Returns the link table.
        Returns:
        the linkTable
      • getId

        FolderId getId()
        Returns the node/folder identifier.
        Returns:
        the navigation node's id
      • setId

        void setId​(FolderId folderId)
        Sets the ID of this node.
        Parameters:
        folderId - node id
      • setName

        void setName​(java.lang.String nodeName)
        Sets the node name.
        Parameters:
        nodeName - Name
      • getType

        com.saperion.constants.SaFolderConstants.FOLDER_TYPE getType()
        Returns folder type.
        Returns:
        folder type
      • setContent

        void setContent​(java.io.InputStream content)
        Sets the content stream.
        Parameters:
        content - content
      • getPath

        java.lang.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

        java.util.Map<java.lang.String,​java.lang.String> getProperties()
        Returns the properties of the folder. The properties do not contain system properties.
        Returns:
        folder properties
      • setWorkflowInfo

        void setWorkflowInfo​(WorkflowNodeInfo info)
        Parameters:
        info - Set the workflow infomation's
      • 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
      • setLinkingNode

        void setLinkingNode​(NavigationNode linking)
        Sets the node that is linking to this node.
        Parameters:
        linking - the linking node
      • 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