Package ch.ivyteam.ivy.workflow
Enum Class CaseState
- All Implemented Interfaces:
ch.ivyteam.ivy.persistence.IPersistentEnumeration
,Serializable
,Comparable<CaseState>
,java.lang.constant.Constable
public enum CaseState
extends Enum<CaseState>
implements ch.ivyteam.ivy.persistence.IPersistentEnumeration
The state of the case
- Since:
- 17.05.2006
- API:
- This is a public API.
-
Enum Constant Summary
Enum ConstantDescriptionCreated means the Case has bean started and is currently in progress in its first Task.Destroyed means somebody destroyed the case, in order to stop any work on it.Done means all Tasks of the Case are done.Running means the Case is in progress.Deprecated, for removal: This API element is subject to removal in a future version.not used anymore. -
Method Summary
Modifier and TypeMethodDescriptionReturns the business state of this state.
-
Enum Constant Details
-
CREATED
Created means the Case has bean started and is currently in progress in its first Task. When the first task is finished, it becomes either
RUNNING
if it has other Tasks orDONE
if it had only this one Task. If the user does not finish the first Task (eg. Session Timeout) the Case becomes aZOMBIE
Database Value:
0
- API:
- This public API is available in Java.
-
RUNNING
Running means the Case is in progress. The Case has at least one Task which is not yet finished.
Database Value:
1
- API:
- This public API is available in Java.
-
DONE
Done means all Tasks of the Case are done. There is no work left for this case.
Database Value:
2
- API:
- This public API is available in Java.
-
DESTROYED
Destroyed means somebody destroyed the case, in order to stop any work on it. A Case can be destroyed by calling the
ICase.destroy()
method, or by destroying all running tasks of the Case.Database Value:
3
- API:
- This public API is available in Java.
-
ZOMBIE
Deprecated, for removal: This API element is subject to removal in a future version.not used anymore. cases which become zombies will be deleted.- API:
- This public API is available in Java.
-
-
Method Details
-
getBusinessState
Returns the business state of this state.- Returns:
- business state.
- API:
- This public API is available in Java.
-