org.alfresco.repo.rendition
Class MockedTestServiceRegistry
java.lang.Object
org.alfresco.repo.rendition.MockedTestServiceRegistry
- All Implemented Interfaces:
- ServiceRegistry
public class MockedTestServiceRegistry
- extends java.lang.Object
- implements ServiceRegistry
Fields inherited from interface org.alfresco.service.ServiceRegistry |
ACTION_SERVICE, ASSET_SERVICE, ATTRIBUTE_SERVICE, AUDIT_SERVICE, AUTHENTICATION_SERVICE, AUTHORITY_SERVICE, AVM_LOCKING_AWARE_SERVICE, AVM_LOCKING_SERVICE, AVM_SERVICE, AVM_SYNC_SERVICE, CATEGORY_SERVICE, CMIS_DICTIONARY_SERVICE, CMIS_QUERY_SERVICE, CMIS_SERVICE, COCI_SERVICE, CONTENT_FILTER_LANGUAGES_SERVICE, CONTENT_SERVICE, COPY_SERVICE, CROSS_REPO_COPY_SERVICE, DEPLOYMENT_SERVICE, DESCRIPTOR_SERVICE, DICTIONARY_SERVICE, EDITION_SERVICE, EXPORTER_SERVICE, FILE_FOLDER_SERVICE, FORM_SERVICE, IMAP_SERVICE, IMPORTER_SERVICE, INVITATION_SERVICE, JOB_LOCK_SERVICE, LOCK_SERVICE, MIMETYPE_SERVICE, MULTILINGUAL_CONTENT_SERVICE, NAMESPACE_SERVICE, NODE_SERVICE, OWNABLE_SERVICE, PERMISSIONS_SERVICE, PERSON_SERVICE, PREFERENCE_SERVICE, PREVIEW_URI_SERVICE, PUBLIC_SERVICE_ACCESS_SERVICE, REGISTRY_SERVICE, RENDITION_SERVICE, RETRYING_TRANSACTION_HELPER, RULE_SERVICE, SANDBOX_SERVICE, SCRIPT_SERVICE, SEARCH_SERVICE, SERVICE_REGISTRY, SITE_SERVICE, TAGGING_SERVICE, TEMPLATE_SERVICE, THUMBNAIL_SERVICE, TRANSACTION_SERVICE, VERSION_SERVICE, VIRT_SERVER_REGISTRY, WEBPROJECT_SERVICE, WORKFLOW_SERVICE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MockedTestServiceRegistry
public MockedTestServiceRegistry()
isServiceProvided
public boolean isServiceProvided(QName service)
- Description copied from interface:
ServiceRegistry
- Is the specified service provided by the Repository?
- Specified by:
isServiceProvided
in interface ServiceRegistry
- Parameters:
service
- name of service to test provision of
- Returns:
- true => provided, false => not provided
getWorkflowService
public WorkflowService getWorkflowService()
- Specified by:
getWorkflowService
in interface ServiceRegistry
- Returns:
- the workflow service (or null if one is not provided)
getWebProjectService
public WebProjectService getWebProjectService()
- Description copied from interface:
ServiceRegistry
- Get the WCM WebProject Service
- Specified by:
getWebProjectService
in interface ServiceRegistry
- Returns:
getVirtServerRegistry
public org.alfresco.mbeans.VirtServerRegistry getVirtServerRegistry()
- Description copied from interface:
ServiceRegistry
- Get the Virtualisation Server registry service bean
- Specified by:
getVirtServerRegistry
in interface ServiceRegistry
- Returns:
getVersionService
public VersionService getVersionService()
- Specified by:
getVersionService
in interface ServiceRegistry
- Returns:
- the version service (or null, if one is not provided)
getTransactionService
public TransactionService getTransactionService()
- Specified by:
getTransactionService
in interface ServiceRegistry
- Returns:
- the transaction service
getThumbnailService
public ThumbnailService getThumbnailService()
- Description copied from interface:
ServiceRegistry
- Get the Thumbnail Service
- Specified by:
getThumbnailService
in interface ServiceRegistry
- Returns:
getTemplateService
public TemplateService getTemplateService()
- Specified by:
getTemplateService
in interface ServiceRegistry
- Returns:
- the template service (or null if one is not provided)
getTaggingService
public TaggingService getTaggingService()
- Description copied from interface:
ServiceRegistry
- Get the Tagging Service
- Specified by:
getTaggingService
in interface ServiceRegistry
- Returns:
getSiteService
public SiteService getSiteService()
- Description copied from interface:
ServiceRegistry
- Get the site service (or null if one is not provided)
- Specified by:
getSiteService
in interface ServiceRegistry
- Returns:
getServices
public java.util.Collection getServices()
- Description copied from interface:
ServiceRegistry
- Get the list of services provided by the Repository
- Specified by:
getServices
in interface ServiceRegistry
- Returns:
- list of provided Services
getService
public java.lang.Object getService(QName service)
- Description copied from interface:
ServiceRegistry
- Get the specified service.
- Specified by:
getService
in interface ServiceRegistry
- Parameters:
service
- name of service to retrieve
- Returns:
- the service interface (must cast to interface as described in service meta-data)
getSearchService
public SearchService getSearchService()
- Specified by:
getSearchService
in interface ServiceRegistry
- Returns:
- the search service (or null, if one is not provided)
getScriptService
public ScriptService getScriptService()
- Specified by:
getScriptService
in interface ServiceRegistry
- Returns:
- the script execution service (or null if one is not provided)
getSandboxService
public SandboxService getSandboxService()
- Description copied from interface:
ServiceRegistry
- Get the WCM Sandbox Service
- Specified by:
getSandboxService
in interface ServiceRegistry
- Returns:
getRuleService
public RuleService getRuleService()
- Specified by:
getRuleService
in interface ServiceRegistry
- Returns:
- the rule service (or null, if one is not provided)
getRetryingTransactionHelper
public RetryingTransactionHelper getRetryingTransactionHelper()
- Specified by:
getRetryingTransactionHelper
in interface ServiceRegistry
- Returns:
- the transaction service
getPublicServiceAccessService
public PublicServiceAccessService getPublicServiceAccessService()
- Description copied from interface:
ServiceRegistry
- Get the IMAP service (or null if one is not provided)
- Specified by:
getPublicServiceAccessService
in interface ServiceRegistry
- Returns:
- the IMAP service
getPreviewURIService
public PreviewURIService getPreviewURIService()
- Description copied from interface:
ServiceRegistry
- Get the WCM Preview URI Service
- Specified by:
getPreviewURIService
in interface ServiceRegistry
- Returns:
getPersonService
public PersonService getPersonService()
- Description copied from interface:
ServiceRegistry
- Get the person service (or null if one is not provided)
- Specified by:
getPersonService
in interface ServiceRegistry
- Returns:
getPermissionService
public PermissionService getPermissionService()
- Specified by:
getPermissionService
in interface ServiceRegistry
- Returns:
- the permission service (or null if one is not provided)
getOwnableService
public OwnableService getOwnableService()
- Description copied from interface:
ServiceRegistry
- Get the ownable service (or null if one is not provided)
- Specified by:
getOwnableService
in interface ServiceRegistry
- Returns:
getNodeService
public NodeService getNodeService()
- Specified by:
getNodeService
in interface ServiceRegistry
- Returns:
- the node service (or null, if one is not provided)
getNamespaceService
public NamespaceService getNamespaceService()
- Specified by:
getNamespaceService
in interface ServiceRegistry
- Returns:
- the namespace service (or null, if one is not provided)
getMultilingualContentService
public MultilingualContentService getMultilingualContentService()
- Description copied from interface:
ServiceRegistry
- Get the Multilingual Content Service
- Specified by:
getMultilingualContentService
in interface ServiceRegistry
- Returns:
getMimetypeService
public MimetypeService getMimetypeService()
- Specified by:
getMimetypeService
in interface ServiceRegistry
- Returns:
- the mimetype service (or null, if one is not provided)
getLockService
public LockService getLockService()
- Specified by:
getLockService
in interface ServiceRegistry
- Returns:
- the lock service (or null, if one is not provided)
getJobLockService
public JobLockService getJobLockService()
- Specified by:
getJobLockService
in interface ServiceRegistry
- Returns:
- the job lock service (or null, if one is not provided)
getInvitationService
public InvitationService getInvitationService()
- Description copied from interface:
ServiceRegistry
- Get the invitation service (or null if one is not provided)
- Specified by:
getInvitationService
in interface ServiceRegistry
- Returns:
- the invitation service
getImporterService
public ImporterService getImporterService()
- Specified by:
getImporterService
in interface ServiceRegistry
- Returns:
- the importer service or null if not present
getImapService
public ImapService getImapService()
- Description copied from interface:
ServiceRegistry
- Get the IMAP service (or null if one is not provided)
- Specified by:
getImapService
in interface ServiceRegistry
- Returns:
- the IMAP service
getFormService
public FormService getFormService()
- Description copied from interface:
ServiceRegistry
- Get the form service (or null if one is not provided)
- Specified by:
getFormService
in interface ServiceRegistry
- Returns:
getRenditionService
public RenditionService getRenditionService()
- Description copied from interface:
ServiceRegistry
- Get the rendition service (or null if one is not provided)
- Specified by:
getRenditionService
in interface ServiceRegistry
- Returns:
getFileFolderService
public FileFolderService getFileFolderService()
- Specified by:
getFileFolderService
in interface ServiceRegistry
- Returns:
- the file-folder manipulation service (or null if one is not provided)
getExporterService
public ExporterService getExporterService()
- Specified by:
getExporterService
in interface ServiceRegistry
- Returns:
- the exporter service or null if not present
getEditionService
public EditionService getEditionService()
- Description copied from interface:
ServiceRegistry
- Get the Edition Service
- Specified by:
getEditionService
in interface ServiceRegistry
- Returns:
getDictionaryService
public DictionaryService getDictionaryService()
- Specified by:
getDictionaryService
in interface ServiceRegistry
- Returns:
- the dictionary service (or null, if one is not provided)
getDescriptorService
public DescriptorService getDescriptorService()
- Specified by:
getDescriptorService
in interface ServiceRegistry
- Returns:
- the descriptor service
getDeploymentService
public DeploymentService getDeploymentService()
- Description copied from interface:
ServiceRegistry
- Get the WCM Deployment Service
- Specified by:
getDeploymentService
in interface ServiceRegistry
- Returns:
- the deployment service (or null, if one is not provided)
getCrossRepositoryCopyService
public CrossRepositoryCopyService getCrossRepositoryCopyService()
- Description copied from interface:
ServiceRegistry
- Get the cross repository copy service (or null if one is not provided)
- Specified by:
getCrossRepositoryCopyService
in interface ServiceRegistry
- Returns:
getCopyService
public CopyService getCopyService()
- Specified by:
getCopyService
in interface ServiceRegistry
- Returns:
- the copy service (or null, if one is not provided)
getContentService
public ContentService getContentService()
- Specified by:
getContentService
in interface ServiceRegistry
- Returns:
- the content service (or null, if one is not provided)
getContentFilterLanguagesService
public ContentFilterLanguagesService getContentFilterLanguagesService()
- Specified by:
getContentFilterLanguagesService
in interface ServiceRegistry
- Returns:
- the content filter languages service (or null, if one is not provided)
getCheckOutCheckInService
public CheckOutCheckInService getCheckOutCheckInService()
- Specified by:
getCheckOutCheckInService
in interface ServiceRegistry
- Returns:
- the checkout / checkin service (or null, if one is not provided)
getCategoryService
public CategoryService getCategoryService()
- Specified by:
getCategoryService
in interface ServiceRegistry
- Returns:
- the category service (or null, if one is not provided)
getCMISService
public CMISServices getCMISService()
- Description copied from interface:
ServiceRegistry
- Get the CMIS service (or null if one is not provided)
- Specified by:
getCMISService
in interface ServiceRegistry
- Returns:
- the CMIS service
getCMISQueryService
public CMISQueryService getCMISQueryService()
- Description copied from interface:
ServiceRegistry
- Get the CMIS Query service (or null if one is not provided)
- Specified by:
getCMISQueryService
in interface ServiceRegistry
- Returns:
- the CMIS Query service
getCMISDictionaryService
public CMISDictionaryService getCMISDictionaryService()
- Description copied from interface:
ServiceRegistry
- Get the CMIS Dictionary service (or null if one is not provided)
- Specified by:
getCMISDictionaryService
in interface ServiceRegistry
- Returns:
- the CMIS Dictionary service
getAuthorityService
public AuthorityService getAuthorityService()
- Specified by:
getAuthorityService
in interface ServiceRegistry
- Returns:
- the authority service (or null if one is not provided)
getAuthenticationService
public MutableAuthenticationService getAuthenticationService()
- Specified by:
getAuthenticationService
in interface ServiceRegistry
- Returns:
- the authentication service (or null, if one is not provided)
getAuditService
public AuditService getAuditService()
- Specified by:
getAuditService
in interface ServiceRegistry
- Returns:
- the audit service (or null if one is not provided)
getAttributeService
public AttributeService getAttributeService()
- Description copied from interface:
ServiceRegistry
- Get the attribute service (or null if one is not provided)
- Specified by:
getAttributeService
in interface ServiceRegistry
- Returns:
getAssetService
public AssetService getAssetService()
- Description copied from interface:
ServiceRegistry
- Get the WCM Asset Service
- Specified by:
getAssetService
in interface ServiceRegistry
- Returns:
getActionService
public ActionService getActionService()
- Specified by:
getActionService
in interface ServiceRegistry
- Returns:
- the action service (or null if one is not provided)
getAVMSyncService
public AVMSyncService getAVMSyncService()
- Description copied from interface:
ServiceRegistry
- Get the AVM Sync Service.
- Specified by:
getAVMSyncService
in interface ServiceRegistry
- Returns:
- The AVM Sync Service.
getAVMService
public AVMService getAVMService()
- Description copied from interface:
ServiceRegistry
- Get the AVMService.
- Specified by:
getAVMService
in interface ServiceRegistry
- Returns:
- The AVM service (or null if one is not provided);
getAVMLockingService
public AVMLockingService getAVMLockingService()
- Description copied from interface:
ServiceRegistry
- Get the AVM locking service (or null if one is not provided)
- Specified by:
getAVMLockingService
in interface ServiceRegistry
- Returns:
getAVMLockingAwareService
public AVMService getAVMLockingAwareService()
- Description copied from interface:
ServiceRegistry
- Get the AVMLockingAwareService.
- Specified by:
getAVMLockingAwareService
in interface ServiceRegistry
- Returns:
- The AVM locking aware service (or null if one is not provided);
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.