Package de.xima.fc.bl.fdv.processing
Class ProcessingWrapper
- java.lang.Object
-
- de.xima.fc.bl.fdv.processing.ProcessingWrapper
-
- All Implemented Interfaces:
ITransferable
,INamedUiElement
,IProcessing
,IProcessingWrapper
,Serializable
@Deprecated public class ProcessingWrapper extends Object implements IProcessingWrapper
Deprecated.This is part of the old workflow engine. Use the new workflow engine. Actions should implementINodeHandler
.Wrapper class for workflow processing- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Field Summary
-
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 ProcessingWrapper()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description IProcessingResult
execute(IWorkflowProcessingContext wfpc, Aktion aktion)
Deprecated.Diese Methode dient dazu, die konkrete Aktionsverarbeitung zu implementieren.List<Long>
getActionIds()
Deprecated.String
getActionUUID()
Deprecated.Gets the UUID of the action that will be consumed by this actionList<String>
getActionUUIDs()
Deprecated.Gets the UUIDs of the actions that will be consumed by this actionList<Integer>
getAktionsIdErgebnisse()
Deprecated.long
getDbConnectionId()
Deprecated.String
getDisplayName(Locale l)
Deprecated.The display name of this element in the given locale.IGuiIcon
getGuiIcon()
Deprecated.String
getIcon()
Deprecated.List<org.json.JSONObject>
getParameters()
Deprecated.Map<String,String>
getParamMap()
Deprecated.Class<?>
getPluginClass(Mandant client)
Deprecated.long
getPostfachId()
Deprecated.String
getProcessingKey()
Deprecated.String
getProcessingName()
Deprecated.Diese Methode dient dazu, den Namen der Klasse zu repräsentierten, die der Client anfordern kann.String
getProcessingPage()
Deprecated.String
getResource()
Deprecated.ERessourcenTyp
getResourceType()
Deprecated.Gets the type of the resource that may be needed for processingString
getResourceUri()
Deprecated.Gets the resource URI that may be needed for processingString
getResourceUuid()
Deprecated.Gets the resource UUID that may be needed for processingERessourcenTyp
getRessTypeEnum()
Deprecated.long
getSourceAktionId()
Deprecated.String
getStateUUID()
Deprecated.Gets the UUID of the state that this processing is depending onlong
getStatusId()
Deprecated.String
getTemplateUUID()
Deprecated.Gets the template UUID that may be needed for processinglong
getTextbausteinId()
Deprecated.List<String>
getUploadElements()
Deprecated.boolean
isAttachToFormRecord()
Deprecated.boolean
isAvailable(IEntityContext ec, Mandant man)
Deprecated.boolean
isFileProviding()
Deprecated.Diese Methode dient dazu, anzugeben ob diese AktionsVerarbeitung eine erstellende Aktion ist.boolean
isWrapperFor(Class<?> clazz)
Deprecated.Determines whether or not this instance is a wrapper for the given classvoid
setActionIds(List<Long> actionIds)
Deprecated.void
setActionUUID(String uuid)
Deprecated.Sets the UUID of the action that will be consumed by this actionvoid
setActionUUIDs(List<String> uuids)
Deprecated.Sets the UUIDs of the actions that will be consumed by this actionvoid
setAttachToFormRecord(boolean attachToFormRecord)
Deprecated.Sets whether or not files should be attached to the form recordvoid
setParameters(List<org.json.JSONObject> parameters)
Deprecated.void
setParamMap(Map<String,String> parameters)
Deprecated.void
setResource(String resource)
Deprecated.void
setResourceUri(String uri)
Deprecated.Sets the resource URI that may be needed for processingvoid
setResourceUuid(String uuid)
Deprecated.Sets the resource UUID that may be needed for processingvoid
setSourceAktionId(long sourceAktionId)
Deprecated.void
setStateUUID(String uuid)
Deprecated.Sets the UUID of the state that this processing is depending onvoid
setTemplateUUID(String templateUUID)
Deprecated.Sets the template UUID that may be needed for processingvoid
setUploadElements(List<String> uploadElements)
Deprecated.Sets the list of upload elements that should be used by this action<T> T
unwrap(Class<T> clazz)
Deprecated.Unwraps the wrapped processing for the given class and returns itvoid
wrapFor(Aktion action)
Deprecated.Wraps the action and its processing-
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, getLicenseKey, prefillProcessing
-
-
-
-
Method Detail
-
wrapFor
public void wrapFor(Aktion action)
Deprecated.Description copied from interface:IProcessingWrapper
Wraps the action and its processing- Specified by:
wrapFor
in interfaceIProcessingWrapper
- Parameters:
action
-Aktion
to wrap processing for
-
unwrap
public <T> T unwrap(Class<T> clazz)
Deprecated.Description copied from interface:IProcessingWrapper
Unwraps the wrapped processing for the given class and returns it- Specified by:
unwrap
in interfaceIProcessingWrapper
- Type Parameters:
T
- Type to unrwap to- Parameters:
clazz
-Class
to unwrap for- Returns:
- unwrapped processing
-
isWrapperFor
public boolean isWrapperFor(Class<?> clazz)
Deprecated.Description copied from interface:IProcessingWrapper
Determines whether or not this instance is a wrapper for the given class- Specified by:
isWrapperFor
in interfaceIProcessingWrapper
- Parameters:
clazz
-Class
to check- Returns:
true
if the wrapped processing is assignable from the given class
-
getTemplateUUID
public String getTemplateUUID()
Deprecated.Gets the template UUID that may be needed for processing- Specified by:
getTemplateUUID
in interfaceIProcessingWrapper
- Returns:
String
UUID ofTextbaustein
-
setTemplateUUID
public void setTemplateUUID(String templateUUID)
Deprecated.Sets the template UUID that may be needed for processing- Specified by:
setTemplateUUID
in interfaceIProcessingWrapper
- Parameters:
templateUUID
-String
UUID ofTextbaustein
-
getResourceUuid
public String getResourceUuid()
Deprecated.Gets the resource UUID that may be needed for processing- Specified by:
getResourceUuid
in interfaceIProcessingWrapper
- Returns:
String
UUID of the resource
-
setResourceUuid
public void setResourceUuid(String uuid)
Deprecated.Sets the resource UUID that may be needed for processing- Specified by:
setResourceUuid
in interfaceIProcessingWrapper
- Parameters:
uuid
-String
UUID of the resource
-
getResourceUri
public String getResourceUri()
Deprecated.Gets the resource URI that may be needed for processing- Specified by:
getResourceUri
in interfaceIProcessingWrapper
- Returns:
String
URI of the resource
-
setResourceUri
public void setResourceUri(String uri)
Deprecated.Sets the resource URI that may be needed for processing- Specified by:
setResourceUri
in interfaceIProcessingWrapper
- Parameters:
uri
-String
URI of the resource
-
getResourceType
public ERessourcenTyp getResourceType()
Deprecated.Gets the type of the resource that may be needed for processing- Specified by:
getResourceType
in interfaceIProcessingWrapper
- Returns:
ERessourcenTyp
resource type
-
getActionUUIDs
public List<String> getActionUUIDs()
Deprecated.Description copied from interface:IProcessingWrapper
Gets the UUIDs of the actions that will be consumed by this action- Specified by:
getActionUUIDs
in interfaceIProcessingWrapper
- Returns:
List
ofAktion.getUUID()
s
-
setActionUUIDs
public void setActionUUIDs(List<String> uuids)
Deprecated.Description copied from interface:IProcessingWrapper
Sets the UUIDs of the actions that will be consumed by this action- Specified by:
setActionUUIDs
in interfaceIProcessingWrapper
- Parameters:
uuids
-List
ofAktion.getUUID()
s
-
getStateUUID
public String getStateUUID()
Deprecated.Description copied from interface:IProcessingWrapper
Gets the UUID of the state that this processing is depending on- Specified by:
getStateUUID
in interfaceIProcessingWrapper
- Returns:
String
UUID of the state that this processing is depending on
-
setStateUUID
public void setStateUUID(String uuid)
Deprecated.Description copied from interface:IProcessingWrapper
Sets the UUID of the state that this processing is depending on- Specified by:
setStateUUID
in interfaceIProcessingWrapper
- Parameters:
uuid
-String
UUID of the state that this processing is depending on
-
getActionUUID
public String getActionUUID()
Deprecated.Description copied from interface:IProcessingWrapper
Gets the UUID of the action that will be consumed by this action- Specified by:
getActionUUID
in interfaceIProcessingWrapper
- Returns:
Aktion.getUUID()
-
setActionUUID
public void setActionUUID(String uuid)
Deprecated.Description copied from interface:IProcessingWrapper
Sets the UUID of the action that will be consumed by this action- Specified by:
setActionUUID
in interfaceIProcessingWrapper
- Parameters:
uuid
-Aktion.getUUID()
-
getDbConnectionId
public long getDbConnectionId()
Deprecated.- Specified by:
getDbConnectionId
in interfaceIProcessingWrapper
- Returns:
Long
ID of the DB connection used by this action
-
getUploadElements
public List<String> getUploadElements()
Deprecated.- Specified by:
getUploadElements
in interfaceIProcessingWrapper
- Returns:
List
of upload elements used by this action
-
setUploadElements
public void setUploadElements(List<String> uploadElements)
Deprecated.Description copied from interface:IProcessingWrapper
Sets the list of upload elements that should be used by this action- Specified by:
setUploadElements
in interfaceIProcessingWrapper
- Parameters:
uploadElements
-List
of upload elements
-
isAttachToFormRecord
public boolean isAttachToFormRecord()
Deprecated.- Specified by:
isAttachToFormRecord
in interfaceIProcessingWrapper
- Returns:
Boolean
whether or not files should be attached to the form record
-
setAttachToFormRecord
public void setAttachToFormRecord(boolean attachToFormRecord)
Deprecated.Description copied from interface:IProcessingWrapper
Sets whether or not files should be attached to the form record- Specified by:
setAttachToFormRecord
in interfaceIProcessingWrapper
- Parameters:
attachToFormRecord
-Boolean
-
getPostfachId
public long getPostfachId()
Deprecated.- Specified by:
getPostfachId
in interfaceIProcessingWrapper
- Returns:
Long
the inbox id being used by this action
-
getPluginClass
public Class<?> getPluginClass(Mandant client)
Deprecated.- Specified by:
getPluginClass
in interfaceIProcessingWrapper
-
getParameters
public List<org.json.JSONObject> getParameters()
Deprecated.- Specified by:
getParameters
in interfaceIProcessingWrapper
-
setParameters
public void setParameters(List<org.json.JSONObject> parameters)
Deprecated.- Specified by:
setParameters
in interfaceIProcessingWrapper
-
getParamMap
public Map<String,String> getParamMap()
Deprecated.- Specified by:
getParamMap
in interfaceIProcessingWrapper
-
setParamMap
public void setParamMap(Map<String,String> parameters)
Deprecated.- Specified by:
setParamMap
in interfaceIProcessingWrapper
-
getProcessingName
public String getProcessingName()
Deprecated.Description copied from interface:IProcessing
Diese Methode dient dazu, den Namen der Klasse zu repräsentierten, die der Client anfordern kann.- Specified by:
getProcessingName
in interfaceIProcessing
- Returns:
- Zeichenkette mit dem Namen der Klasse: (this.getClass().getCanonicalName())
-
isFileProviding
public boolean isFileProviding()
Deprecated.Description copied from interface:IProcessing
Diese Methode dient dazu, anzugeben ob diese AktionsVerarbeitung eine erstellende Aktion ist.- Specified by:
isFileProviding
in interfaceIProcessing
- Returns:
true
, wenn die Aktion eine Datei bereitstellt
-
getProcessingKey
public String getProcessingKey()
Deprecated.- Specified by:
getProcessingKey
in interfaceIProcessing
-
getProcessingPage
public String getProcessingPage()
Deprecated.- Specified by:
getProcessingPage
in interfaceIProcessing
-
getGuiIcon
public IGuiIcon getGuiIcon()
Deprecated.- Specified by:
getGuiIcon
in interfaceIProcessing
-
getDisplayName
public String getDisplayName(Locale l)
Deprecated.Description copied from interface:INamedUiElement
The display name of this element in the given locale.- Specified by:
getDisplayName
in interfaceINamedUiElement
- Parameters:
l
- The locale to get the display name for.- Returns:
- The display name of this element in the given locale.
-
execute
public IProcessingResult execute(IWorkflowProcessingContext wfpc, Aktion aktion) throws WorkflowProcessingException
Deprecated.Description copied from interface:IProcessing
Diese Methode dient dazu, die konkrete Aktionsverarbeitung zu implementieren. Diese Methode kann Dateien und Werte erzeugen, die für andere Aktionen zugänglich sein sollen. Hierzu kann derde.xima.fc.bl.fdv.WorkflowProcessingContext
genutzt werden. Ein solcherWorkflowProcessingContext
ist zugreifbar über dende.xima.fc.bl.fdv.WorkflowProcessingContextManager
. Beispiel für die Nutzung desWorkflowProcessingContextManager
:WorkflowProcessingContext processingContext = WorkflowProcessingContextManager.getInstance().getContext(v); List<Object> values = processingContext.allValues(aktionIdErgebnis); Object value = processingContext.valuesByKey(aktionIdErgebnis, "key");
- Specified by:
execute
in interfaceIProcessing
- Parameters:
wfpc
- the currentIWorkflowProcessingContext
aktion
- the currentAktion
- Throws:
WorkflowProcessingException
- wenn ein Fehler in der konkreten Verarbeitung auftritt
-
getTextbausteinId
@Deprecated public long getTextbausteinId()
Deprecated.- Specified by:
getTextbausteinId
in interfaceIProcessingWrapper
-
getActionIds
@Deprecated public List<Long> getActionIds()
Deprecated.- Specified by:
getActionIds
in interfaceIProcessingWrapper
-
setActionIds
@Deprecated public void setActionIds(List<Long> actionIds)
Deprecated.- Specified by:
setActionIds
in interfaceIProcessingWrapper
-
getAktionsIdErgebnisse
@Deprecated public List<Integer> getAktionsIdErgebnisse()
Deprecated.- Specified by:
getAktionsIdErgebnisse
in interfaceIProcessingWrapper
-
getStatusId
@Deprecated public long getStatusId()
Deprecated.- Specified by:
getStatusId
in interfaceIProcessingWrapper
-
getSourceAktionId
@Deprecated public long getSourceAktionId()
Deprecated.- Specified by:
getSourceAktionId
in interfaceIProcessingWrapper
-
setSourceAktionId
@Deprecated public void setSourceAktionId(long sourceAktionId)
Deprecated.- Specified by:
setSourceAktionId
in interfaceIProcessingWrapper
-
setResource
@Deprecated public void setResource(String resource)
Deprecated.- Specified by:
setResource
in interfaceIProcessingWrapper
-
getResource
@Deprecated public String getResource()
Deprecated.- Specified by:
getResource
in interfaceIProcessingWrapper
-
getRessTypeEnum
@Deprecated public ERessourcenTyp getRessTypeEnum()
Deprecated.- Specified by:
getRessTypeEnum
in interfaceIProcessingWrapper
-
getIcon
@Deprecated public String getIcon()
Deprecated.- Specified by:
getIcon
in interfaceIProcessing
- Returns:
- The icon ID for this action.
-
isAvailable
public boolean isAvailable(IEntityContext ec, Mandant man)
Deprecated.- Specified by:
isAvailable
in interfaceIProcessing
-
-