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:
getUploadElementsin 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:
setUploadElementsin 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:
getActionUUIDsin 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:
setActionUUIDsin 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:
execin 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:
getProcessingKeyin interfaceIProcessing
-
getLicenseKey
public String getLicenseKey()
- Specified by:
getLicenseKeyin interfaceIProcessing
-
getDisplayName
public String getDisplayName(Locale l)
- Specified by:
getDisplayNamein interfaceINamedUiElement- Overrides:
getDisplayNamein classAVerarbeitung- Returns:
- Wert, der das entsprechende Objekt an Oberfläche repräsentiert (wird i.A. zur Laufzeit ermittelt).
-
getProcessingPage
public String getProcessingPage()
- Specified by:
getProcessingPagein interfaceIProcessing- Overrides:
getProcessingPagein classAVerarbeitung
-
getIcon
public String getIcon()
- Specified by:
getIconin interfaceIProcessing- Overrides:
getIconin classAVerarbeitung- Returns:
- The icon ID for this action.
-
prefillProcessing
public void prefillProcessing(IProcessingPrefillData prefillData)
Description copied from interface:IProcessingMethod which is called the processing is created- Specified by:
prefillProcessingin interfaceIProcessing- Parameters:
prefillData- IProcessingPrefillData
-
getUserUUIDs
public List<String> getUserUUIDs()
- Specified by:
getUserUUIDsin interfaceIUserDependent- Returns:
Listof UUIDs of user, which this processing depends on
-
setUserUUIDs
public void setUserUUIDs(List<String> userUUIDs)
- Specified by:
setUserUUIDsin interfaceIUserDependent- Parameters:
userUUIDs-Listof UUIDs, which this processing depends on
-
getUserGroupUUIDs
public List<String> getUserGroupUUIDs()
- Specified by:
getUserGroupUUIDsin interfaceIUserGroupDependent- Returns:
Listof UUIDs of user groups, which this processing depends on
-
setUserGroupUUIDs
public void setUserGroupUUIDs(List<String> userGroupUUIDs)
- Specified by:
setUserGroupUUIDsin interfaceIUserGroupDependent- Parameters:
userGroupUUIDs-Listof UUIDs, which this processing depends on
-
setActionIds
@Deprecated public void setActionIds(List<Long> aktionsIdErgebnisse)
Deprecated.- Specified by:
setActionIdsin interfaceIConsuming
-
getActionIds
@Deprecated public List<Long> getActionIds()
Deprecated.- Specified by:
getActionIdsin 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)
-
-