DM-DM tidying:

- Added NodeCrawlerFactory interface and standard implementation
 - Removed test actions from the context files
 - ensure that the temporary store node is deleted when the transfer ends
 - Added missing error messages from the transfer properties file
 - Inserted abstract NodeFinder and NodeFilter to clean those interfaces up a little

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19213 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Brian Remmington
2010-03-11 10:36:19 +00:00
parent f2b334b68a
commit 84b6373ddb
32 changed files with 442 additions and 278 deletions

View File

@@ -21,37 +21,20 @@ package org.alfresco.service.cmr.transfer;
import java.util.Set;
import org.alfresco.service.ServiceRegistry;
import org.alfresco.service.cmr.repository.NodeRef;
/**
* @author brian
*
* NodeFinders find nodes related to the current node.
* The NodeCrawler will first initialise this filter by calling the
* setServiceRegistry and init methods. Then the findFrom method will be called to find
* other nodes.
*
* @see org.alfresco.repo.transfer.ChildAssociatedNodeFinder
*/
public interface NodeFinder
{
/**
* @param thisNode
* @param serviceRegistry
* @return
* @param thisNode The node to use as the base from which to find other nodes.
* @return The found nodes
*/
Set<NodeRef> findFrom(NodeRef thisNode);
/**
* called by the node crawler to initialise this class.
*/
void init();
/**
*
* @param serviceRegistry
*/
void setServiceRegistry(ServiceRegistry serviceRegistry);
}