public interface LCMState extends CentraSiteRegistryObject
Modifier and Type | Method and Description |
---|---|
java.util.Collection<LCMState> |
getAllowedNextStates()
The next applicable state of the registry object.
|
LCMState |
getAllowedPreferredNextState()
The next preferred state for the registry object.
|
LCM |
getLCM()
Return the LCM to which the state belongs.
|
getConsumers, getDescription, getDescription, getDisplayVersion, getLCMAssignment, getLocalName, getMandatoryAttributeProfiles, getName, getName, getNameSpace, getNextVersion, getNextVersions, getOrganization, getOwner, getPendingApprovals, getPreviousVersion, getPreviousVersions, getRegistryObject, getSubscribers, getSystemVersion, getTitle, getUserVersion, getVisiblePrimaryProfiles, getVisibleProfile, isDeployedOn, isLatestVersionObject, isPropagatePermissions, isPropagateProfilePermissions, setDescription, setDescription, setDisplayVersion, setLCMState, setLocalName, setName, setName, setNameSpace, setOrganization, setOwner, setPropagatePermissions, setPropagateProfilePermissions, setUserVersion
delete, getAttributeLink, getAttributeValue, getAttributeValue, getAttributeValue, getId, getType, isModified, isReadOnly, save, setAttributeValue, setAttributeValue, setAttributeValue
java.util.Collection<LCMState> getAllowedNextStates() throws CLLException
+----------------------------+ | A --> B --> C --> D | | Initial End | +----------------------------+ The above Life Cycle Model contains the states called A, B, C and D. If the current state is B next allowed states are C.
+----------------------------+ | Initial End | | A --> B --> C --> E | | | | | V | | D | +----------------------------+ The above Life Cycle Model contains the states called A, B, C, D and E. In this case, if the current state is B next allowed states are C and D.
Collection
of LCMState
instances. In case the current LCMState is the last state, then returns null.CLLException
- In case of a failure to get the allowed next states.LCMState getAllowedPreferredNextState() throws CLLException
+----------------------------+ | A --> B --> C --> D | | Initial End | +----------------------------+ The above Life Cycle Model contains the states called A, B, C and D. If the current state is B then the preferred next state is C.
LCMState
. In case the current LCMState is the last state, then returns null.CLLException
- In case of a failure to get the preferred next state.LCM getLCM() throws CLLException
LCM
instance to which the LCMState belongs.CLLException
- In case of a failure to get the LCM.