org.alfresco.repo.search.impl
Class NodeSearcher

java.lang.Object
  extended by org.alfresco.repo.search.impl.NodeSearcher

public class NodeSearcher
extends java.lang.Object

Helper class that walks a node hierarchy.

Some searcher methods on SearchService can use this directly as its only dependencies are NodeService, DictionaryService and a SearchService


Constructor Summary
NodeSearcher(NodeService nodeService, DictionaryService dictionaryService, SearchService searchService)
           
 
Method Summary
 java.util.List selectNodes(NodeRef contextNodeRef, java.lang.String xpathIn, QueryParameterDefinition[] paramDefs, NamespacePrefixResolver namespacePrefixResolver, boolean followAllParentLinks, java.lang.String language)
           
 java.util.List selectProperties(NodeRef contextNodeRef, java.lang.String xpath, QueryParameterDefinition[] paramDefs, NamespacePrefixResolver namespacePrefixResolver, boolean followAllParentLinks, java.lang.String language)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeSearcher

public NodeSearcher(NodeService nodeService,
                    DictionaryService dictionaryService,
                    SearchService searchService)
Method Detail

selectNodes

public java.util.List selectNodes(NodeRef contextNodeRef,
                                  java.lang.String xpathIn,
                                  QueryParameterDefinition[] paramDefs,
                                  NamespacePrefixResolver namespacePrefixResolver,
                                  boolean followAllParentLinks,
                                  java.lang.String language)
See Also:
NodeServiceXPath

selectProperties

public java.util.List selectProperties(NodeRef contextNodeRef,
                                       java.lang.String xpath,
                                       QueryParameterDefinition[] paramDefs,
                                       NamespacePrefixResolver namespacePrefixResolver,
                                       boolean followAllParentLinks,
                                       java.lang.String language)
See Also:
NodeServiceXPath


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.