public class SelfNodeLocator extends AbstractNodeLocator
NodeLocator
returns the source node.Constructor and Description |
---|
SelfNodeLocator() |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
org.alfresco.service.cmr.repository.NodeRef |
getNode(org.alfresco.service.cmr.repository.NodeRef source,
Map<String,Serializable> params)
|
getParameterDefinitions, setNodeLocatorService
public static final String NAME
public org.alfresco.service.cmr.repository.NodeRef getNode(org.alfresco.service.cmr.repository.NodeRef source, Map<String,Serializable> params)
NodeRef
given a starting NodeRef
and a
Map
of parameters.
Returns null
if the specified node could not be found.source
- the starting point for locating a new node. The source node. Can be null
.params
- an arbitrary Map
of parameters.Can be null
.null
.public String getName()
getName
in class AbstractNodeLocator
Copyright © 2005–2017 Alfresco Software. All rights reserved.