mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Merge from HEAD to WCM-DEV2.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3659 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -21,6 +21,7 @@ import java.io.Serializable;
|
||||
import org.alfresco.repo.domain.Node;
|
||||
import org.alfresco.repo.domain.NodeKey;
|
||||
import org.alfresco.repo.domain.NodeStatus;
|
||||
import org.alfresco.repo.domain.Transaction;
|
||||
import org.alfresco.util.EqualsHelper;
|
||||
|
||||
/**
|
||||
@@ -34,15 +35,16 @@ public class NodeStatusImpl implements NodeStatus, Serializable
|
||||
|
||||
private NodeKey key;
|
||||
private Node node;
|
||||
private String changeTxnId;
|
||||
private Transaction transaction;
|
||||
|
||||
@Override
|
||||
public String toString()
|
||||
{
|
||||
StringBuilder sb = new StringBuilder(50);
|
||||
sb.append("NodeStatus")
|
||||
.append("[key=").append(key)
|
||||
.append(", node=").append(node == null ? null : node.getNodeRef())
|
||||
.append(", txn=").append(changeTxnId)
|
||||
.append(", txn=").append(transaction)
|
||||
.append("]");
|
||||
return sb.toString();
|
||||
}
|
||||
@@ -85,14 +87,14 @@ public class NodeStatusImpl implements NodeStatus, Serializable
|
||||
this.node = node;
|
||||
}
|
||||
|
||||
public String getChangeTxnId()
|
||||
public Transaction getTransaction()
|
||||
{
|
||||
return changeTxnId;
|
||||
return transaction;
|
||||
}
|
||||
|
||||
public void setChangeTxnId(String txnId)
|
||||
public void setTransaction(Transaction transaction)
|
||||
{
|
||||
this.changeTxnId = txnId;
|
||||
this.transaction = transaction;
|
||||
}
|
||||
|
||||
public boolean isDeleted()
|
||||
|
Reference in New Issue
Block a user