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.
Wrapper class for workflow processing
- Author:
- XIMA MEDIA GmbH
- See Also:
-
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 -
Method Summary
Modifier and TypeMethodDescriptionexecute
(IWorkflowProcessingContext wfpc, Aktion aktion) Deprecated.Diese Methode dient dazu, die konkrete Aktionsverarbeitung zu implementieren.Deprecated.Deprecated.Gets the UUID of the action that will be consumed by this actionDeprecated.Gets the UUIDs of the actions that will be consumed by this actionDeprecated.long
Deprecated.Deprecated.Deprecated.getIcon()
Deprecated.List<org.json.JSONObject>
Deprecated.Deprecated.Class<?>
getPluginClass
(Mandant client) Deprecated.long
Deprecated.Deprecated.Deprecated.Diese Methode dient dazu, den Namen der Klasse zu repräsentierten, die der Client anfordern kann.Deprecated.Deprecated.Deprecated.Gets the type of the resource that may be needed for processingDeprecated.Gets the resource URI that may be needed for processingDeprecated.Gets the resource UUID that may be needed for processingDeprecated.long
Deprecated.Deprecated.Gets the UUID of the state that this processing is depending onlong
Deprecated.Deprecated.Gets the template UUID that may be needed for processinglong
Deprecated.Deprecated.boolean
Deprecated.boolean
isAvailable
(IEntityContext ec, Mandant man) Deprecated.boolean
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
Deprecated.Unwraps the wrapped processing for the given class and returns itvoid
Deprecated.Wraps the action and its processingMethods 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
-
Constructor Details
-
ProcessingWrapper
public ProcessingWrapper()Deprecated.
-
-
Method Details
-
wrapFor
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
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
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
Deprecated.Gets the template UUID that may be needed for processing- Specified by:
getTemplateUUID
in interfaceIProcessingWrapper
- Returns:
String
UUID ofTextbaustein
-
setTemplateUUID
Deprecated.Sets the template UUID that may be needed for processing- Specified by:
setTemplateUUID
in interfaceIProcessingWrapper
- Parameters:
templateUUID
-String
UUID ofTextbaustein
-
getResourceUuid
Deprecated.Gets the resource UUID that may be needed for processing- Specified by:
getResourceUuid
in interfaceIProcessingWrapper
- Returns:
String
UUID of the resource
-
setResourceUuid
Deprecated.Sets the resource UUID that may be needed for processing- Specified by:
setResourceUuid
in interfaceIProcessingWrapper
- Parameters:
uuid
-String
UUID of the resource
-
getResourceUri
Deprecated.Gets the resource URI that may be needed for processing- Specified by:
getResourceUri
in interfaceIProcessingWrapper
- Returns:
String
URI of the resource
-
setResourceUri
Deprecated.Sets the resource URI that may be needed for processing- Specified by:
setResourceUri
in interfaceIProcessingWrapper
- Parameters:
uri
-String
URI of the resource
-
getResourceType
Deprecated.Gets the type of the resource that may be needed for processing- Specified by:
getResourceType
in interfaceIProcessingWrapper
- Returns:
ERessourcenTyp
resource type
-
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
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
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
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
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
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
Deprecated.- Specified by:
getUploadElements
in interfaceIProcessingWrapper
- Returns:
List
of upload elements used by this action
-
setUploadElements
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
Deprecated.- Specified by:
getPluginClass
in interfaceIProcessingWrapper
-
getParameters
Deprecated.- Specified by:
getParameters
in interfaceIProcessingWrapper
-
setParameters
Deprecated.- Specified by:
setParameters
in interfaceIProcessingWrapper
-
getParamMap
Deprecated.- Specified by:
getParamMap
in interfaceIProcessingWrapper
-
setParamMap
Deprecated.- Specified by:
setParamMap
in interfaceIProcessingWrapper
-
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
Deprecated.- Specified by:
getProcessingKey
in interfaceIProcessing
-
getProcessingPage
Deprecated.- Specified by:
getProcessingPage
in interfaceIProcessing
-
getGuiIcon
Deprecated.- Specified by:
getGuiIcon
in interfaceIProcessing
-
getDisplayName
Deprecated.- Specified by:
getDisplayName
in interfaceINamedUiElement
- Returns:
- Wert, der das entsprechende Objekt an Oberfläche repräsentiert (wird i.A. zur Laufzeit ermittelt).
-
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.- Specified by:
getTextbausteinId
in interfaceIProcessingWrapper
-
getActionIds
Deprecated.- Specified by:
getActionIds
in interfaceIProcessingWrapper
-
setActionIds
Deprecated.- Specified by:
setActionIds
in interfaceIProcessingWrapper
-
getAktionsIdErgebnisse
Deprecated.- Specified by:
getAktionsIdErgebnisse
in interfaceIProcessingWrapper
-
getStatusId
Deprecated.- Specified by:
getStatusId
in interfaceIProcessingWrapper
-
getSourceAktionId
Deprecated.- Specified by:
getSourceAktionId
in interfaceIProcessingWrapper
-
setSourceAktionId
Deprecated.- Specified by:
setSourceAktionId
in interfaceIProcessingWrapper
-
setResource
Deprecated.- Specified by:
setResource
in interfaceIProcessingWrapper
-
getResource
Deprecated.- Specified by:
getResource
in interfaceIProcessingWrapper
-
getRessTypeEnum
Deprecated.- Specified by:
getRessTypeEnum
in interfaceIProcessingWrapper
-
getIcon
Deprecated.- Specified by:
getIcon
in interfaceIProcessing
- Returns:
- The icon ID for this action.
-
isAvailable
Deprecated.- Specified by:
isAvailable
in interfaceIProcessing
-
INodeHandler
.