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 IProcessingResultexecute(IWorkflowProcessingContext wfpc, Aktion aktion)Deprecated.Diese Methode dient dazu, die konkrete Aktionsverarbeitung zu implementieren.List<Long>getActionIds()Deprecated.StringgetActionUUID()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.longgetDbConnectionId()Deprecated.StringgetDisplayName(Locale l)Deprecated.The display name of this element in the given locale.IGuiIcongetGuiIcon()Deprecated.StringgetIcon()Deprecated.List<org.json.JSONObject>getParameters()Deprecated.Map<String,String>getParamMap()Deprecated.Class<?>getPluginClass(Mandant client)Deprecated.longgetPostfachId()Deprecated.StringgetProcessingKey()Deprecated.StringgetProcessingName()Deprecated.Diese Methode dient dazu, den Namen der Klasse zu repräsentierten, die der Client anfordern kann.StringgetProcessingPage()Deprecated.StringgetResource()Deprecated.ERessourcenTypgetResourceType()Deprecated.Gets the type of the resource that may be needed for processingStringgetResourceUri()Deprecated.Gets the resource URI that may be needed for processingStringgetResourceUuid()Deprecated.Gets the resource UUID that may be needed for processingERessourcenTypgetRessTypeEnum()Deprecated.longgetSourceAktionId()Deprecated.StringgetStateUUID()Deprecated.Gets the UUID of the state that this processing is depending onlonggetStatusId()Deprecated.StringgetTemplateUUID()Deprecated.Gets the template UUID that may be needed for processinglonggetTextbausteinId()Deprecated.List<String>getUploadElements()Deprecated.booleanisAttachToFormRecord()Deprecated.booleanisAvailable(IEntityContext ec, Mandant man)Deprecated.booleanisFileProviding()Deprecated.Diese Methode dient dazu, anzugeben ob diese AktionsVerarbeitung eine erstellende Aktion ist.booleanisWrapperFor(Class<?> clazz)Deprecated.Determines whether or not this instance is a wrapper for the given classvoidsetActionIds(List<Long> actionIds)Deprecated.voidsetActionUUID(String uuid)Deprecated.Sets the UUID of the action that will be consumed by this actionvoidsetActionUUIDs(List<String> uuids)Deprecated.Sets the UUIDs of the actions that will be consumed by this actionvoidsetAttachToFormRecord(boolean attachToFormRecord)Deprecated.Sets whether or not files should be attached to the form recordvoidsetParameters(List<org.json.JSONObject> parameters)Deprecated.voidsetParamMap(Map<String,String> parameters)Deprecated.voidsetResource(String resource)Deprecated.voidsetResourceUri(String uri)Deprecated.Sets the resource URI that may be needed for processingvoidsetResourceUuid(String uuid)Deprecated.Sets the resource UUID that may be needed for processingvoidsetSourceAktionId(long sourceAktionId)Deprecated.voidsetStateUUID(String uuid)Deprecated.Sets the UUID of the state that this processing is depending onvoidsetTemplateUUID(String templateUUID)Deprecated.Sets the template UUID that may be needed for processingvoidsetUploadElements(List<String> uploadElements)Deprecated.Sets the list of upload elements that should be used by this action<T> Tunwrap(Class<T> clazz)Deprecated.Unwraps the wrapped processing for the given class and returns itvoidwrapFor(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:IProcessingWrapperWraps the action and its processing- Specified by:
wrapForin interfaceIProcessingWrapper- Parameters:
action-Aktionto wrap processing for
-
unwrap
public <T> T unwrap(Class<T> clazz)
Deprecated.Description copied from interface:IProcessingWrapperUnwraps the wrapped processing for the given class and returns it- Specified by:
unwrapin interfaceIProcessingWrapper- Type Parameters:
T- Type to unrwap to- Parameters:
clazz-Classto unwrap for- Returns:
- unwrapped processing
-
isWrapperFor
public boolean isWrapperFor(Class<?> clazz)
Deprecated.Description copied from interface:IProcessingWrapperDetermines whether or not this instance is a wrapper for the given class- Specified by:
isWrapperForin interfaceIProcessingWrapper- Parameters:
clazz-Classto check- Returns:
trueif 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:
getTemplateUUIDin interfaceIProcessingWrapper- Returns:
StringUUID ofTextbaustein
-
setTemplateUUID
public void setTemplateUUID(String templateUUID)
Deprecated.Sets the template UUID that may be needed for processing- Specified by:
setTemplateUUIDin interfaceIProcessingWrapper- Parameters:
templateUUID-StringUUID ofTextbaustein
-
getResourceUuid
public String getResourceUuid()
Deprecated.Gets the resource UUID that may be needed for processing- Specified by:
getResourceUuidin interfaceIProcessingWrapper- Returns:
StringUUID of the resource
-
setResourceUuid
public void setResourceUuid(String uuid)
Deprecated.Sets the resource UUID that may be needed for processing- Specified by:
setResourceUuidin interfaceIProcessingWrapper- Parameters:
uuid-StringUUID of the resource
-
getResourceUri
public String getResourceUri()
Deprecated.Gets the resource URI that may be needed for processing- Specified by:
getResourceUriin interfaceIProcessingWrapper- Returns:
StringURI of the resource
-
setResourceUri
public void setResourceUri(String uri)
Deprecated.Sets the resource URI that may be needed for processing- Specified by:
setResourceUriin interfaceIProcessingWrapper- Parameters:
uri-StringURI of the resource
-
getResourceType
public ERessourcenTyp getResourceType()
Deprecated.Gets the type of the resource that may be needed for processing- Specified by:
getResourceTypein interfaceIProcessingWrapper- Returns:
ERessourcenTypresource type
-
getActionUUIDs
public List<String> getActionUUIDs()
Deprecated.Description copied from interface:IProcessingWrapperGets the UUIDs of the actions that will be consumed by this action- Specified by:
getActionUUIDsin interfaceIProcessingWrapper- Returns:
ListofAktion.getUUID()s
-
setActionUUIDs
public void setActionUUIDs(List<String> uuids)
Deprecated.Description copied from interface:IProcessingWrapperSets the UUIDs of the actions that will be consumed by this action- Specified by:
setActionUUIDsin interfaceIProcessingWrapper- Parameters:
uuids-ListofAktion.getUUID()s
-
getStateUUID
public String getStateUUID()
Deprecated.Description copied from interface:IProcessingWrapperGets the UUID of the state that this processing is depending on- Specified by:
getStateUUIDin interfaceIProcessingWrapper- Returns:
StringUUID of the state that this processing is depending on
-
setStateUUID
public void setStateUUID(String uuid)
Deprecated.Description copied from interface:IProcessingWrapperSets the UUID of the state that this processing is depending on- Specified by:
setStateUUIDin interfaceIProcessingWrapper- Parameters:
uuid-StringUUID of the state that this processing is depending on
-
getActionUUID
public String getActionUUID()
Deprecated.Description copied from interface:IProcessingWrapperGets the UUID of the action that will be consumed by this action- Specified by:
getActionUUIDin interfaceIProcessingWrapper- Returns:
Aktion.getUUID()
-
setActionUUID
public void setActionUUID(String uuid)
Deprecated.Description copied from interface:IProcessingWrapperSets the UUID of the action that will be consumed by this action- Specified by:
setActionUUIDin interfaceIProcessingWrapper- Parameters:
uuid-Aktion.getUUID()
-
getDbConnectionId
public long getDbConnectionId()
Deprecated.- Specified by:
getDbConnectionIdin interfaceIProcessingWrapper- Returns:
LongID of the DB connection used by this action
-
getUploadElements
public List<String> getUploadElements()
Deprecated.- Specified by:
getUploadElementsin interfaceIProcessingWrapper- Returns:
Listof upload elements used by this action
-
setUploadElements
public void setUploadElements(List<String> uploadElements)
Deprecated.Description copied from interface:IProcessingWrapperSets the list of upload elements that should be used by this action- Specified by:
setUploadElementsin interfaceIProcessingWrapper- Parameters:
uploadElements-Listof upload elements
-
isAttachToFormRecord
public boolean isAttachToFormRecord()
Deprecated.- Specified by:
isAttachToFormRecordin interfaceIProcessingWrapper- Returns:
Booleanwhether or not files should be attached to the form record
-
setAttachToFormRecord
public void setAttachToFormRecord(boolean attachToFormRecord)
Deprecated.Description copied from interface:IProcessingWrapperSets whether or not files should be attached to the form record- Specified by:
setAttachToFormRecordin interfaceIProcessingWrapper- Parameters:
attachToFormRecord-Boolean
-
getPostfachId
public long getPostfachId()
Deprecated.- Specified by:
getPostfachIdin interfaceIProcessingWrapper- Returns:
Longthe inbox id being used by this action
-
getPluginClass
public Class<?> getPluginClass(Mandant client)
Deprecated.- Specified by:
getPluginClassin interfaceIProcessingWrapper
-
getParameters
public List<org.json.JSONObject> getParameters()
Deprecated.- Specified by:
getParametersin interfaceIProcessingWrapper
-
setParameters
public void setParameters(List<org.json.JSONObject> parameters)
Deprecated.- Specified by:
setParametersin interfaceIProcessingWrapper
-
getParamMap
public Map<String,String> getParamMap()
Deprecated.- Specified by:
getParamMapin interfaceIProcessingWrapper
-
setParamMap
public void setParamMap(Map<String,String> parameters)
Deprecated.- Specified by:
setParamMapin interfaceIProcessingWrapper
-
getProcessingName
public String getProcessingName()
Deprecated.Description copied from interface:IProcessingDiese Methode dient dazu, den Namen der Klasse zu repräsentierten, die der Client anfordern kann.- Specified by:
getProcessingNamein interfaceIProcessing- Returns:
- Zeichenkette mit dem Namen der Klasse: (this.getClass().getCanonicalName())
-
isFileProviding
public boolean isFileProviding()
Deprecated.Description copied from interface:IProcessingDiese Methode dient dazu, anzugeben ob diese AktionsVerarbeitung eine erstellende Aktion ist.- Specified by:
isFileProvidingin interfaceIProcessing- Returns:
true, wenn die Aktion eine Datei bereitstellt
-
getProcessingKey
public String getProcessingKey()
Deprecated.- Specified by:
getProcessingKeyin interfaceIProcessing
-
getProcessingPage
public String getProcessingPage()
Deprecated.- Specified by:
getProcessingPagein interfaceIProcessing
-
getGuiIcon
public IGuiIcon getGuiIcon()
Deprecated.- Specified by:
getGuiIconin interfaceIProcessing
-
getDisplayName
public String getDisplayName(Locale l)
Deprecated.Description copied from interface:INamedUiElementThe display name of this element in the given locale.- Specified by:
getDisplayNamein 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:IProcessingDiese 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.WorkflowProcessingContextgenutzt werden. Ein solcherWorkflowProcessingContextist 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:
executein interfaceIProcessing- Parameters:
wfpc- the currentIWorkflowProcessingContextaktion- the currentAktion- Throws:
WorkflowProcessingException- wenn ein Fehler in der konkreten Verarbeitung auftritt
-
getTextbausteinId
@Deprecated public long getTextbausteinId()
Deprecated.- Specified by:
getTextbausteinIdin interfaceIProcessingWrapper
-
getActionIds
@Deprecated public List<Long> getActionIds()
Deprecated.- Specified by:
getActionIdsin interfaceIProcessingWrapper
-
setActionIds
@Deprecated public void setActionIds(List<Long> actionIds)
Deprecated.- Specified by:
setActionIdsin interfaceIProcessingWrapper
-
getAktionsIdErgebnisse
@Deprecated public List<Integer> getAktionsIdErgebnisse()
Deprecated.- Specified by:
getAktionsIdErgebnissein interfaceIProcessingWrapper
-
getStatusId
@Deprecated public long getStatusId()
Deprecated.- Specified by:
getStatusIdin interfaceIProcessingWrapper
-
getSourceAktionId
@Deprecated public long getSourceAktionId()
Deprecated.- Specified by:
getSourceAktionIdin interfaceIProcessingWrapper
-
setSourceAktionId
@Deprecated public void setSourceAktionId(long sourceAktionId)
Deprecated.- Specified by:
setSourceAktionIdin interfaceIProcessingWrapper
-
setResource
@Deprecated public void setResource(String resource)
Deprecated.- Specified by:
setResourcein interfaceIProcessingWrapper
-
getResource
@Deprecated public String getResource()
Deprecated.- Specified by:
getResourcein interfaceIProcessingWrapper
-
getRessTypeEnum
@Deprecated public ERessourcenTyp getRessTypeEnum()
Deprecated.- Specified by:
getRessTypeEnumin interfaceIProcessingWrapper
-
getIcon
@Deprecated public String getIcon()
Deprecated.- Specified by:
getIconin interfaceIProcessing- Returns:
- The icon ID for this action.
-
isAvailable
public boolean isAvailable(IEntityContext ec, Mandant man)
Deprecated.- Specified by:
isAvailablein interfaceIProcessing
-
-