com.softwareag.centrasite.api.csom
Interface LCM

All Superinterfaces:
CentraSiteObject, CentraSiteRegistryObject

public interface LCM
extends CentraSiteRegistryObject

LCM is a state machine which contains a set of states and LCM is applicable to a set of CentraSiteObjecType's. LCM state assignment happen to the applicable assigned type instance only the LifeCycleModel become an active i.e State changed from New -> Productive.


Method Summary
 java.util.Collection<LCMState> getAllStates()
          Return all the state exists in the LCM.
 LCMState getInitialState()
          Initial state of LCM.
 Organization getOrganization()
          Get the Organization LCM is applicable.
 java.util.Collection<CentraSiteRegistryObjectType> getTypes()
          Return the types applicable for the current LCM.
 boolean isActive()
          find weather given LCM is active or not
 boolean isGlobal()
          find weather LCM is applicable for multiple organizations.
 
Methods inherited from interface com.softwareag.centrasite.api.csom.CentraSiteRegistryObject
getConsumers, getDescription, getDescription, getDisplayVersion, getLCMAssignment, getLocalName, getMandatoryAttributeProfiles, getName, getName, getNameSpace, getNextVersion, getNextVersions, getOwner, getPreviousVersion, getPreviousVersions, getRegistryObject, getSubscribers, getSystemVersion, getUserVersion, getVisiblePrimaryProfiles, isLatestVersionObject, setDescription, setDescription, setDisplayVersion, setLCMState, setLocalName, setName, setName, setNameSpace, setOrganization, setOwner, setUserVersion
 
Methods inherited from interface com.softwareag.centrasite.api.csom.CentraSiteObject
delete, getAttributeLink, getAttributeValue, getAttributeValue, getAttributeValue, getId, getType, isModified, isReadOnly, save, setAttributeValue, setAttributeValue, setAttributeValue
 

Method Detail

getTypes

java.util.Collection<CentraSiteRegistryObjectType> getTypes()
                                                            throws CLLException
Return the types applicable for the current LCM.

Returns:
LCM applicable CentraSiteObjectType's.
Throws:
CLLException - in case of failed to applicable types.

getInitialState

LCMState getInitialState()
                         throws CLLException
Initial state of LCM.

Returns:
LCMState
Throws:
CLLException - in case of failed to get Initial State.

getAllStates

java.util.Collection<LCMState> getAllStates()
                                            throws CLLException
Return all the state exists in the LCM.

Returns:
a collection of applicable states of LCM
Throws:
CLLException - in case of failed to get the LCMState's

isActive

boolean isActive()
                 throws CLLException
find weather given LCM is active or not

Returns:
true - in case of LCM is active other wise false.
Throws:
CLLException - in case of failed to find the weather LCM is active or not.

getOrganization

Organization getOrganization()
                             throws CLLException
Get the Organization LCM is applicable.

Specified by:
getOrganization in interface CentraSiteRegistryObject
Returns:
The Organization of the CentraSiteRegistryObject
Throws:
CLLException

isGlobal

boolean isGlobal()
                 throws CLLException
find weather LCM is applicable for multiple organizations.

Returns:
true - in case of applicable to multiple organizations other wise false.
Throws:
CLLException - in case of failed to find is belongs to global.