org.alfresco.repo.webservice
Class AbstractWebService

java.lang.Object
  extended by org.alfresco.repo.webservice.AbstractWebService
Direct Known Subclasses:
AccessControlWebService, ActionWebService, AdministrationWebService, AuthoringWebService, ClassificationWebService, ContentWebService, DictionaryWebService, RepositoryWebService

public abstract class AbstractWebService
extends java.lang.Object

Abstract base class for all web service implementations, provides support for common service injection


Field Summary
protected  org.alfresco.service.cmr.repository.ContentService contentService
           
protected  org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService
           
protected  org.alfresco.service.namespace.NamespaceService namespaceService
           
protected  org.alfresco.service.cmr.repository.NodeService nodeService
           
protected  org.alfresco.repo.cache.SimpleCache querySessionCache
           
protected  org.alfresco.service.cmr.search.SearchService searchService
           
protected  org.alfresco.service.ServiceRegistry serviceRegistry
           
 
Constructor Summary
AbstractWebService()
           
 
Method Summary
 void setContentService(org.alfresco.service.cmr.repository.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(org.alfresco.service.cmr.repository.NodeService nodeService)
          Sets the instance of the NodeService to be used
 void setQuerySessionCache(org.alfresco.repo.cache.SimpleCache querySessionCache)
          Sets the cache to use for storing the the query session's paging information by query session ID.
 void setSearchService(org.alfresco.service.cmr.search.SearchService searchService)
          Sets the instance of the SearchService to be used
 void setServiceRegistry(org.alfresco.service.ServiceRegistry serviceRegistry)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serviceRegistry

protected org.alfresco.service.ServiceRegistry serviceRegistry

dictionaryService

protected org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService

nodeService

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

contentService

protected org.alfresco.service.cmr.repository.ContentService contentService

searchService

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

namespaceService

protected org.alfresco.service.namespace.NamespaceService namespaceService

querySessionCache

protected org.alfresco.repo.cache.SimpleCache querySessionCache
Constructor Detail

AbstractWebService

public AbstractWebService()
Method Detail

setServiceRegistry

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

setDictionaryService

public void setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
Sets the instance of the DictionaryService to be used

Parameters:
dictionaryService - The DictionaryService

setNodeService

public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
Sets the instance of the NodeService to be used

Parameters:
nodeService - The NodeService

setContentService

public void setContentService(org.alfresco.service.cmr.repository.ContentService contentSvc)
Sets the ContentService instance to use

Parameters:
contentSvc - The ContentService

setSearchService

public void setSearchService(org.alfresco.service.cmr.search.SearchService searchService)
Sets the instance of the SearchService to be used

Parameters:
searchService - The SearchService

setNamespaceService

public void setNamespaceService(org.alfresco.service.namespace.NamespaceService namespaceService)
Sets the instance of the NamespaceService to be used

Parameters:
namespaceService - The NamespaceService

setQuerySessionCache

public void setQuerySessionCache(org.alfresco.repo.cache.SimpleCache querySessionCache)
Sets the cache to use for storing the the query session's paging information by query session ID.

Parameters:
querySessionCache - the cache. Cluster replication should be via serialization of the cache values.


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