org.alfresco.repo.nodelocator
Class NodeLocatorServiceImpl

java.lang.Object
  extended by org.alfresco.repo.nodelocator.NodeLocatorServiceImpl
All Implemented Interfaces:
NodeLocatorService

public class NodeLocatorServiceImpl
extends java.lang.Object
implements NodeLocatorService

Implementation of the NodeLocatorService which is responsible for locating a NodeRef using a named lookup strategy.

Since:
4.0

Constructor Summary
NodeLocatorServiceImpl()
           
 
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)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeLocatorServiceImpl

public NodeLocatorServiceImpl()
Method Detail

getNode

public 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.

Specified by:
getNode in interface NodeLocatorService
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

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

Specified by:
register in interface NodeLocatorService


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