Package org.alfresco.repo.nodelocator
Class NodeLocatorServiceImpl
- java.lang.Object
-
- org.alfresco.repo.nodelocator.NodeLocatorServiceImpl
-
- All Implemented Interfaces:
NodeLocatorService
public class NodeLocatorServiceImpl extends Object implements NodeLocatorService
Implementation of theNodeLocatorServicewhich is responsible for locating aNodeRefusing a named lookup strategy.- Since:
- 4.0
- Author:
- Nick Smith
-
-
Constructor Summary
Constructors Constructor Description NodeLocatorServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NodeRefgetNode(String locatorName, NodeRef source, Map<String,Serializable> params)Locates and returns aNodeRefusing the specifiedNodeLocator.voidregister(String locatorName, NodeLocator locator)
-
-
-
Method Detail
-
getNode
public NodeRef getNode(String locatorName, NodeRef source, Map<String,Serializable> params)
Locates and returns aNodeRefusing the specifiedNodeLocator.- Specified by:
getNodein interfaceNodeLocatorService- Parameters:
locatorName- the name of theNodeLocatorto use.source- the source node. Can benull.params- An arbitrary set of parameters. Can benull.- Returns:
- the node to be found or
null.
-
register
public void register(String locatorName, NodeLocator locator)
- Specified by:
registerin interfaceNodeLocatorService
-
-