Package org.alfresco.repo.nodelocator
Interface NodeLocatorService
-
- All Known Implementing Classes:
NodeLocatorServiceImpl
@AlfrescoPublicApi public interface NodeLocatorService
This service is responsible for locatingNodeRefs in the repository usingNodeLocatorstrategies.- Since:
- 4.0
- Author:
- Nick Smith
-
-
Method Summary
All Methods Instance Methods Abstract 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
NodeRef getNode(String locatorName, NodeRef source, Map<String,Serializable> params)
Locates and returns aNodeRefusing the specifiedNodeLocator.- 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
void register(String locatorName, NodeLocator locator)
-
-