Class CustomEmailMappingServiceImpl
java.lang.Object
org.springframework.extensions.surf.util.AbstractLifecycleBean
org.alfresco.module.org_alfresco_module_rm.email.CustomEmailMappingServiceImpl
- All Implemented Interfaces:
EventListener
,CustomEmailMappingService
,org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
,org.springframework.context.ApplicationListener
public class CustomEmailMappingServiceImpl
extends org.springframework.extensions.surf.util.AbstractLifecycleBean
implements CustomEmailMappingService
Custom Email Mapping Service
-
Field Summary
Fields inherited from class org.springframework.extensions.surf.util.AbstractLifecycleBean
log
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addCustomMapping
(String from, String to) Add custom mappingvoid
deleteCustomMapping
(String from, String to) Delete custom mappingGet the list of custom mappingsGets the list of email mapping keysprotected void
onBootstrap
(org.springframework.context.ApplicationEvent event) protected void
onShutdown
(org.springframework.context.ApplicationEvent arg0) void
registerEMailMappingKey
(String emailMappingKey) Registers an email mapping key with the existing list of email mapping keysvoid
setContentService
(ContentService contentService) void
setEmailMappingKeys
(List<String> emailMappingKeys) void
setExtracter
(RFC822MetadataExtracter extractor) void
void
setNodeService
(NodeService nodeService) void
setTransactionService
(TransactionService transactionService) Methods inherited from class org.springframework.extensions.surf.util.AbstractLifecycleBean
getApplicationContext, onApplicationEvent, setApplicationContext
-
Constructor Details
-
CustomEmailMappingServiceImpl
public CustomEmailMappingServiceImpl()
-
-
Method Details
-
setNamespacePrefixResolver
- Parameters:
nspr
- namespace service
-
setExtracter
- Parameters:
extractor
- extractor component
-
setNodeService
- Parameters:
nodeService
- node service
-
setContentService
- Parameters:
contentService
- content service
-
setTransactionService
- Parameters:
transactionService
- transaction service
-
setEmailMappingKeys
- Parameters:
emailMappingKeys
- email mapping keys
-
getCustomMappings
Description copied from interface:CustomEmailMappingService
Get the list of custom mappings- Specified by:
getCustomMappings
in interfaceCustomEmailMappingService
- Returns:
Set
<CustomMapping
>- See Also:
-
addCustomMapping
Description copied from interface:CustomEmailMappingService
Add custom mapping- Specified by:
addCustomMapping
in interfaceCustomEmailMappingService
- See Also:
-
deleteCustomMapping
Description copied from interface:CustomEmailMappingService
Delete custom mapping- Specified by:
deleteCustomMapping
in interfaceCustomEmailMappingService
- See Also:
-
getEmailMappingKeys
Description copied from interface:CustomEmailMappingService
Gets the list of email mapping keys- Specified by:
getEmailMappingKeys
in interfaceCustomEmailMappingService
- Returns:
- Email mapping keys
- See Also:
-
registerEMailMappingKey
Description copied from interface:CustomEmailMappingService
Registers an email mapping key with the existing list of email mapping keys- Specified by:
registerEMailMappingKey
in interfaceCustomEmailMappingService
- Parameters:
emailMappingKey
- emailMappingKey to register- See Also:
-
onBootstrap
protected void onBootstrap(org.springframework.context.ApplicationEvent event) - Specified by:
onBootstrap
in classorg.springframework.extensions.surf.util.AbstractLifecycleBean
- See Also:
-
AbstractLifecycleBean.onBootstrap(org.springframework.context.ApplicationEvent)
-
onShutdown
protected void onShutdown(org.springframework.context.ApplicationEvent arg0) - Specified by:
onShutdown
in classorg.springframework.extensions.surf.util.AbstractLifecycleBean
- See Also:
-
AbstractLifecycleBean.onShutdown(org.springframework.context.ApplicationEvent)
-