org.alfresco.service.cmr.repository
Class NodeRef.Status

java.lang.Object
  extended by org.alfresco.service.cmr.repository.NodeRef.Status
Enclosing class:
NodeRef

public static class NodeRef.Status
extends java.lang.Object

Helper class to convey the status of a node.


Constructor Summary
NodeRef.Status(NodeRef nodeRef, java.lang.String changeTxnId, java.lang.Long dbTxnId, boolean deleted)
           
 
Method Summary
 java.lang.String getChangeTxnId()
           
 java.lang.Long getDbTxnId()
           
 NodeRef getNodeRef()
           
 boolean isDeleted()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NodeRef.Status

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

getNodeRef

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

getChangeTxnId

public java.lang.String getChangeTxnId()
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


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.