Class NodeRef.Status

java.lang.Object
org.alfresco.service.cmr.repository.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 Details

    • Status

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

    • 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
    • toString

      public String toString()
      Overrides:
      toString in class Object