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:
java.io.Serializable,java.lang.Cloneable,java.util.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
-
-
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 java.util.List<TemplateNode>query(java.lang.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
-
-
-
-
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 java.util.List<TemplateNode> query(java.lang.String search)
Perform a SearchService query with the given Lucene search string
-
-