com.softwareag.centrasite.appl.framework.lcm.impl
Class LCRegistryObjectStateImpl
java.lang.Object
com.softwareag.centrasite.appl.framework.lcm.impl.LCStateImpl
com.softwareag.centrasite.appl.framework.lcm.impl.LCRegistryObjectStateImpl
- All Implemented Interfaces:
- LCRegistryObjectState, LCState
public class LCRegistryObjectStateImpl
- extends LCStateImpl
- implements LCRegistryObjectState
An implementation class which adds the get and set pending state
functionality to an existing LCState implementation
Constructor Summary |
LCRegistryObjectStateImpl(com.centrasite.lcmapi.LCRegistryObjectState genericLCROState,
RegistryProvider registryProvider)
Constructor for creating LCRegistryObjectState objects from a LCState |
Methods inherited from class com.softwareag.centrasite.appl.framework.lcm.impl.LCStateImpl |
addNextStates, getDescription, getGenericState, getName, getNextStates, getPreferredNexState, getStateConcept, isTransitionAllowed, removeNextState, setDescription, setName, setPreferredNextState |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.softwareag.centrasite.appl.framework.lcm.LCState |
addNextStates, getDescription, getName, getNextStates, getPreferredNexState, getStateConcept, isTransitionAllowed, removeNextState, setDescription, setName, setPreferredNextState |
LCRegistryObjectStateImpl
public LCRegistryObjectStateImpl(com.centrasite.lcmapi.LCRegistryObjectState genericLCROState,
RegistryProvider registryProvider)
throws CSAppFrameworkException
- Constructor for creating LCRegistryObjectState objects from a LCState
- Throws:
CSAppFrameworkException
getPendingState
public LCState getPendingState()
throws CSAppFrameworkException
- Get the pending state
- Specified by:
getPendingState
in interface LCRegistryObjectState
- Returns:
- pending state as LCState, null if there is no pending state
- Throws:
CSAppFrameworkException
- - if the LCM provider encounters an internal error
isPendingStateChange
public boolean isPendingStateChange()
throws CSAppFrameworkException
- Check if the registry bean is pending state change
- Specified by:
isPendingStateChange
in interface LCRegistryObjectState
- Returns:
- true if the above condition met, false otherwise
- Throws:
CSAppFrameworkException
- - if the LCM provider encounters an internal error