Package org.alfresco.repo.template
Class BaseSearchResultsMap
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap
-
- org.alfresco.repo.template.BaseTemplateMap
-
- org.alfresco.repo.template.BaseSearchResultsMap
-
- All Implemented Interfaces:
Serializable,Cloneable,Map
- Direct Known Subclasses:
LuceneSearchResultsMap,NodeSearchResultsMap,SavedSearchResultsMap
public abstract class BaseSearchResultsMap extends BaseTemplateMap
Class providing the base Search Query services to execute a search returning a list of TemplateNode objects from a Lucene search string.- Author:
- Kevin Roast
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
-
-
Field Summary
-
Fields inherited from class org.alfresco.repo.template.BaseTemplateMap
parent, services
-
-
Constructor Summary
Constructors Constructor Description BaseSearchResultsMap(TemplateNode parent, ServiceRegistry services)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<TemplateNode>query(String search)Perform a SearchService query with the given Lucene search string-
Methods inherited from class org.alfresco.repo.template.BaseTemplateMap
get
-
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
-
-
-
Constructor Detail
-
BaseSearchResultsMap
public BaseSearchResultsMap(TemplateNode parent, ServiceRegistry services)
Constructor- Parameters:
parent- The parent TemplateNode to execute searches fromservices- The ServiceRegistry to use
-
-
Method Detail
-
query
protected List<TemplateNode> query(String search)
Perform a SearchService query with the given Lucene search string
-
-