Class KeywordSearch
java.lang.Object
org.springframework.extensions.webscripts.AbstractWebScript
org.springframework.extensions.webscripts.DeclarativeWebScript
org.alfresco.repo.web.scripts.bean.KeywordSearch
- All Implemented Interfaces:
org.springframework.extensions.webscripts.WebScript
public class KeywordSearch
extends org.springframework.extensions.webscripts.DeclarativeWebScript
Alfresco Keyword (simple) Search Service
- Author:
- davidc
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classSearch ResultclassSearch result row template nodeNested classes/interfaces inherited from class org.springframework.extensions.webscripts.AbstractWebScript
org.springframework.extensions.webscripts.AbstractWebScript.ScriptDetails -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final intprotected RepositoryImageResolverprotected NodeServiceprotected static final Stringprotected static final StoreRefprotected SearchServiceprotected ServiceRegistry -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecuteImpl(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.Status status) voidsetNodeService(NodeService nodeService) voidsetRepositoryImageResolver(RepositoryImageResolver imageResolver) voidsetSearchService(SearchService searchService) voidsetServiceRegistry(ServiceRegistry serviceRegistry) Methods inherited from class org.springframework.extensions.webscripts.DeclarativeWebScript
execute, executeFinallyImpl, executeImpl, executeImpl, getTemplateModel, renderFormatTemplateMethods inherited from class org.springframework.extensions.webscripts.AbstractWebScript
addModuleBundleToCache, checkModuleBundleCache, createArgs, createArgsM, createHeaders, createHeadersM, createScriptParameters, createStatusException, createTemplateParameters, executeScript, getContainer, getDescription, getExecuteScript, getResources, getStatusTemplate, init, renderString, renderString, renderTemplate, sendStatus, setURLModelFactory, toString
-
Field Details
-
SEARCH_STORE
-
DEFAULT_ITEMS_PER_PAGE
protected static final int DEFAULT_ITEMS_PER_PAGE- See Also:
-
QUERY_FORMAT
- See Also:
-
serviceRegistry
-
imageResolver
-
searchService
-
nodeService
-
-
Constructor Details
-
KeywordSearch
public KeywordSearch()
-
-
Method Details
-
setSearchService
-
setNodeService
-
setRepositoryImageResolver
-
setServiceRegistry
-
executeImpl
protected Map<String,Object> executeImpl(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.Status status) - Overrides:
executeImplin classorg.springframework.extensions.webscripts.DeclarativeWebScript
-