Package de.xima.fc.bl.fdv.processing
Class VerarbeitungEmail
- java.lang.Object
-
- de.xima.fc.bl.fdv.processing.AVerarbeitung
-
- de.xima.fc.bl.fdv.processing.VerarbeitungEmail
-
- All Implemented Interfaces:
ITransferable
,IConsuming
,INamedUiElement
,IUploadConsuming
,IMailDependent
,IUserDependent
,IUserGroupDependent
,IProcessing
,Serializable
@Embeddable public class VerarbeitungEmail extends AVerarbeitung implements IConsuming, IUploadConsuming, IMailDependent, IUserDependent, IUserGroupDependent
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface de.xima.fc.interfaces.IUploadConsuming
IUploadConsuming.uploadElements
-
-
Field Summary
-
Fields inherited from class de.xima.fc.bl.fdv.processing.AVerarbeitung
LOG
-
Fields inherited from interface de.xima.fc.interfaces.INamedUiElement
ATTR_DISPLAY_NAME
-
Fields inherited from interface de.xima.fc.interfaces.processing.IProcessing
ATTR_VERARBEITUNGSNAME
-
-
Constructor Summary
Constructors Constructor Description VerarbeitungEmail()
-
Method Summary
-
Methods inherited from class de.xima.fc.bl.fdv.processing.AVerarbeitung
convertToLongList, execute, getDefaultProcessingPageFolder, getGuiIcon, getProcessingName, isAvailable, isFileProviding
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface de.xima.fc.interfaces.IConsuming
getAktionsIdErgebnisse
-
Methods inherited from interface de.xima.fc.interfaces.processing.IProcessing
execute, getAvailableOverrideValue, getGuiIcon, getProcessingName, isAvailable, isFileProviding
-
-
-
-
Method Detail
-
setTo
public void setTo(String to)
-
getTo
public String getTo()
-
setCc
public void setCc(String cc)
-
getCc
public String getCc()
-
setBcc
public void setBcc(String bcc)
-
getBcc
public String getBcc()
-
getSendSeparateMails
public Boolean getSendSeparateMails()
-
setSendSeparateMails
public void setSendSeparateMails(Boolean sendSeparateMails)
-
setFrom
public void setFrom(String from)
-
getFrom
public String getFrom()
-
setSenderName
public void setSenderName(String senderName)
-
getSenderName
public String getSenderName()
-
setSubject
public void setSubject(String subject)
-
getSubject
public String getSubject()
-
getUploadElements
public List<String> getUploadElements()
- Specified by:
getUploadElements
in interfaceIUploadConsuming
- Returns:
- A list of
FormElement.getAlias()
es. These are the upload elements whose files are consumed by this upload file consuming action.
-
setUploadElements
public void setUploadElements(List<String> uploadElements)
- Specified by:
setUploadElements
in interfaceIUploadConsuming
- Parameters:
uploadElements
- A list ofFormElement.getAlias()
es. These are the upload elements whose files are consumed by this upload file consuming action.
-
getActionUUIDs
public List<String> getActionUUIDs()
- Specified by:
getActionUUIDs
in interfaceIConsuming
- Returns:
- A list of
Aktion.getUUID()
s. These are the actions which are consumed by this action
-
setActionUUIDs
public void setActionUUIDs(List<String> actionUUIDs)
- Specified by:
setActionUUIDs
in interfaceIConsuming
- Parameters:
actionUUIDs
- A list ofAktion.getUUID()
s. These are the actions which are consumed by this action
-
exec
protected IProcessingResult exec(IWorkflowProcessingContext wfpc, Aktion aktion) throws Exception
This is the method that should implement the business logic required by this action. This method is called internally byAVerarbeitung.execute(IWorkflowProcessingContext, Aktion)
. Konkret realisiert diese Methode das senden einer E-Mail an einen angegebenen Empfänger. Es können hierbei Ressourcen bzw. Ergebnisse aus vorherigen Aktionen verwendet und mitgesandt werden.- Specified by:
exec
in classAVerarbeitung
- Parameters:
wfpc
- The current workflow processing context that should be used to execute this action.aktion
- The action entity corresponding to the action to be executed.- Throws:
Exception
- When this action could not be executed and the error could not be handled by this action.
-
getProcessingKey
public String getProcessingKey()
- Specified by:
getProcessingKey
in interfaceIProcessing
-
getLicenseKey
public String getLicenseKey()
- Specified by:
getLicenseKey
in interfaceIProcessing
-
getDisplayName
public String getDisplayName(Locale l)
- Specified by:
getDisplayName
in interfaceINamedUiElement
- Overrides:
getDisplayName
in classAVerarbeitung
- Returns:
- Wert, der das entsprechende Objekt an Oberfläche repräsentiert (wird i.A. zur Laufzeit ermittelt).
-
getProcessingPage
public String getProcessingPage()
- Specified by:
getProcessingPage
in interfaceIProcessing
- Overrides:
getProcessingPage
in classAVerarbeitung
-
getIcon
public String getIcon()
- Specified by:
getIcon
in interfaceIProcessing
- Overrides:
getIcon
in classAVerarbeitung
- Returns:
- The icon ID for this action.
-
prefillProcessing
public void prefillProcessing(IProcessingPrefillData prefillData)
Description copied from interface:IProcessing
Method which is called the processing is created- Specified by:
prefillProcessing
in interfaceIProcessing
- Parameters:
prefillData
- IProcessingPrefillData
-
getUserUUIDs
public List<String> getUserUUIDs()
- Specified by:
getUserUUIDs
in interfaceIUserDependent
- Returns:
List
of UUIDs of user, which this processing depends on
-
setUserUUIDs
public void setUserUUIDs(List<String> userUUIDs)
- Specified by:
setUserUUIDs
in interfaceIUserDependent
- Parameters:
userUUIDs
-List
of UUIDs, which this processing depends on
-
getUserGroupUUIDs
public List<String> getUserGroupUUIDs()
- Specified by:
getUserGroupUUIDs
in interfaceIUserGroupDependent
- Returns:
List
of UUIDs of user groups, which this processing depends on
-
setUserGroupUUIDs
public void setUserGroupUUIDs(List<String> userGroupUUIDs)
- Specified by:
setUserGroupUUIDs
in interfaceIUserGroupDependent
- Parameters:
userGroupUUIDs
-List
of UUIDs, which this processing depends on
-
setActionIds
@Deprecated public void setActionIds(List<Long> aktionsIdErgebnisse)
Deprecated.- Specified by:
setActionIds
in interfaceIConsuming
-
getActionIds
@Deprecated public List<Long> getActionIds()
Deprecated.- Specified by:
getActionIds
in interfaceIConsuming
-
getPlainBody
public String getPlainBody()
-
setPlainBody
public void setPlainBody(String plainBody)
-
getBody
public String getBody()
-
setBody
public void setBody(String htmlBody)
-
getSendMailType
public String getSendMailType()
-
setSendMailType
public void setSendMailType(String sendMailType)
-
renderHTML
public boolean renderHTML()
-
renderPlain
public boolean renderPlain()
-
getEncryptionType
public EMailEncrpytionType getEncryptionType()
-
setEncryptionType
public void setEncryptionType(EMailEncrpytionType encryptionType)
-
-