Package org.alfresco.repo.nodelocator
Class SelfNodeLocator
java.lang.Object
org.alfresco.repo.nodelocator.AbstractNodeLocator
org.alfresco.repo.nodelocator.SelfNodeLocator
- All Implemented Interfaces:
NodeLocator
This
NodeLocator returns the source node.- Since:
- 4.0
- Author:
- Nick Smith
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.alfresco.repo.nodelocator.AbstractNodeLocator
getParameterDefinitions, setNodeLocatorService
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
SelfNodeLocator
public SelfNodeLocator()
-
-
Method Details
-
getNode
Finds aNodeRefgiven a startingNodeRefand aMapof parameters. Returnsnullif the specified node could not be found.- Parameters:
source- the starting point for locating a new node. The source node. Can benull.params- an arbitraryMapof parameters.Can benull.- Returns:
- the node to be found or
null.
-
getName
- Specified by:
getNamein classAbstractNodeLocator
-