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 NodeLocatorService
locatorName
- 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 NodeLocatorService
Copyright © 2005–2017 Alfresco Software. All rights reserved.