|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LifeCycle
Document life cycle.
LifeCycleImpl
Method Summary | |
---|---|
Collection<String> |
getAllowedStateTransitionsFrom(String stateName)
Gets the allowed state transitions from a given state. |
String |
getDefaultInitialStateName()
Returns the default initial state name. |
Collection<String> |
getInitialStateNames()
Returns the list of allowed initial state names. |
String |
getName()
Gets the life cycle name. |
LifeCycleState |
getStateByName(String stateName)
Returns a life cycle state instance given its name. |
Collection<LifeCycleState> |
getStates()
Returns the list of life cycle state instances. |
LifeCycleTransition |
getTransitionByName(String transitionName)
Returns a life cycle transition instance given its name. |
Collection<LifeCycleTransition> |
getTransitions()
Returns a list of life cycle transition instances. |
Method Detail |
---|
Collection<String> getAllowedStateTransitionsFrom(String stateName) throws LifeCycleException
stateName
- the current state name
LifeCycleException
String getDefaultInitialStateName()
Collection<String> getInitialStateNames()
String getName()
LifeCycleState getStateByName(String stateName)
stateName
- the state name
Collection<LifeCycleState> getStates()
LifeCycleTransition getTransitionByName(String transitionName)
transitionName
- the transition name
Collection<LifeCycleTransition> getTransitions()
|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |