Class NodeRef.Status

  • Enclosing class:
    NodeRef

    public static class NodeRef.Status
    extends Object
    Helper class to convey the status of a node.
    Author:
    Derek Hulley
    • Constructor Detail

      • Status

        public Status​(Long dbId,
                      NodeRef nodeRef,
                      String changeTxnId,
                      Long dbTxnId,
                      boolean deleted)
    • Method Detail

      • getDbId

        public Long getDbId()
        Return the database ID for the node
      • getNodeRef

        public NodeRef getNodeRef()
        Returns:
        Returns the NodeRef that to which this status applies
      • getChangeTxnId

        public String getChangeTxnId()
        Deprecated.
        This will be removed when we have switched to SOLR tracking only
        Returns:
        Returns the ID of the last transaction to change the node
      • getDbTxnId

        public Long getDbTxnId()
        Returns:
        Returns the db ID of the last transaction to change the node
      • isDeleted

        public boolean isDeleted()
        Returns:
        Returns true if the node has been deleted, otherwise false