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_NAMEFields 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.longDeprecated.Deprecated.Deprecated.getIcon()Deprecated.List<org.json.JSONObject>Deprecated.Deprecated.Class<?>getPluginClass(Mandant client) Deprecated.longDeprecated.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.longDeprecated.Deprecated.Gets the UUID of the state that this processing is depending onlongDeprecated.Deprecated.Gets the template UUID that may be needed for processinglongDeprecated.Deprecated.booleanDeprecated.booleanisAvailable(IEntityContext ec, Mandant man) Deprecated.booleanDeprecated.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> TDeprecated.Unwraps the wrapped processing for the given class and returns itvoidDeprecated.Wraps the action and its processingMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:IProcessingWrapperWraps the action and its processing- Specified by:
wrapForin interfaceIProcessingWrapper- Parameters:
action-Aktionto wrap processing for
-
unwrap
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
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
Deprecated.Gets the template UUID that may be needed for processing- Specified by:
getTemplateUUIDin interfaceIProcessingWrapper- Returns:
StringUUID ofTextbaustein
-
setTemplateUUID
Deprecated.Sets the template UUID that may be needed for processing- Specified by:
setTemplateUUIDin interfaceIProcessingWrapper- Parameters:
templateUUID-StringUUID ofTextbaustein
-
getResourceUuid
Deprecated.Gets the resource UUID that may be needed for processing- Specified by:
getResourceUuidin interfaceIProcessingWrapper- Returns:
StringUUID of the resource
-
setResourceUuid
Deprecated.Sets the resource UUID that may be needed for processing- Specified by:
setResourceUuidin interfaceIProcessingWrapper- Parameters:
uuid-StringUUID of the resource
-
getResourceUri
Deprecated.Gets the resource URI that may be needed for processing- Specified by:
getResourceUriin interfaceIProcessingWrapper- Returns:
StringURI of the resource
-
setResourceUri
Deprecated.Sets the resource URI that may be needed for processing- Specified by:
setResourceUriin interfaceIProcessingWrapper- Parameters:
uri-StringURI of the resource
-
getResourceType
Deprecated.Gets the type of the resource that may be needed for processing- Specified by:
getResourceTypein interfaceIProcessingWrapper- Returns:
ERessourcenTypresource type
-
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
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
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
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
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
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
Deprecated.- Specified by:
getUploadElementsin interfaceIProcessingWrapper- Returns:
Listof upload elements used by this action
-
setUploadElements
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
Deprecated.- Specified by:
getPluginClassin interfaceIProcessingWrapper
-
getParameters
Deprecated.- Specified by:
getParametersin interfaceIProcessingWrapper
-
setParameters
Deprecated.- Specified by:
setParametersin interfaceIProcessingWrapper
-
getParamMap
Deprecated.- Specified by:
getParamMapin interfaceIProcessingWrapper
-
setParamMap
Deprecated.- Specified by:
setParamMapin interfaceIProcessingWrapper
-
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
Deprecated.- Specified by:
getProcessingKeyin interfaceIProcessing
-
getProcessingPage
Deprecated.- Specified by:
getProcessingPagein interfaceIProcessing
-
getGuiIcon
Deprecated.- Specified by:
getGuiIconin interfaceIProcessing
-
getDisplayName
Deprecated.- Specified by:
getDisplayNamein 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: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.- Specified by:
getTextbausteinIdin interfaceIProcessingWrapper
-
getActionIds
Deprecated.- Specified by:
getActionIdsin interfaceIProcessingWrapper
-
setActionIds
Deprecated.- Specified by:
setActionIdsin interfaceIProcessingWrapper
-
getAktionsIdErgebnisse
Deprecated.- Specified by:
getAktionsIdErgebnissein interfaceIProcessingWrapper
-
getStatusId
Deprecated.- Specified by:
getStatusIdin interfaceIProcessingWrapper
-
getSourceAktionId
Deprecated.- Specified by:
getSourceAktionIdin interfaceIProcessingWrapper
-
setSourceAktionId
Deprecated.- Specified by:
setSourceAktionIdin interfaceIProcessingWrapper
-
setResource
Deprecated.- Specified by:
setResourcein interfaceIProcessingWrapper
-
getResource
Deprecated.- Specified by:
getResourcein interfaceIProcessingWrapper
-
getRessTypeEnum
Deprecated.- Specified by:
getRessTypeEnumin interfaceIProcessingWrapper
-
getIcon
Deprecated.- Specified by:
getIconin interfaceIProcessing- Returns:
- The icon ID for this action.
-
isAvailable
Deprecated.- Specified by:
isAvailablein interfaceIProcessing
-
INodeHandler.