Package org.alfresco.service
Interface ServiceRegistry
- All Known Implementing Classes:
ServiceDescriptorRegistry
@AlfrescoPublicApi
public interface ServiceRegistry
This interface represents the registry of public Repository Services.
The registry provides meta-data about each service and provides
access to the service interface.
- Author:
- David Caruana
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final QNamestatic final QNamestatic final QNamestatic final QNamestatic final QNamestatic final QNamestatic final QNamestatic final QNamestatic final QNamestatic final QNamestatic final QNamestatic final QNamestatic final QNamestatic final QNamestatic final QNamestatic final QNamestatic final QNamestatic final QNamestatic final QNamestatic final QNamestatic final QNamestatic final QNamestatic final QNamestatic final QNamestatic final QNamestatic final QNamestatic final QNamestatic final QNamestatic final QNamestatic final QNamestatic final QNamestatic final QNamestatic final QNamestatic final QNamestatic final QNamestatic final QNamestatic final QNamestatic final QNamestatic final QNamestatic final QNamestatic final QNamestatic final QNamestatic final QNamestatic final QNamestatic final QNamestatic final QNamestatic final QNamestatic final QNamestatic final QNamestatic final QNamestatic final Stringstatic final QNamestatic final QNamestatic final QNamestatic final QNamestatic final QNamestatic final QNamestatic final QNamestatic final QNamestatic final QName -
Method Summary
Modifier and TypeMethodDescriptionGet the attribute service (or null if one is not provided)Deprecated.This method has been deprecated as it would return a service that is not part of the public API.Deprecated.This method has been deprecated as it would return a service that is not part of the public API.Deprecated.This method has been deprecated as it would return a service that is not part of the public API.Deprecated.This method has been deprecated as it would return a service that is not part of the public API.Deprecated.This method has been deprecated as it would return a service that is not part of the public API.Deprecated.This method has been deprecated as it would return a service that is not part of the public API.Deprecated.This method has been deprecated as it would return a service that is not part of the public API.Deprecated.This method has been deprecated as it would return a service that is not part of the public API.Deprecated.This method has been deprecated as it would return a service that is not part of the public API.Deprecated.This method has been deprecated as it would return a service that is not part of the public API.Deprecated.This method has been deprecated as it would return an object that is not part of the public API.Deprecated.This method has been deprecated as it would return a service that is not part of the public API.Deprecated.This method has been deprecated as it would return a service that is not part of the public API.Deprecated.This method has been deprecated as it would return a service that is not part of the public API.Deprecated.This method has been deprecated as it would return a service that is not part of the public API.Get the Message service bean.Get the module service bean.Deprecated.This method has been deprecated as it would return a service that is not part of the public API.Get the node locator service (or null if one is not provided)Deprecated.This method has been deprecated as it would return a service that is not part of the public API.Deprecated.This method has been deprecated as it would return a service that is not part of the public API.Get the person service (or null if one is not provided)Get the policy componentDeprecated.This method has been deprecated as it would return a service that is not part of the public API.Get the rating service (or null if one is not provided)Deprecated.The RenditionService is being replace by the simpler async RenditionService2.Get the async rendition service componentDeprecated.This method has been deprecated as it would return a service that is not part of the public API.Deprecated.This method has been deprecated as it would return a service that is not part of the public API.Deprecated.This method has been deprecated as it would return a service that is not part of the public API.getService(QName service) Get the specified service.Get the list of services provided by the RepositoryGet the site service (or null if one is not provided)Deprecated.This method has been deprecated as it would return an object that is not part of the public API.default SynchronousTransformClientDeprecated.This method has been deprecated as it would return an object that is not part of the public API.Get the Tagging ServiceDeprecated.The thumbnails code is being moved out of the codebase and replaced by the new async RenditionService2 or other external libraries.Deprecated.This method has been deprecated as it would return a service that is not part of the public API.Deprecated.This method has been deprecated as it would return a service that is not part of the public API.booleanisServiceProvided(QName service) Is the specified service provided by the Repository?
-
Field Details
-
SERVICE_REGISTRY
- See Also:
-
REGISTRY_SERVICE
-
DESCRIPTOR_SERVICE
-
TRANSACTION_SERVICE
-
RETRYING_TRANSACTION_HELPER
-
AUTHENTICATION_SERVICE
-
NAMESPACE_SERVICE
-
DICTIONARY_SERVICE
-
NODE_SERVICE
-
CONTENT_SERVICE
-
SYNCHRONOUS_TRANSFORM_CLIENT
-
MIMETYPE_SERVICE
-
CONTENT_FILTER_LANGUAGES_SERVICE
-
MULTILINGUAL_CONTENT_SERVICE
-
EDITION_SERVICE
-
SEARCH_SERVICE
-
CATEGORY_SERVICE
-
COPY_SERVICE
-
LOCK_SERVICE
-
JOB_LOCK_SERVICE
-
VERSION_SERVICE
-
COCI_SERVICE
-
RULE_SERVICE
-
IMPORTER_SERVICE
-
EXPORTER_SERVICE
-
ACTION_SERVICE
-
PERMISSIONS_SERVICE
-
AUTHORITY_SERVICE
-
TEMPLATE_SERVICE
-
FILE_FOLDER_SERVICE
-
SCRIPT_SERVICE
-
WORKFLOW_SERVICE
-
AUDIT_SERVICE
-
OWNABLE_SERVICE
-
PERSON_SERVICE
-
SITE_SERVICE
-
ATTRIBUTE_SERVICE
-
THUMBNAIL_SERVICE
-
TAGGING_SERVICE
-
FORM_SERVICE
-
INVITATION_SERVICE
-
PREFERENCE_SERVICE
-
RENDITION_SERVICE
-
RATING_SERVICE
-
REPO_ADMIN_SERVICE
-
NODE_LOCATOR_SERVICE
-
BLOG_SERVICE
-
CALENDAR_SERVICE
-
NOTIFICATION_SERVICE
-
DOCUMENT_LINK_SERVICE
-
MESSAGE_SERVICE
-
CMIS_SERVICE
-
CMIS_DICTIONARY_SERVICE
-
CMIS_QUERY_SERVICE
-
IMAP_SERVICE
-
PUBLIC_SERVICE_ACCESS_SERVICE
-
WEBDAV_SERVICE
-
MODULE_SERVICE
-
POLICY_COMPONENT
-
RENDITION_SERVICE_2
-
-
Method Details
-
getServices
Get the list of services provided by the Repository- Returns:
- list of provided Services
-
isServiceProvided
Is the specified service provided by the Repository?- Parameters:
service- name of service to test provision of- Returns:
- true => provided, false => not provided
-
getService
Get the specified service.- Parameters:
service- name of service to retrieve- Returns:
- the service interface (must cast to interface as described in service meta-data)
-
getDescriptorService
Deprecated.This method has been deprecated as it would return a service that is not part of the public API. The service itself is not deprecated, but access to it via the ServiceRegistry will be removed in the future.- Returns:
- the descriptor service
-
getTransactionService
Deprecated.This method has been deprecated as it would return a service that is not part of the public API. The service itself is not deprecated, but access to it via the ServiceRegistry will be removed in the future.- Returns:
- the transaction service
-
getRetryingTransactionHelper
- Returns:
- a new instance of the
RetryingTransactionHelper
-
getNamespaceService
- Returns:
- the namespace service (or null, if one is not provided)
-
getAuthenticationService
- Returns:
- the authentication service (or null, if one is not provided)
-
getNodeService
- Returns:
- the node service (or null, if one is not provided)
-
getContentService
- Returns:
- the content service (or null, if one is not provided)
-
getMimetypeService
- Returns:
- the mimetype service (or null, if one is not provided)
-
getContentFilterLanguagesService
Deprecated.This method has been deprecated as it would return a service that is not part of the public API. The service itself is not deprecated, but access to it via the ServiceRegistry will be removed in the future.- Returns:
- the content filter languages service (or null, if one is not provided)
-
getSearchService
- Returns:
- the search service (or null, if one is not provided)
-
getVersionService
- Returns:
- the version service (or null, if one is not provided)
-
getLockService
- Returns:
- the lock service (or null, if one is not provided)
-
getJobLockService
- Returns:
- the job lock service (or null, if one is not provided)
-
getDictionaryService
- Returns:
- the dictionary service (or null, if one is not provided)
-
getCopyService
- Returns:
- the copy service (or null, if one is not provided)
-
getCheckOutCheckInService
- Returns:
- the checkout / checkin service (or null, if one is not provided)
-
getCategoryService
- Returns:
- the category service (or null, if one is not provided)
-
getImporterService
Deprecated.This method has been deprecated as it would return a service that is not part of the public API. The service itself is not deprecated, but access to it via the ServiceRegistry will be removed in the future.- Returns:
- the importer service or null if not present
-
getExporterService
Deprecated.This method has been deprecated as it would return a service that is not part of the public API. The service itself is not deprecated, but access to it via the ServiceRegistry will be removed in the future.- Returns:
- the exporter service or null if not present
-
getRuleService
Deprecated.This method has been deprecated as it would return a service that is not part of the public API. The service itself is not deprecated, but access to it via the ServiceRegistry will be removed in the future.- Returns:
- the rule service (or null, if one is not provided)
-
getActionService
- Returns:
- the action service (or null if one is not provided)
-
getPermissionService
- Returns:
- the permission service (or null if one is not provided)
-
getAuthorityService
- Returns:
- the authority service (or null if one is not provided)
-
getTemplateService
- Returns:
- the template service (or null if one is not provided)
-
getFileFolderService
- Returns:
- the file-folder manipulation service (or null if one is not provided)
-
getScriptService
Deprecated.This method has been deprecated as it would return a service that is not part of the public API. The service itself is not deprecated, but access to it via the ServiceRegistry will be removed in the future.- Returns:
- the script execution service (or null if one is not provided)
-
getWorkflowService
- Returns:
- the workflow service (or null if one is not provided)
-
getNotificationService
Deprecated.This method has been deprecated as it would return a service that is not part of the public API. The service itself is not deprecated, but access to it via the ServiceRegistry will be removed in the future.- Returns:
- the notification service (or null if on is not provided)
-
getAuditService
Deprecated.This method has been deprecated as it would return a service that is not part of the public API. The service itself is not deprecated, but access to it via the ServiceRegistry will be removed in the future.- Returns:
- the audit service (or null if one is not provided)
-
getOwnableService
Deprecated.This method has been deprecated as it would return a service that is not part of the public API. The service itself is not deprecated, but access to it via the ServiceRegistry will be removed in the future.Get the ownable service (or null if one is not provided)- Returns:
- OwnableService
-
getPersonService
Get the person service (or null if one is not provided) -
getSiteService
Get the site service (or null if one is not provided) -
getAttributeService
Get the attribute service (or null if one is not provided) -
getMultilingualContentService
Deprecated.This method has been deprecated as it would return a service that is not part of the public API. The service itself is not deprecated, but access to it via the ServiceRegistry will be removed in the future.Get the Multilingual Content Service -
getEditionService
Deprecated.This method has been deprecated as it would return a service that is not part of the public API. The service itself is not deprecated, but access to it via the ServiceRegistry will be removed in the future.Get the Edition Service -
getThumbnailService
Deprecated.The thumbnails code is being moved out of the codebase and replaced by the new async RenditionService2 or other external libraries. -
getTaggingService
Get the Tagging Service -
getFormService
Deprecated.This method has been deprecated as it would return a service that is not part of the public API. The service itself is not deprecated, but access to it via the ServiceRegistry will be removed in the future.Get the form service (or null if one is not provided) -
getRenditionService
Deprecated.The RenditionService is being replace by the simpler async RenditionService2.Get the rendition service (or null if one is not provided) -
getRatingService
Get the rating service (or null if one is not provided) -
getNodeLocatorService
Get the node locator service (or null if one is not provided) -
getBlogService
Deprecated.This method has been deprecated as it would return a service that is not part of the public API. The service itself is not deprecated, but access to it via the ServiceRegistry will be removed in the future.Get the blog service (or null if one is not provided)- Since:
- 4.0
-
getCalendarService
Deprecated.This method has been deprecated as it would return a service that is not part of the public API. The service itself is not deprecated, but access to it via the ServiceRegistry will be removed in the future.Get the calendar service (or null if one is not provided)- Since:
- 4.0
-
getInvitationService
Deprecated.This method has been deprecated as it would return a service that is not part of the public API. The service itself is not deprecated, but access to it via the ServiceRegistry will be removed in the future.Get the invitation service (or null if one is not provided)- Returns:
- the invitation service
-
getCMISDictionaryService
Deprecated.This method has been deprecated as it would return a service that is not part of the public API. The service itself is not deprecated, but access to it via the ServiceRegistry will be removed in the future.Get the CMIS Dictionary service (or null if one is not provided)- Returns:
- the CMIS Dictionary service
-
getCMISQueryService
Deprecated.This method has been deprecated as it would return a service that is not part of the public API. The service itself is not deprecated, but access to it via the ServiceRegistry will be removed in the future.Get the CMIS Query service (or null if one is not provided)- Returns:
- the CMIS Query service
-
getImapService
Deprecated.This method has been deprecated as it would return a service that is not part of the public API. The service itself is not deprecated, but access to it via the ServiceRegistry will be removed in the future.Get the IMAP service (or null if one is not provided)- Returns:
- the IMAP service
-
getPublicServiceAccessService
Deprecated.This method has been deprecated as it would return a service that is not part of the public API. The service itself is not deprecated, but access to it via the ServiceRegistry will be removed in the future.Get the Public Service Access service (or null if one is not provided)- Returns:
- the Public Service Access service
-
getRepoAdminService
Deprecated.This method has been deprecated as it would return a service that is not part of the public API. The service itself is not deprecated, but access to it via the ServiceRegistry will be removed in the future.Get the repo admin service (or null if one is not provided)- Returns:
- the repo admin service
-
getSysAdminParams
Deprecated.This method has been deprecated as it would return an object that is not part of the public API. The object itself is not deprecated, but access to it via the ServiceRegistry will be removed in the future.Get the sys admin params helper bean.- Returns:
- the sys admin params bean.
-
getWebDavService
Deprecated.This method has been deprecated as it would return a service that is not part of the public API. The service itself is not deprecated, but access to it via the ServiceRegistry will be removed in the future.Get the webdav service / helper bean.- Returns:
- the webdav service / helper bean
-
getModuleService
Get the module service bean.- Returns:
- the module service bean
-
getSolrFacetHelper
Deprecated.This method has been deprecated as it would return an object that is not part of the public API. The object itself is not deprecated, but access to it via the ServiceRegistry will be removed in the future.Get the Solr facet helper bean- Returns:
- the Solr facet helper bean
-
getFacetLabelDisplayHandlerRegistry
Deprecated.This method has been deprecated as it would return an object that is not part of the public API. The object itself is not deprecated, but access to it via the ServiceRegistry will be removed in the future.Get the facet label display handler registry bean- Returns:
- the Facet label display handler registry bean
-
getMessageService
Get the Message service bean.- Returns:
- the Message service bean
-
getDocumentLinkService
Deprecated.This method has been deprecated as it would return a service that is not part of the public API. The service itself is not deprecated, but access to it via the ServiceRegistry will be removed in the future.Get the document link service- Returns:
- the document link service
-
getPolicyComponent
Get the policy component- Returns:
- The policy component
-
getRenditionService2
Get the async rendition service component- Returns:
- The async rendition component
-
getSynchronousTransformClient
- Returns:
- the synchronous transform client (or null, if one is not provided)
-