Package de.xima.fc.bl.fdv.processing
Class VerarbeitungWriteToFile
- java.lang.Object
-
- de.xima.fc.bl.fdv.processing.AVerarbeitung
-
- de.xima.fc.bl.fdv.processing.VerarbeitungWriteToFile
-
- All Implemented Interfaces:
ITransferable,IAttachableFile,INamedUiElement,IProviding,IProcessing,Serializable
@Embeddable public class VerarbeitungWriteToFile extends AVerarbeitung implements IProviding, IAttachableFile
- See Also:
- Serialized Form
-
-
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 VerarbeitungWriteToFile()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected IProcessingResultexec(IWorkflowProcessingContext wfpc, Aktion aktion)Writes the file contents to a file with the specified export name.StringgetDisplayName(Locale l)StringgetExportName()StringgetFileContent()StringgetIcon()StringgetLicenseKey()StringgetProcessingKey()StringgetProcessingPage()booleanisAttachToFormRecord()voidsetAttachToFormRecord(boolean attachToFormRecord)voidsetExportName(String exportName)voidsetFileContent(String fileContent)-
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, toString, wait, wait, wait
-
Methods inherited from interface de.xima.fc.interfaces.processing.IProcessing
getAvailableOverrideValue, prefillProcessing
-
-
-
-
Method Detail
-
getFileContent
public String getFileContent()
- Returns:
- Content of the file. Line endings (CR, LF & LFCR) are converted to CRLF.
-
setFileContent
public void setFileContent(String fileContent)
- Parameters:
fileContent- to be set
-
setExportName
public void setExportName(String exportName)
- Parameters:
exportName- name of the file when exporting
-
getExportName
public String getExportName()
- Returns:
- Name of the file when exporting
-
exec
protected IProcessingResult exec(IWorkflowProcessingContext wfpc, Aktion aktion) throws WorkflowProcessingException
Writes the file contents to a file with the specified export name. Line endings (CR, LF & LFCR) are converted to CRLF. The Result will be added to theIWorkflowProcessingContext- 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:
WorkflowProcessingException
-
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.
-
isAttachToFormRecord
public boolean isAttachToFormRecord()
- Specified by:
isAttachToFormRecordin interfaceIAttachableFile- Returns:
- Whether files created by this file providing action are attached to the form record.
-
setAttachToFormRecord
public void setAttachToFormRecord(boolean attachToFormRecord)
- Specified by:
setAttachToFormRecordin interfaceIAttachableFile- Parameters:
attachToFormRecord- Whether files created by this file providing action are attached to the form record.
-
-