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 class
Search Resultclass
Search 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 int
protected RepositoryImageResolver
protected NodeService
protected static final String
protected static final StoreRef
protected SearchService
protected ServiceRegistry
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecuteImpl
(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.Status status) void
setNodeService
(NodeService nodeService) void
setRepositoryImageResolver
(RepositoryImageResolver imageResolver) void
setSearchService
(SearchService searchService) void
setServiceRegistry
(ServiceRegistry serviceRegistry) Methods inherited from class org.springframework.extensions.webscripts.DeclarativeWebScript
execute, executeFinallyImpl, executeImpl, executeImpl, getTemplateModel, renderFormatTemplate
Methods 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:
executeImpl
in classorg.springframework.extensions.webscripts.DeclarativeWebScript
-