public class ProcessingWrapper extends Object implements IProcessingWrapper
ATTR_VERARBEITUNGSNAMEATTR_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, waitgetAvailableOverrideValue, isAvailable, prefillProcessingpublic void wrapFor(Aktion action)
IProcessingWrapperwrapFor in interface IProcessingWrapperaction - Aktion to wrap processing forpublic <T> T unwrap(Class<T> clazz)
IProcessingWrapperunwrap in interface IProcessingWrapperT - Type to unrwap toclazz - Class to unwrap forpublic boolean isWrapperFor(Class<?> clazz)
IProcessingWrapperisWrapperFor in interface IProcessingWrapperclazz - Class to checktrue if the wrapped processing is assignable from the given classpublic String getTemplateUUID()
getTemplateUUID in interface IProcessingWrapperString UUID of Textbausteinpublic void setTemplateUUID(String templateUUID)
setTemplateUUID in interface IProcessingWrappertemplateUUID - String UUID of Textbausteinpublic String getResourceUuid()
getResourceUuid in interface IProcessingWrapperString UUID of the resourcepublic void setResourceUuid(String uuid)
setResourceUuid in interface IProcessingWrapperuuid - String UUID of the resourcepublic String getResourceUri()
getResourceUri in interface IProcessingWrapperString URI of the resourcepublic void setResourceUri(String uri)
setResourceUri in interface IProcessingWrapperuri - String URI of the resourcepublic ERessourcenTyp getResourceType()
getResourceType in interface IProcessingWrapperERessourcenTyp resource typepublic List<String> getActionUUIDs()
IProcessingWrappergetActionUUIDs in interface IProcessingWrapperList of Aktion.getUUID()spublic void setActionUUIDs(List<String> uuids)
IProcessingWrappersetActionUUIDs in interface IProcessingWrapperuuids - List of Aktion.getUUID()spublic String getStateUUID()
IProcessingWrappergetStateUUID in interface IProcessingWrapperString UUID of the state that this processing is depending onpublic void setStateUUID(String uuid)
IProcessingWrappersetStateUUID in interface IProcessingWrapperuuid - String UUID of the state that this processing is depending onpublic String getActionUUID()
IProcessingWrappergetActionUUID in interface IProcessingWrapperAktion.getUUID()public void setActionUUID(String uuid)
IProcessingWrappersetActionUUID in interface IProcessingWrapperuuid - Aktion.getUUID()public long getDbConnectionId()
getDbConnectionId in interface IProcessingWrapperLong ID of the DB connection used by this actionpublic List<String> getUploadElements()
getUploadElements in interface IProcessingWrapperList of upload elements used by this actionpublic void setUploadElements(List<String> uploadElements)
IProcessingWrappersetUploadElements in interface IProcessingWrapperuploadElements - List of upload elementspublic boolean isAttachToFormRecord()
isAttachToFormRecord in interface IProcessingWrapperBoolean whether or not files should be attached to the form recordpublic void setAttachToFormRecord(boolean attachToFormRecord)
IProcessingWrappersetAttachToFormRecord in interface IProcessingWrapperattachToFormRecord - Booleanpublic long getPostfachId()
getPostfachId in interface IProcessingWrapperLong the inbox id being used by this actionpublic Class<?> getPluginClass(Mandant client)
getPluginClass in interface IProcessingWrapperpublic List<org.json.JSONObject> getParameters()
getParameters in interface IProcessingWrapperpublic void setParameters(List<org.json.JSONObject> parameters)
setParameters in interface IProcessingWrapperpublic Map<String,String> getParamMap()
getParamMap in interface IProcessingWrapperpublic void setParamMap(Map<String,String> parameters)
setParamMap in interface IProcessingWrapperpublic String getProcessingName()
IProcessinggetProcessingName in interface IProcessingpublic boolean isFileProviding()
IProcessingisFileProviding in interface IProcessingtrue, wenn die Aktion eine Datei bereitstelltpublic String getProcessingKey()
getProcessingKey in interface IProcessingpublic String getProcessingPage()
getProcessingPage in interface IProcessingpublic IGuiIcon getGuiIcon()
getGuiIcon in interface IProcessingpublic String getDisplayName(Locale l)
getDisplayName in interface INamedUiElementpublic IProcessingResult execute(IWorkflowProcessingContext wfpc, Aktion aktion) throws WorkflowProcessingException
IProcessingde.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 IProcessingwfpc - the current IWorkflowProcessingContextaktion - the current AktionWorkflowProcessingException - 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 IProcessingCopyright © 2020 XIMA MEDIA GmbH. All rights reserved.