Class NodeRef.Status
- java.lang.Object
-
- 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.- Author:
- Derek Hulley
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.String
getChangeTxnId()
Deprecated.This will be removed when we have switched to SOLR tracking onlyjava.lang.Long
getDbId()
Return the database ID for the nodejava.lang.Long
getDbTxnId()
NodeRef
getNodeRef()
boolean
isDeleted()
java.lang.String
toString()
-
-
-
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 classjava.lang.Object
-
-