Package de.xima.fc.bl.fdv.processing
Class VerarbeitungPlugin
- java.lang.Object
-
- de.xima.fc.bl.fdv.processing.AVerarbeitung
-
- de.xima.fc.bl.fdv.processing.AParameterVerarbeitung
-
- de.xima.fc.bl.fdv.processing.VerarbeitungPlugin
-
- All Implemented Interfaces:
ITransferable
,INamedUiElement
,IParameterProcessing
,IProcessing
,IProcessingPlugin
,Serializable
@Embeddable public class VerarbeitungPlugin extends AParameterVerarbeitung implements IProcessingPlugin, IParameterProcessing
A wrapping action that executes a workflow action (processing plugin).- Author:
- XIMA MEDIA GmbH
- 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.IParameterProcessing
JSON_KEY_PARAMNAME, JSON_KEY_PARAMVALUE
-
Fields inherited from interface de.xima.fc.interfaces.processing.IProcessing
ATTR_VERARBEITUNGSNAME
-
-
Constructor Summary
Constructors Constructor Description VerarbeitungPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected IProcessingResult
exec(IWorkflowProcessingContext wfpc, Aktion aktion)
This is the method that should implement the business logic required by this action.String
getDisplayName(Locale l)
String
getIcon()
String
getLicenseKey()
Class<? extends IPluginProcessing>
getPluginClass(Mandant man)
String
getProcessingKey()
String
getProcessingPage()
String
getSelectedPlugin()
void
setSelectedPlugin(String selectedPlugin)
-
Methods inherited from class de.xima.fc.bl.fdv.processing.AParameterVerarbeitung
getParameters, getParamMap, setParameters, setParamMap
-
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.IParameterProcessing
getParameters, getParamMap, setParameters, setParamMap
-
Methods inherited from interface de.xima.fc.interfaces.processing.IProcessing
execute, getAvailableOverrideValue, getGuiIcon, getProcessingName, isAvailable, isFileProviding, prefillProcessing
-
-
-
-
Method Detail
-
exec
protected IProcessingResult exec(IWorkflowProcessingContext wfpc, Aktion aktion) throws Exception
Description copied from class:AVerarbeitung
This is the method that should implement the business logic required by this action. This method is called internally byAVerarbeitung.execute(IWorkflowProcessingContext, Aktion)
.- 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.
-
getSelectedPlugin
public String getSelectedPlugin()
- Returns:
- The currently selected plugin that is executed when this workflow action is run.
-
setSelectedPlugin
public void setSelectedPlugin(String selectedPlugin)
- Parameters:
selectedPlugin
- The plugin that is executed when this workflow action is run.
-
getPluginClass
public Class<? extends IPluginProcessing> getPluginClass(Mandant man)
- Specified by:
getPluginClass
in interfaceIProcessingPlugin
-
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.
-
-