org.alfresco.repo.transfer
Class UnitTestTransferManifestNodeFactory

java.lang.Object
  extended by org.alfresco.repo.transfer.UnitTestTransferManifestNodeFactory
All Implemented Interfaces:
TransferManifestNodeFactory

public class UnitTestTransferManifestNodeFactory
extends java.lang.Object
implements TransferManifestNodeFactory

This is a test class to enable unit testing on a single machine. Since the single machine will already have the target node.


Method Summary
 TransferManifestNode createTransferManifestNode(NodeRef nodeRef)
           
 NodeRef getMappedNodeRef(NodeRef node)
          Get the mapped node ref
 Path getMappedPath(Path from)
          Get mapped path
 java.util.List getPathMap()
           
 void setPathMap(java.util.List pathMap)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createTransferManifestNode

public TransferManifestNode createTransferManifestNode(NodeRef nodeRef)
Specified by:
createTransferManifestNode in interface TransferManifestNodeFactory

getMappedNodeRef

public NodeRef getMappedNodeRef(NodeRef node)
Get the mapped node ref

Parameters:
node -
Returns:
the mapped node ref or null;

getMappedPath

public Path getMappedPath(Path from)
Get mapped path


setPathMap

public void setPathMap(java.util.List pathMap)

getPathMap

public java.util.List getPathMap()


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