Class NodeLocatorServiceImpl

  • All Implemented Interfaces:
    NodeLocatorService

    public class NodeLocatorServiceImpl
    extends java.lang.Object
    implements NodeLocatorService
    Implementation of the NodeLocatorService which is responsible for locating a NodeRef using a named lookup strategy.
    Since:
    4.0
    Author:
    Nick Smith
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.alfresco.service.cmr.repository.NodeRef getNode​(java.lang.String locatorName, org.alfresco.service.cmr.repository.NodeRef source, java.util.Map<java.lang.String,​java.io.Serializable> params)
      Locates and returns a NodeRef using the specified NodeLocator.
      void register​(java.lang.String locatorName, NodeLocator locator)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NodeLocatorServiceImpl

        public NodeLocatorServiceImpl()
    • Method Detail

      • getNode

        public org.alfresco.service.cmr.repository.NodeRef getNode​(java.lang.String locatorName,
                                                                   org.alfresco.service.cmr.repository.NodeRef source,
                                                                   java.util.Map<java.lang.String,​java.io.Serializable> params)
        Locates and returns a NodeRef using the specified NodeLocator.
        Specified by:
        getNode in interface NodeLocatorService
        Parameters:
        locatorName - the name of the NodeLocator to use.
        source - the source node. Can be null.
        params - An arbitrary set of parameters. Can be null.
        Returns:
        the node to be found or null.