org.alfresco.repo.nodelocator
Interface NodeLocatorService

All Known Implementing Classes:
NodeLocatorServiceImpl

public interface NodeLocatorService

This service is responsible for locating NodeRefs in the repository using NodeLocator strategies.

Since:
4.0

Method Summary
 org.alfresco.service.cmr.repository.NodeRef getNode(java.lang.String locatorName, org.alfresco.service.cmr.repository.NodeRef source, java.util.Map params)
          Locates and returns a NodeRef using the specified NodeLocator.
 void register(java.lang.String locatorName, NodeLocator locator)
           
 

Method Detail

getNode

org.alfresco.service.cmr.repository.NodeRef getNode(java.lang.String locatorName,
                                                    org.alfresco.service.cmr.repository.NodeRef source,
                                                    java.util.Map params)
Locates and returns a NodeRef using the specified NodeLocator.

Parameters:
locatorName - the name of the NodeLocator to use.
source - the source node. Can be null.
params - An arbitrary set of parameters. Can be null.
Returns:
the node to be found or null.

register

void register(java.lang.String locatorName,
              NodeLocator locator)


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