Package org.alfresco.repo.nodelocator
Interface NodeLocatorService
-
- All Known Implementing Classes:
NodeLocatorServiceImpl
@AlfrescoPublicApi public interface NodeLocatorServiceThis 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 org.alfresco.service.cmr.repository.NodeRefgetNode(String locatorName, org.alfresco.service.cmr.repository.NodeRef source, Map<String,Serializable> params)Locates and returns aNodeRefusing the specifiedNodeLocator.voidregister(String locatorName, NodeLocator locator)
-
-
-
Method Detail
-
getNode
org.alfresco.service.cmr.repository.NodeRef getNode(String locatorName, org.alfresco.service.cmr.repository.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)
-
-