public class EmailServiceImpl extends Object implements EmailService
Constructor and Description |
---|
EmailServiceImpl() |
Modifier and Type | Method and Description |
---|---|
AttributeService |
getAttributeService() |
org.alfresco.service.cmr.dictionary.DictionaryService |
getDictionaryService() |
String |
getEmailContributorsAuthority() |
Map<String,EmailMessageHandler> |
getEmailMessageHandlerMap() |
void |
importMessage(EmailDelivery delivery,
EmailMessage message)
Processes an email message.
|
void |
importMessage(EmailDelivery delivery,
org.alfresco.service.cmr.repository.NodeRef nodeRef,
EmailMessage message)
Process an email message.
|
void |
init() |
void |
setAttributeService(AttributeService attributeService) |
void |
setAuthorityService(AuthorityService authorityService) |
void |
setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService) |
void |
setEmailContributorsAuthority(String emailContributorsAuthority) |
void |
setEmailInboundEnabled(boolean mailInboundEnabled) |
void |
setEmailMessageHandlerMap(Map<String,EmailMessageHandler> emailMessageHandlerMap) |
void |
setNamespaceService(org.alfresco.service.namespace.NamespaceService namespaceService) |
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService) |
void |
setRetryingTransactionHelper(RetryingTransactionHelper retryingTransactionHelper) |
void |
setSearchService(org.alfresco.service.cmr.search.SearchService searchService) |
void |
setUnknownUser(String unknownUser) |
public void init()
public void setNamespaceService(org.alfresco.service.namespace.NamespaceService namespaceService)
namespaceService
- the service to resolve namespace prefixespublic void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
nodeService
- Alfresco Node Servicepublic void setSearchService(org.alfresco.service.cmr.search.SearchService searchService)
searchService
- Alfresco Search Servicepublic void setRetryingTransactionHelper(RetryingTransactionHelper retryingTransactionHelper)
retryingTransactionHelper
- Alfresco RetryingTransactionHelperpublic void setAuthorityService(AuthorityService authorityService)
authorityService
- Alfresco authority servicepublic Map<String,EmailMessageHandler> getEmailMessageHandlerMap()
public void setEmailMessageHandlerMap(Map<String,EmailMessageHandler> emailMessageHandlerMap)
emailMessageHandlerMap
- Map of message handlerspublic void setUnknownUser(String unknownUser)
unknownUser
- Login of user that should be set as unknown.public void setEmailInboundEnabled(boolean mailInboundEnabled)
public void importMessage(EmailDelivery delivery, EmailMessage message)
importMessage
in interface EmailService
delivery
- instructions - who gets the message and who is it frommessage
- the email messagepublic void importMessage(EmailDelivery delivery, org.alfresco.service.cmr.repository.NodeRef nodeRef, EmailMessage message)
importMessage
in interface EmailService
delivery
- instructions - who gets the message and who is it fromnodeRef
- the node to import the message tomessage
- the email messagepublic void setEmailContributorsAuthority(String emailContributorsAuthority)
public String getEmailContributorsAuthority()
public void setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
public org.alfresco.service.cmr.dictionary.DictionaryService getDictionaryService()
public void setAttributeService(AttributeService attributeService)
public AttributeService getAttributeService()
Copyright © 2005–2017 Alfresco Software. All rights reserved.