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 TypeMethodDescriptionvoidaddCustomMapping(String from, String to) Add custom mappingvoiddeleteCustomMapping(String from, String to) Delete custom mappingGet the list of custom mappingsGets the list of email mapping keysprotected voidonBootstrap(org.springframework.context.ApplicationEvent event) protected voidonShutdown(org.springframework.context.ApplicationEvent arg0) voidregisterEMailMappingKey(String emailMappingKey) Registers an email mapping key with the existing list of email mapping keysvoidsetContentService(ContentService contentService) voidsetEmailMappingKeys(List<String> emailMappingKeys) voidsetExtracter(RFC822MetadataExtracter extractor) voidvoidsetNodeService(NodeService nodeService) voidsetTransactionService(TransactionService transactionService) Methods inherited from class org.springframework.extensions.surf.util.AbstractLifecycleBean
getApplicationContext, onApplicationEvent, setApplicationContextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.context.ApplicationListener
supportsAsyncExecution
-
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:CustomEmailMappingServiceGet the list of custom mappings- Specified by:
getCustomMappingsin interfaceCustomEmailMappingService- Returns:
Set<CustomMapping>- See Also:
-
addCustomMapping
Description copied from interface:CustomEmailMappingServiceAdd custom mapping- Specified by:
addCustomMappingin interfaceCustomEmailMappingService- See Also:
-
deleteCustomMapping
Description copied from interface:CustomEmailMappingServiceDelete custom mapping- Specified by:
deleteCustomMappingin interfaceCustomEmailMappingService- See Also:
-
getEmailMappingKeys
Description copied from interface:CustomEmailMappingServiceGets the list of email mapping keys- Specified by:
getEmailMappingKeysin interfaceCustomEmailMappingService- Returns:
- Email mapping keys
- See Also:
-
registerEMailMappingKey
Description copied from interface:CustomEmailMappingServiceRegisters an email mapping key with the existing list of email mapping keys- Specified by:
registerEMailMappingKeyin interfaceCustomEmailMappingService- Parameters:
emailMappingKey- emailMappingKey to register- See Also:
-
onBootstrap
protected void onBootstrap(org.springframework.context.ApplicationEvent event) - Specified by:
onBootstrapin 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:
onShutdownin classorg.springframework.extensions.surf.util.AbstractLifecycleBean- See Also:
-
AbstractLifecycleBean.onShutdown(org.springframework.context.ApplicationEvent)
-