mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
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:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user