Interface NodeLocatorService

  • All Known Implementing Classes:
    NodeLocatorServiceImpl

    @AlfrescoPublicApi
    public interface NodeLocatorService
    This service is responsible for locating NodeRefs in the repository using NodeLocator strategies.
    Since:
    4.0
    Author:
    Nick Smith
    • Method Detail

      • getNode

        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.
        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.