public class NodeLocatorServiceImpl extends Object implements NodeLocatorService
NodeLocatorService which is responsible for locating a
NodeRef using a named lookup strategy.| Constructor and Description |
|---|
NodeLocatorServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
org.alfresco.service.cmr.repository.NodeRef |
getNode(String locatorName,
org.alfresco.service.cmr.repository.NodeRef source,
Map<String,Serializable> params)
Locates and returns a
NodeRef using the specified NodeLocator. |
void |
register(String locatorName,
NodeLocator locator) |
public org.alfresco.service.cmr.repository.NodeRef getNode(String locatorName, org.alfresco.service.cmr.repository.NodeRef source, Map<String,Serializable> params)
NodeRef using the specified NodeLocator.getNode in interface NodeLocatorServicelocatorName - the name of the NodeLocator to use.source - the source node. Can be null.params - An arbitrary set of parameters. Can be null.null.public void register(String locatorName, NodeLocator locator)
register in interface NodeLocatorServiceCopyright © 2005–2018 Alfresco Software. All rights reserved.