Fix ALF-10571: Error executing transfer - Lock time out

- FTR now correctly reports its version.
ALF-10684: FTR: Insufficient hooks provided to allow developers to listen to inbound transfers
   - Initial work on this. More to do.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31238 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Brian Remmington
2011-10-14 14:40:13 +00:00
parent 7a134c42bc
commit bf7bc0b732
10 changed files with 46 additions and 55 deletions

View File

@@ -24,7 +24,6 @@ import java.util.List;
import java.util.TreeMap;
import org.alfresco.service.cmr.repository.NodeRef;
import org.alfresco.service.cmr.repository.Path;
import org.alfresco.service.cmr.transfer.TransferException;
import org.alfresco.service.cmr.transfer.TransferProgress;
import org.alfresco.service.cmr.transfer.TransferProgress.Status;
@@ -106,14 +105,14 @@ import org.alfresco.service.cmr.transfer.TransferProgress.Status;
delegate.logComment(transferId, obj);
}
public void logCreated(String transferId, NodeRef sourceNode, NodeRef destNode, NodeRef newParent, Path newPath,
public void logCreated(String transferId, NodeRef sourceNode, NodeRef destNode, NodeRef newParent, String newPath,
boolean orphan)
{
delegate.logCreated(transferId, sourceNode, destNode, newParent, newPath, orphan);
getChangesRecord(transferId).addCreatedNode(destNode);
}
public void logDeleted(String transferId, NodeRef sourceNode, NodeRef destNode, Path parentPath)
public void logDeleted(String transferId, NodeRef sourceNode, NodeRef destNode, String parentPath)
{
delegate.logDeleted(transferId, sourceNode, destNode, parentPath);
getChangesRecord(transferId).addDeletedNode(destNode);
@@ -124,13 +123,13 @@ import org.alfresco.service.cmr.transfer.TransferProgress.Status;
delegate.logException(transferId, obj, ex);
}
public void logMoved(String transferId, NodeRef sourceNodeRef, NodeRef destNodeRef, Path oldPath,
NodeRef newParent, Path newPath)
public void logMoved(String transferId, NodeRef sourceNodeRef, NodeRef destNodeRef, String oldPath,
NodeRef newParent, String newPath)
{
delegate.logMoved(transferId, sourceNodeRef, destNodeRef, oldPath, newParent, newPath);
}
public void logUpdated(String transferId, NodeRef sourceNode, NodeRef destNode, Path parentPath)
public void logUpdated(String transferId, NodeRef sourceNode, NodeRef destNode, String parentPath)
{
delegate.logUpdated(transferId, sourceNode, destNode, parentPath);
getChangesRecord(transferId).addUpdatedNode(destNode);