E
- parent data object holding the lifecycleF
- the transition choice definitionpublic interface LifecycleInterface<E extends DataObject<E>,F extends TransitionFieldChoiceDefinition<F>> extends UniqueidentifiedInterface<E>
Modifier and Type | Interface and Description |
---|---|
static interface |
LifecycleInterface.MassiveChangestate<E extends DataObject<E>,F extends TransitionFieldChoiceDefinition<F>>
This function allows the revise of a group of objects of the type,
considering all business rules.
|
UniqueidentifiedInterface.MassiveDelete<E extends DataObject<E>>, UniqueidentifiedInterface.MassiveUpdate<E extends DataObject<E>>
StoredobjectInterface.MassiveInsert<E extends DataObject<E>>
Modifier and Type | Method and Description |
---|---|
void |
changestate(ChoiceValue<F> newstate)
change the state of the object (and persists the change)
|
LifecycleInterface.MassiveChangestate<E,F> |
getMassiveChangestate() |
java.lang.String |
getState()
get the state (storage code) of the boejct
|
delete, getId, getMassiveDelete, getMassiveUpdate, update
getMassiveInsert, insert
writeObjectContent
java.lang.String getState()
void changestate(ChoiceValue<F> newstate)
newstate
- new state for the object (must be a valid transition from
current state)LifecycleInterface.MassiveChangestate<E,F> getMassiveChangestate()