Package de.xima.fc.bl.fdv.processing
Class VerarbeitungChangeStatus
- java.lang.Object
-
- de.xima.fc.bl.fdv.processing.AVerarbeitung
-
- de.xima.fc.bl.fdv.processing.VerarbeitungChangeStatus
-
- All Implemented Interfaces:
ITransferable
,INamedUiElement
,IStatusDependent
,IProcessing
,Serializable
@Embeddable public class VerarbeitungChangeStatus extends AVerarbeitung implements IStatusDependent
Diese Verarbeitung dient dazu denStatus
einesVorgang
zu setzten und somit eine Verzweigung in der regulären Workflowabarbeitung zu erzielen. Der neue Status kann wiederumAktion
en beinhalten, die vor dessen Setzen abgeabreitet werden sollen. Somit darf der WertBedingung.getWeiterverarbeitung()
derAktion
nicht aufEWeiterverarbeitung_Aktion.ABBRUCH
gesetzt sein.- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class de.xima.fc.bl.fdv.processing.AVerarbeitung
LOG
-
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 VerarbeitungChangeStatus()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected IProcessingResult
exec(IWorkflowProcessingContext wfpc, Aktion aktion)
This is the method that should implement the business logic required by this action.String
getDisplayName(Locale l)
String
getIcon()
String
getLicenseKey()
String
getProcessingKey()
String
getProcessingPage()
String
getStateNameValue()
IStatusReferenceItem
getStateRefItem()
EStatusRefType
getStateRefType()
String
getStateUUID()
Gets the UUID of the state that this processing is depending onlong
getStatusId()
Deprecated.usegetStateUUID()
insteadboolean
isShowStateNameValue()
void
setStateNameValue(String stateNameValue)
void
setStateRefItem(IStatusReferenceItem stateRefItem)
void
setStateUUID(String stateUUID)
Sets the UUID of theStatus
the form record should be in after processingvoid
setStatusId(long statusId)
Deprecated.usesetStateUUID(String)
instead-
Methods inherited from class de.xima.fc.bl.fdv.processing.AVerarbeitung
convertToLongList, execute, getDefaultProcessingPageFolder, getGuiIcon, getProcessingName, isAvailable, isFileProviding
-
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
execute, getAvailableOverrideValue, getGuiIcon, getProcessingName, isAvailable, isFileProviding, prefillProcessing
-
-
-
-
Method Detail
-
getStateUUID
public String getStateUUID()
Description copied from interface:IStatusDependent
Gets the UUID of the state that this processing is depending on- Specified by:
getStateUUID
in interfaceIStatusDependent
- Returns:
- UUID of the
Status
the form record should be in after processing
-
setStateUUID
public void setStateUUID(String stateUUID)
Sets the UUID of theStatus
the form record should be in after processing- Specified by:
setStateUUID
in interfaceIStatusDependent
- Parameters:
stateUUID
-String
UUID of the state that this processing is depending on
-
getStateNameValue
public String getStateNameValue()
-
setStateNameValue
public void setStateNameValue(String stateNameValue)
-
getStateRefType
public EStatusRefType getStateRefType()
-
getStateRefItem
public IStatusReferenceItem getStateRefItem()
-
setStateRefItem
public void setStateRefItem(IStatusReferenceItem stateRefItem)
-
isShowStateNameValue
public boolean isShowStateNameValue()
-
exec
protected IProcessingResult exec(IWorkflowProcessingContext wfpc, Aktion aktion) throws Exception
Description copied from class:AVerarbeitung
This is the method that should implement the business logic required by this action. This method is called internally byAVerarbeitung.execute(IWorkflowProcessingContext, Aktion)
.- Specified by:
exec
in classAVerarbeitung
- Parameters:
wfpc
- The current workflow processing context that should be used to execute this action.aktion
- The action entity corresponding to the action to be executed.- Throws:
Exception
- When this action could not be executed and the error could not be handled by this action.
-
getProcessingPage
public String getProcessingPage()
- Specified by:
getProcessingPage
in interfaceIProcessing
- Overrides:
getProcessingPage
in classAVerarbeitung
-
getIcon
public String getIcon()
- Specified by:
getIcon
in interfaceIProcessing
- Overrides:
getIcon
in classAVerarbeitung
- Returns:
- The icon ID for this action.
-
getDisplayName
public String getDisplayName(Locale l)
- Specified by:
getDisplayName
in interfaceINamedUiElement
- Overrides:
getDisplayName
in classAVerarbeitung
- Returns:
- Wert, der das entsprechende Objekt an Oberfläche repräsentiert (wird i.A. zur Laufzeit ermittelt).
-
getProcessingKey
public String getProcessingKey()
- Specified by:
getProcessingKey
in interfaceIProcessing
-
getLicenseKey
public String getLicenseKey()
- Specified by:
getLicenseKey
in interfaceIProcessing
-
setStatusId
@Deprecated public void setStatusId(long statusId)
Deprecated.usesetStateUUID(String)
instead
-
getStatusId
@Deprecated public long getStatusId()
Deprecated.usegetStateUUID()
instead- Specified by:
getStatusId
in interfaceIStatusDependent
- Returns:
- the status id
-
-