public class FolderEmailMessageHandler extends AbstractEmailMessageHandler
Constructor and Description |
---|
FolderEmailMessageHandler() |
Modifier and Type | Method and Description |
---|---|
void |
addAlfrescoContent(org.alfresco.service.cmr.repository.NodeRef spaceNodeRef,
EmailMessage message)
Add content to Alfresco repository
|
boolean |
isOverwriteDuplicates() |
void |
processMessage(org.alfresco.service.cmr.repository.NodeRef nodeRef,
EmailMessage message)
Method invokes for processing email message.
|
void |
setOverwriteDuplicates(boolean overwriteDuplicates)
Set the behaviour to be done on detecting a new message with the same subject.
|
addAttachment, addAttachments, addContentNode, addContentNode, addEmailedAspect, encodeSubject, getContentService, getDictionaryService, getMimetypeService, getNodeService, setContentService, setDictionaryService, setMimetypeService, setNodeService, writeContent, writeContent
public void processMessage(org.alfresco.service.cmr.repository.NodeRef nodeRef, EmailMessage message)
nodeRef
- Target nodemessage
- Email messagepublic void addAlfrescoContent(org.alfresco.service.cmr.repository.NodeRef spaceNodeRef, EmailMessage message) throws IOException
spaceNodeRef
- Addressed nodemessage
- Mail messageIOException
- Exception can be thrown while saving a content into Alfresco repository.public void setOverwriteDuplicates(boolean overwriteDuplicates)
overwriteDuplicates
- booleanpublic boolean isOverwriteDuplicates()
Copyright © 2005–2017 Alfresco Software. All rights reserved.