public abstract class AbstractWebService extends Object
| Modifier and Type | Field and Description |
|---|---|
protected ContentService |
contentService |
protected org.alfresco.service.cmr.dictionary.DictionaryService |
dictionaryService |
protected org.alfresco.service.namespace.NamespaceService |
namespaceService |
protected NodeService |
nodeService |
protected SimpleCache<String,QuerySession> |
querySessionCache |
protected SearchService |
searchService |
protected ServiceRegistry |
serviceRegistry |
| Constructor and Description |
|---|
AbstractWebService() |
| Modifier and Type | Method and Description |
|---|---|
void |
setContentService(ContentService contentSvc)
Sets the ContentService instance to use
|
void |
setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
Sets the instance of the DictionaryService to be used
|
void |
setNamespaceService(org.alfresco.service.namespace.NamespaceService namespaceService)
Sets the instance of the NamespaceService to be used
|
void |
setNodeService(NodeService nodeService)
Sets the instance of the NodeService to be used
|
void |
setQuerySessionCache(SimpleCache<String,QuerySession> querySessionCache)
Sets the cache to use for storing the the query session's paging information by query session ID.
|
void |
setSearchService(SearchService searchService)
Sets the instance of the SearchService to be used
|
void |
setServiceRegistry(ServiceRegistry serviceRegistry) |
protected ServiceRegistry serviceRegistry
protected org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService
protected NodeService nodeService
protected ContentService contentService
protected SearchService searchService
protected org.alfresco.service.namespace.NamespaceService namespaceService
protected SimpleCache<String,QuerySession> querySessionCache
public void setServiceRegistry(ServiceRegistry serviceRegistry)
public void setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
dictionaryService - The DictionaryServicepublic void setNodeService(NodeService nodeService)
nodeService - The NodeServicepublic void setContentService(ContentService contentSvc)
contentSvc - The ContentServicepublic void setSearchService(SearchService searchService)
searchService - The SearchServicepublic void setNamespaceService(org.alfresco.service.namespace.NamespaceService namespaceService)
namespaceService - The NamespaceServicepublic void setQuerySessionCache(SimpleCache<String,QuerySession> querySessionCache)
querySessionCache - the cache. Cluster replication should be via serialization of
the cache values.Copyright © 2005–2014 Alfresco Software. All rights reserved.