public class ProcessingWrapper extends Object implements IProcessingWrapper
ATTR_VERARBEITUNGSNAME
ATTR_DISPLAY_NAME
Constructor and Description |
---|
ProcessingWrapper() |
Modifier and Type | Method and Description |
---|---|
IProcessingResult |
execute(IWorkflowProcessingContext wfpc,
Aktion aktion)
Diese Methode dient dazu, die konkrete Aktionsverarbeitung zu implementieren.
|
List<Long> |
getActionIds()
Deprecated.
|
String |
getActionUUID()
Gets the UUID of the action that will be consumed by this action
|
List<String> |
getActionUUIDs()
Gets the UUIDs of the actions that will be consumed by this action
|
List<Integer> |
getAktionsIdErgebnisse()
Deprecated.
|
long |
getDbConnectionId() |
String |
getDisplayName(Locale l) |
IGuiIcon |
getGuiIcon() |
String |
getIcon()
Deprecated.
|
List<org.json.JSONObject> |
getParameters() |
Map<String,String> |
getParamMap() |
Class<?> |
getPluginClass(Mandant client) |
long |
getPostfachId() |
String |
getProcessingKey() |
String |
getProcessingName()
Diese Methode dient dazu, den Namen der Klasse zu repräsentierten, die der Client anfordern kann.
|
String |
getProcessingPage() |
String |
getResource()
Deprecated.
|
ERessourcenTyp |
getResourceType()
Gets the type of the resource that may be needed for processing
|
String |
getResourceUri()
Gets the resource URI that may be needed for processing
|
String |
getResourceUuid()
Gets the resource UUID that may be needed for processing
|
ERessourcenTyp |
getRessTypeEnum()
Deprecated.
|
long |
getSourceAktionId()
Deprecated.
|
String |
getStateUUID()
Gets the UUID of the state that this processing is depending on
|
long |
getStatusId()
Deprecated.
|
String |
getTemplateUUID()
Gets the template UUID that may be needed for processing
|
long |
getTextbausteinId()
Deprecated.
|
List<String> |
getUploadElements() |
boolean |
isAttachToFormRecord() |
boolean |
isFileProviding()
Diese Methode dient dazu, anzugeben ob diese AktionsVerarbeitung eine erstellende Aktion ist.
|
boolean |
isWrapperFor(Class<?> clazz)
Determines whether or not this instance is a wrapper for the given class
|
void |
setActionIds(List<Long> actionIds)
Deprecated.
|
void |
setActionUUID(String uuid)
Sets the UUID of the action that will be consumed by this action
|
void |
setActionUUIDs(List<String> uuids)
Sets the UUIDs of the actions that will be consumed by this action
|
void |
setAttachToFormRecord(boolean attachToFormRecord)
Sets whether or not files should be attached to the form record
|
void |
setParameters(List<org.json.JSONObject> parameters) |
void |
setParamMap(Map<String,String> parameters) |
void |
setResource(String resource)
Deprecated.
|
void |
setResourceUri(String uri)
Sets the resource URI that may be needed for processing
|
void |
setResourceUuid(String uuid)
Sets the resource UUID that may be needed for processing
|
void |
setSourceAktionId(long sourceAktionId)
Deprecated.
|
void |
setStateUUID(String uuid)
Sets the UUID of the state that this processing is depending on
|
void |
setTemplateUUID(String templateUUID)
Sets the template UUID that may be needed for processing
|
void |
setUploadElements(List<String> uploadElements)
Sets the list of upload elements that should be used by this action
|
<T> T |
unwrap(Class<T> clazz)
Unwraps the wrapped processing for the given class and returns it
|
void |
wrapFor(Aktion action)
Wraps the action and its processing
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAvailableOverrideValue, isAvailable, prefillProcessing
public void wrapFor(Aktion action)
IProcessingWrapper
wrapFor
in interface IProcessingWrapper
action
- Aktion
to wrap processing forpublic <T> T unwrap(Class<T> clazz)
IProcessingWrapper
unwrap
in interface IProcessingWrapper
T
- Type to unrwap toclazz
- Class
to unwrap forpublic boolean isWrapperFor(Class<?> clazz)
IProcessingWrapper
isWrapperFor
in interface IProcessingWrapper
clazz
- Class
to checktrue
if the wrapped processing is assignable from the given classpublic String getTemplateUUID()
getTemplateUUID
in interface IProcessingWrapper
String
UUID of Textbaustein
public void setTemplateUUID(String templateUUID)
setTemplateUUID
in interface IProcessingWrapper
templateUUID
- String
UUID of Textbaustein
public String getResourceUuid()
getResourceUuid
in interface IProcessingWrapper
String
UUID of the resourcepublic void setResourceUuid(String uuid)
setResourceUuid
in interface IProcessingWrapper
uuid
- String
UUID of the resourcepublic String getResourceUri()
getResourceUri
in interface IProcessingWrapper
String
URI of the resourcepublic void setResourceUri(String uri)
setResourceUri
in interface IProcessingWrapper
uri
- String
URI of the resourcepublic ERessourcenTyp getResourceType()
getResourceType
in interface IProcessingWrapper
ERessourcenTyp
resource typepublic List<String> getActionUUIDs()
IProcessingWrapper
getActionUUIDs
in interface IProcessingWrapper
List
of Aktion.getUUID()
spublic void setActionUUIDs(List<String> uuids)
IProcessingWrapper
setActionUUIDs
in interface IProcessingWrapper
uuids
- List
of Aktion.getUUID()
spublic String getStateUUID()
IProcessingWrapper
getStateUUID
in interface IProcessingWrapper
String
UUID of the state that this processing is depending onpublic void setStateUUID(String uuid)
IProcessingWrapper
setStateUUID
in interface IProcessingWrapper
uuid
- String
UUID of the state that this processing is depending onpublic String getActionUUID()
IProcessingWrapper
getActionUUID
in interface IProcessingWrapper
Aktion.getUUID()
public void setActionUUID(String uuid)
IProcessingWrapper
setActionUUID
in interface IProcessingWrapper
uuid
- Aktion.getUUID()
public long getDbConnectionId()
getDbConnectionId
in interface IProcessingWrapper
Long
ID of the DB connection used by this actionpublic List<String> getUploadElements()
getUploadElements
in interface IProcessingWrapper
List
of upload elements used by this actionpublic void setUploadElements(List<String> uploadElements)
IProcessingWrapper
setUploadElements
in interface IProcessingWrapper
uploadElements
- List
of upload elementspublic boolean isAttachToFormRecord()
isAttachToFormRecord
in interface IProcessingWrapper
Boolean
whether or not files should be attached to the form recordpublic void setAttachToFormRecord(boolean attachToFormRecord)
IProcessingWrapper
setAttachToFormRecord
in interface IProcessingWrapper
attachToFormRecord
- Boolean
public long getPostfachId()
getPostfachId
in interface IProcessingWrapper
Long
the inbox id being used by this actionpublic Class<?> getPluginClass(Mandant client)
getPluginClass
in interface IProcessingWrapper
public List<org.json.JSONObject> getParameters()
getParameters
in interface IProcessingWrapper
public void setParameters(List<org.json.JSONObject> parameters)
setParameters
in interface IProcessingWrapper
public Map<String,String> getParamMap()
getParamMap
in interface IProcessingWrapper
public void setParamMap(Map<String,String> parameters)
setParamMap
in interface IProcessingWrapper
public String getProcessingName()
IProcessing
getProcessingName
in interface IProcessing
public boolean isFileProviding()
IProcessing
isFileProviding
in interface IProcessing
true
, wenn die Aktion eine Datei bereitstelltpublic String getProcessingKey()
getProcessingKey
in interface IProcessing
public String getProcessingPage()
getProcessingPage
in interface IProcessing
public IGuiIcon getGuiIcon()
getGuiIcon
in interface IProcessing
public String getDisplayName(Locale l)
getDisplayName
in interface INamedUiElement
public IProcessingResult execute(IWorkflowProcessingContext wfpc, Aktion aktion) throws WorkflowProcessingException
IProcessing
de.xima.fc.bl.fdv.WorkflowProcessingContext
genutzt werden. Ein solcher
WorkflowProcessingContext
ist zugreifbar über den
de.xima.fc.bl.fdv.WorkflowProcessingContextManager
. Beispiel für die Nutzung des
WorkflowProcessingContextManager
:
WorkflowProcessingContext processingContext = WorkflowProcessingContextManager.getInstance().getContext(v); List<Object> values = processingContext.allValues(aktionIdErgebnis); Object value = processingContext.valuesByKey(aktionIdErgebnis, "key");
execute
in interface IProcessing
wfpc
- the current IWorkflowProcessingContext
aktion
- the current Aktion
WorkflowProcessingException
- wenn ein Fehler in der konkreten Verarbeitung auftritt@Deprecated public long getTextbausteinId()
getTextbausteinId
in interface IProcessingWrapper
@Deprecated public List<Long> getActionIds()
getActionIds
in interface IProcessingWrapper
@Deprecated public void setActionIds(List<Long> actionIds)
setActionIds
in interface IProcessingWrapper
@Deprecated public List<Integer> getAktionsIdErgebnisse()
getAktionsIdErgebnisse
in interface IProcessingWrapper
@Deprecated public long getStatusId()
getStatusId
in interface IProcessingWrapper
@Deprecated public long getSourceAktionId()
getSourceAktionId
in interface IProcessingWrapper
@Deprecated public void setSourceAktionId(long sourceAktionId)
setSourceAktionId
in interface IProcessingWrapper
@Deprecated public void setResource(String resource)
setResource
in interface IProcessingWrapper
@Deprecated public String getResource()
getResource
in interface IProcessingWrapper
@Deprecated public ERessourcenTyp getRessTypeEnum()
getRessTypeEnum
in interface IProcessingWrapper
@Deprecated public String getIcon()
getIcon
in interface IProcessing
Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.