Class CompanyHomeNodeLocator

  • All Implemented Interfaces:
    NodeLocator

    public class CompanyHomeNodeLocator
    extends AbstractNodeLocator
    Locates the Company Home NodeRef.
    Since:
    4.0
    Author:
    Nick Smith
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String NAME  
    • Constructor Detail

      • CompanyHomeNodeLocator

        public CompanyHomeNodeLocator()
    • Method Detail

      • getNode

        public org.alfresco.service.cmr.repository.NodeRef getNode​(org.alfresco.service.cmr.repository.NodeRef source,
                                                                   java.util.Map<java.lang.String,​java.io.Serializable> params)
        Finds a NodeRef given a starting NodeRef and a Map of parameters. Returns null if the specified node could not be found.
        Parameters:
        source - the starting point for locating a new node. The source node. Can be null.
        params - an arbitrary Map of parameters.Can be null.
        Returns:
        the node to be found or null.
      • setRepositoryHelper

        public void setRepositoryHelper​(Repository repoHelper)
        Parameters:
        repoHelper - the repoHelper to set