Class BasePathResultsMap

    • Field Detail

      • logger

        protected static org.apache.commons.logging.Log logger
    • Constructor Detail

      • BasePathResultsMap

        public BasePathResultsMap​(TemplateNode parent,
                                  ServiceRegistry services)
        Constructor
        Parameters:
        parent - The parent TemplateNode to execute searches from
        services - The ServiceRegistry to use
    • Method Detail

      • getChildrenByXPath

        protected List<TemplateNode> getChildrenByXPath​(String xpath,
                                                        org.alfresco.service.cmr.search.QueryParameterDefinition[] params,
                                                        boolean firstOnly)
        Return a list or a single Node from executing an xpath against the parent Node.
        Parameters:
        xpath - XPath to execute
        firstOnly - True to return the first result only