Merged HEAD (5.1) to 5.1.N (5.1.1)

117316 gcornwell: ACE-4598: ServiceRegistry exposes services that are not part of the public API (i.e. not annotated via @AlfrescoPublicApi)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.1.N/root@117385 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Tatyana Valkevych
2015-11-12 10:22:23 +00:00
parent 3ca1dfd1ea
commit c9618fdb69

View File

@@ -187,12 +187,14 @@ public interface ServiceRegistry
/** /**
* @return the descriptor service * @return the descriptor service
* @deprecated This method returns a service that is not part of the public Java API.
*/ */
@NotAuditable @NotAuditable
DescriptorService getDescriptorService(); DescriptorService getDescriptorService();
/** /**
* @return the transaction service * @return the transaction service
* @deprecated This method returns a service that is not part of the public Java API.
*/ */
@NotAuditable @NotAuditable
TransactionService getTransactionService(); TransactionService getTransactionService();
@@ -235,6 +237,7 @@ public interface ServiceRegistry
/** /**
* @return the content filter languages service (or null, if one is not provided) * @return the content filter languages service (or null, if one is not provided)
* @deprecated This method returns a service that is not part of the public Java API.
*/ */
@NotAuditable @NotAuditable
ContentFilterLanguagesService getContentFilterLanguagesService(); ContentFilterLanguagesService getContentFilterLanguagesService();
@@ -289,18 +292,21 @@ public interface ServiceRegistry
/** /**
* @return the importer service or null if not present * @return the importer service or null if not present
* @deprecated This method returns a service that is not part of the public Java API.
*/ */
@NotAuditable @NotAuditable
ImporterService getImporterService(); ImporterService getImporterService();
/** /**
* @return the exporter service or null if not present * @return the exporter service or null if not present
* @deprecated This method returns a service that is not part of the public Java API.
*/ */
@NotAuditable @NotAuditable
ExporterService getExporterService(); ExporterService getExporterService();
/** /**
* @return the rule service (or null, if one is not provided) * @return the rule service (or null, if one is not provided)
* @deprecated This method returns a service that is not part of the public Java API.
*/ */
@NotAuditable @NotAuditable
RuleService getRuleService(); RuleService getRuleService();
@@ -337,6 +343,7 @@ public interface ServiceRegistry
/** /**
* @return the script execution service (or null if one is not provided) * @return the script execution service (or null if one is not provided)
* @deprecated This method returns a service that is not part of the public Java API.
*/ */
@NotAuditable @NotAuditable
ScriptService getScriptService(); ScriptService getScriptService();
@@ -349,12 +356,14 @@ public interface ServiceRegistry
/** /**
* @return the notification service (or null if on is not provided) * @return the notification service (or null if on is not provided)
* @deprecated This method returns a service that is not part of the public Java API.
*/ */
@NotAuditable @NotAuditable
NotificationService getNotificationService(); NotificationService getNotificationService();
/** /**
* @return the audit service (or null if one is not provided) * @return the audit service (or null if one is not provided)
* @deprecated This method returns a service that is not part of the public Java API.
*/ */
@NotAuditable @NotAuditable
AuditService getAuditService(); AuditService getAuditService();
@@ -362,6 +371,7 @@ public interface ServiceRegistry
/** /**
* Get the ownable service (or null if one is not provided) * Get the ownable service (or null if one is not provided)
* @return OwnableService * @return OwnableService
* @deprecated This method returns a service that is not part of the public Java API.
*/ */
@NotAuditable @NotAuditable
OwnableService getOwnableService(); OwnableService getOwnableService();
@@ -386,18 +396,21 @@ public interface ServiceRegistry
/** /**
* Get the Multilingual Content Service * Get the Multilingual Content Service
* @deprecated This method returns a service that is not part of the public Java API.
*/ */
@NotAuditable @NotAuditable
MultilingualContentService getMultilingualContentService(); MultilingualContentService getMultilingualContentService();
/** /**
* Get the Edition Service * Get the Edition Service
* @deprecated This method returns a service that is not part of the public Java API.
*/ */
@NotAuditable @NotAuditable
EditionService getEditionService(); EditionService getEditionService();
/** /**
* Get the Thumbnail Service * Get the Thumbnail Service
* @deprecated This method returns a service that is not part of the public Java API.
*/ */
@NotAuditable @NotAuditable
ThumbnailService getThumbnailService(); ThumbnailService getThumbnailService();
@@ -410,6 +423,7 @@ public interface ServiceRegistry
/** /**
* Get the form service (or null if one is not provided) * Get the form service (or null if one is not provided)
* @deprecated This method returns a service that is not part of the public Java API.
*/ */
@NotAuditable @NotAuditable
FormService getFormService(); FormService getFormService();
@@ -436,6 +450,7 @@ public interface ServiceRegistry
* Get the blog service (or null if one is not provided) * Get the blog service (or null if one is not provided)
* *
* @since 4.0 * @since 4.0
* @deprecated This method returns a service that is not part of the public Java API.
*/ */
@NotAuditable @NotAuditable
BlogService getBlogService(); BlogService getBlogService();
@@ -444,6 +459,7 @@ public interface ServiceRegistry
* Get the calendar service (or null if one is not provided) * Get the calendar service (or null if one is not provided)
* *
* @since 4.0 * @since 4.0
* @deprecated This method returns a service that is not part of the public Java API.
*/ */
@NotAuditable @NotAuditable
CalendarService getCalendarService(); CalendarService getCalendarService();
@@ -451,6 +467,7 @@ public interface ServiceRegistry
/** /**
* Get the invitation service (or null if one is not provided) * Get the invitation service (or null if one is not provided)
* @return the invitation service * @return the invitation service
* @deprecated This method returns a service that is not part of the public Java API.
*/ */
@NotAuditable @NotAuditable
InvitationService getInvitationService(); InvitationService getInvitationService();
@@ -458,6 +475,7 @@ public interface ServiceRegistry
/** /**
* Get the CMIS Dictionary service (or null if one is not provided) * Get the CMIS Dictionary service (or null if one is not provided)
* @return the CMIS Dictionary service * @return the CMIS Dictionary service
* @deprecated This method returns a service that is not part of the public Java API.
*/ */
@NotAuditable @NotAuditable
CMISDictionaryService getCMISDictionaryService(); CMISDictionaryService getCMISDictionaryService();
@@ -465,6 +483,7 @@ public interface ServiceRegistry
/** /**
* Get the CMIS Query service (or null if one is not provided) * Get the CMIS Query service (or null if one is not provided)
* @return the CMIS Query service * @return the CMIS Query service
* @deprecated This method returns a service that is not part of the public Java API.
*/ */
@NotAuditable @NotAuditable
CMISQueryService getCMISQueryService(); CMISQueryService getCMISQueryService();
@@ -472,6 +491,7 @@ public interface ServiceRegistry
/** /**
* Get the IMAP service (or null if one is not provided) * Get the IMAP service (or null if one is not provided)
* @return the IMAP service * @return the IMAP service
* @deprecated This method returns a service that is not part of the public Java API.
*/ */
@NotAuditable @NotAuditable
ImapService getImapService(); ImapService getImapService();
@@ -479,6 +499,7 @@ public interface ServiceRegistry
/** /**
* Get the Public Service Access service (or null if one is not provided) * Get the Public Service Access service (or null if one is not provided)
* @return the Public Service Access service * @return the Public Service Access service
* @deprecated This method returns a service that is not part of the public Java API.
*/ */
@NotAuditable @NotAuditable
PublicServiceAccessService getPublicServiceAccessService(); PublicServiceAccessService getPublicServiceAccessService();
@@ -486,6 +507,7 @@ public interface ServiceRegistry
/** /**
* Get the repo admin service (or null if one is not provided) * Get the repo admin service (or null if one is not provided)
* @return the repo admin service * @return the repo admin service
* @deprecated This method returns a service that is not part of the public Java API.
*/ */
@NotAuditable @NotAuditable
RepoAdminService getRepoAdminService(); RepoAdminService getRepoAdminService();
@@ -493,6 +515,7 @@ public interface ServiceRegistry
/** /**
* Get the sys admin params helper bean. * Get the sys admin params helper bean.
* @return the sys admin params bean. * @return the sys admin params bean.
* @deprecated This method returns a service that is not part of the public Java API.
*/ */
@NotAuditable @NotAuditable
SysAdminParams getSysAdminParams(); SysAdminParams getSysAdminParams();
@@ -500,6 +523,7 @@ public interface ServiceRegistry
/** /**
* Get the webdav service / helper bean. * Get the webdav service / helper bean.
* @return the webdav service / helper bean * @return the webdav service / helper bean
* @deprecated This method returns a service that is not part of the public Java API.
*/ */
@NotAuditable @NotAuditable
WebDavService getWebDavService(); WebDavService getWebDavService();
@@ -514,6 +538,7 @@ public interface ServiceRegistry
/** /**
* Get the Solr facet helper bean * Get the Solr facet helper bean
* @return the Solr facet helper bean * @return the Solr facet helper bean
* @deprecated This method returns a service that is not part of the public Java API.
*/ */
@NotAuditable @NotAuditable
SolrFacetHelper getSolrFacetHelper(); SolrFacetHelper getSolrFacetHelper();
@@ -521,6 +546,7 @@ public interface ServiceRegistry
/** /**
* Get the facet label display handler registry bean * Get the facet label display handler registry bean
* @return the Facet label display handler registry bean * @return the Facet label display handler registry bean
* @deprecated This method returns a service that is not part of the public Java API.
*/ */
@NotAuditable @NotAuditable
FacetLabelDisplayHandlerRegistry getFacetLabelDisplayHandlerRegistry(); FacetLabelDisplayHandlerRegistry getFacetLabelDisplayHandlerRegistry();
@@ -535,6 +561,7 @@ public interface ServiceRegistry
/** /**
* Get the document link service * Get the document link service
* @return the document link service * @return the document link service
* @deprecated This method returns a service that is not part of the public Java API.
*/ */
@NotAuditable @NotAuditable
DocumentLinkService getDocumentLinkService(); DocumentLinkService getDocumentLinkService();