public interface LCMStateAssignment
Modifier and Type | Method and Description |
---|---|
LCMState |
getCurrentState()
Currently assigned state of the registry object.
|
LCMState |
getLCMStateById(java.lang.String lcmIStateID)
Gets the LCMState by its id.
|
java.lang.String |
getName()
Returns the value of
CentraSiteRegistryObject.getName() . |
java.lang.String |
getName(java.util.Locale locale)
Returns
getName(Locale) specific to given locale. |
LCMState |
getPendingState()
Returns the pending state of the registry objects, if it exists, otherwise returns null.
|
boolean |
isPending()
Check if the registry object is in pending state or not.
|
java.lang.String getName() throws CLLException
CentraSiteRegistryObject.getName()
. In case the next state transition is
in pending, then the label is enclosed with Pending i.e Pending(State).CentraSiteRegistryObject.getName()
, but in case next state transition is
in pending then it is enclosed with the text Pending(CentraSiteRegistryObject.getName()
)CLLException
- In case of a failure to get the Name.java.lang.String getName(java.util.Locale locale) throws CLLException
getName(Locale)
specific to given locale.locale
- Locale
to which getName()
value needs to be rendered.getName(Locale)
for the given localeCLLException
- In case of a failure to get the name for given localeLCMState getCurrentState() throws CLLException
LCMState
or null if there is no match with the given IDCLLException
- In case of a failure to get the current assigned state.LCMState getPendingState() throws CLLException
LCMState
instance for the pending state of the registry object in case that state is exists, otherwise null.CLLException
- In case of a failure to get the pending state.LCMState getLCMStateById(java.lang.String lcmIStateID) throws CLLException
lcmIStateID
- The id for the LCMStateLCMState
for the given lcmIStateIDCLLException
- In case of a failure to get the LCM state by the given state ID.boolean isPending()