org.alfresco.repo.web.scripts.bean
Class KeywordSearch

java.lang.Object
  extended by org.springframework.extensions.webscripts.AbstractWebScript
      extended by org.springframework.extensions.webscripts.DeclarativeWebScript
          extended by 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


Nested Class Summary
static class KeywordSearch.SearchResult
          Search Result
 class KeywordSearch.SearchTemplateNode
          Search result row template node
 
Nested classes/interfaces inherited from class org.springframework.extensions.webscripts.AbstractWebScript
org.springframework.extensions.webscripts.AbstractWebScript.ScriptDetails
 
Field Summary
protected static int DEFAULT_ITEMS_PER_PAGE
           
protected  RepositoryImageResolver imageResolver
           
protected  org.alfresco.service.cmr.repository.NodeService nodeService
           
protected static java.lang.String QUERY_FORMAT
           
protected static org.alfresco.service.cmr.repository.StoreRef SEARCH_STORE
           
protected  org.alfresco.service.cmr.search.SearchService searchService
           
protected  org.alfresco.service.ServiceRegistry serviceRegistry
           
 
Constructor Summary
KeywordSearch()
           
 
Method Summary
protected  java.util.Map executeImpl(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.Status status)
           
 void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
           
 void setRepositoryImageResolver(RepositoryImageResolver imageResolver)
           
 void setSearchService(org.alfresco.service.cmr.search.SearchService searchService)
           
 void setServiceRegistry(org.alfresco.service.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
createArgs, createArgsM, createHeaders, createHeadersM, createScriptParameters, createStatusException, createTemplateParameters, executeScript, getContainer, getDescription, getExecuteScript, getResources, getStatusTemplate, init, renderString, renderString, renderTemplate, sendStatus, setURLModelFactory, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SEARCH_STORE

protected static final org.alfresco.service.cmr.repository.StoreRef SEARCH_STORE

DEFAULT_ITEMS_PER_PAGE

protected static final int DEFAULT_ITEMS_PER_PAGE
See Also:
Constant Field Values

QUERY_FORMAT

protected static final java.lang.String QUERY_FORMAT
See Also:
Constant Field Values

serviceRegistry

protected org.alfresco.service.ServiceRegistry serviceRegistry

imageResolver

protected RepositoryImageResolver imageResolver

searchService

protected org.alfresco.service.cmr.search.SearchService searchService

nodeService

protected org.alfresco.service.cmr.repository.NodeService nodeService
Constructor Detail

KeywordSearch

public KeywordSearch()
Method Detail

setSearchService

public void setSearchService(org.alfresco.service.cmr.search.SearchService searchService)

setNodeService

public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)

setRepositoryImageResolver

public void setRepositoryImageResolver(RepositoryImageResolver imageResolver)

setServiceRegistry

public void setServiceRegistry(org.alfresco.service.ServiceRegistry serviceRegistry)

executeImpl

protected java.util.Map executeImpl(org.springframework.extensions.webscripts.WebScriptRequest req,
                                    org.springframework.extensions.webscripts.Status status)
Overrides:
executeImpl in class org.springframework.extensions.webscripts.DeclarativeWebScript


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