Class NodeRef.Status

  • Enclosing class:
    NodeRef

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

      Constructors 
      Constructor Description
      Status​(java.lang.Long dbId, NodeRef nodeRef, java.lang.String changeTxnId, java.lang.Long dbTxnId, boolean deleted)  
    • Constructor Detail

      • Status

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

      • getDbId

        public java.lang.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 java.lang.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 java.lang.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
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object