|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LCModel
LC Models are state machines for Lifecycle Management and the state machines
may not have any states that cannot be reached
The LCModel
provides methods for all operations that can be
performed on an LCModel
When the LCModel becomes active, no change in the LCModel will be allowed.
Instead, a new version of the LCModel can be created using
LCModel.createVersion(). Refer to CentraSiteVMS to know more about
versioning.
Method Summary | |
---|---|
boolean |
activable(LCModelState lcModelState)
Checks whether this LC Model can be activated |
boolean |
addEnabledTypes(java.util.Collection<java.lang.String> registryTypeKeys)
Enables the registry types for the given UDDI keys for LCM with this LCModel |
boolean |
addEnabledTypes(java.util.Collection<java.lang.String> registryTypeKeys,
boolean enableAsLCMforLCM)
Enables the registry types for the given UDDI keys for LCM with this LCModel and enables this LCModel as LCM for LCModels if the enableAsLCMforLCM is specified true. |
boolean |
addStates(java.util.Collection<LCState> states)
Adds the given states to this LCModel |
LCState |
createLCState()
Creates an LCState |
LCModel |
createVersion()
Creates a new version of a given LCModel |
java.lang.String |
getDescription()
Returns the description of this LCModel |
java.lang.String |
getDisplayName()
Returns the displayName of this LCModel |
java.util.Collection<java.lang.String> |
getEnabledTypes()
Returns the UDDI keys of the enabled types for LCM with this LCModel |
LCState |
getInitialState()
Returns the initialState of this LCModel |
java.lang.String |
getKey()
Return the LCModel Key |
LCAwareClassificationScheme |
getModelClassificationScheme()
Return the ClassificationScheme |
Organization |
getOrganization()
Returns the organization to which the LCModel belongs to |
java.util.Collection<LCState> |
getStates()
Returns the states of the LCModel |
boolean |
isActive()
Checks whether the model is Active. |
boolean |
isGlobal()
Checks whether the model is global. |
boolean |
isInactive()
Checks whether the model is Inactive. |
boolean |
isLCMForLCM()
Checks whether the model is a LCM for LCM |
boolean |
isRetired()
Checks whether the model is Retired. |
boolean |
isSuperseded()
Checks whether the model is Superseded. |
boolean |
removeEnabledTypes(java.util.Collection<java.lang.String> registryTypeKeys)
Removes types for the given UDDI keys for LCM with this LCModel. |
boolean |
removeEnabledTypes(java.util.Collection<java.lang.String> registryTypeKeys,
boolean disableAsLCMforLCM)
Removes the given types for LCM with this LCModel and disables this LCModel as LCM for LCModels if the disableAsLCMforLCM is specified true. |
boolean |
removeState(LCState state)
Remove the given state from the LCModel |
void |
setDescription(java.lang.String description)
Sets the description for the model |
void |
setDisplayName(java.lang.String displayName)
Set the display name of the model |
void |
setInitialState(LCState state)
Set the initial state for the LCModel. |
void |
setLCState(LCState targetState)
Changes the life cycle state of the LCModel. |
void |
setModelState(LCModelState modelState)
Deprecated. use setLCState(LCState) |
void |
setOrganization(Organization organization,
boolean global)
Set the organization for this model |
void |
validate()
Validates this LCModel |
Method Detail |
---|
java.lang.String getDisplayName() throws CSAppFrameworkException
CSAppFrameworkException
- -
if the LCM provider encounters an internal errorjava.lang.String getDescription() throws CSAppFrameworkException
CSAppFrameworkException
- -
if the LCM provider encounters an internal errorjava.util.Collection<java.lang.String> getEnabledTypes() throws CSAppFrameworkException
CSAppFrameworkException
- -
if the LCM provider encounters an internal errorLCState getInitialState() throws CSAppFrameworkException
CSAppFrameworkException
- -
if the LCM provider encounters an internal errorOrganization getOrganization() throws CSAppFrameworkException
CSAppFrameworkException
- -
if the LCM provider encounters an internal errorjava.util.Collection<LCState> getStates() throws CSAppFrameworkException
CSAppFrameworkException
- -
if the LCM provider encounters an internal errorvoid setDisplayName(java.lang.String displayName) throws CSAppFrameworkException
displayName
-
CSAppFrameworkException
- -
if the LCM provider encounters an internal errorvoid setDescription(java.lang.String description) throws CSAppFrameworkException
description
- to be set
CSAppFrameworkException
- -
if the LCM provider encounters an internal errorvoid setOrganization(Organization organization, boolean global) throws CSAppFrameworkException
organization
- for the model
CSAppFrameworkException
- -
if the LCM provider encounters an internal errorvoid setInitialState(LCState state) throws CSAppFrameworkException
state
- to be set as the initial state for this model
CSAppFrameworkException
- if the given state is not a part of the model at the time of
calling this methodvoid setModelState(LCModelState modelState) throws CSAppFrameworkException
setLCState(LCState)
modelState
- -
LCModelState to be set
CSAppFrameworkException
- -
if the LCM provider encounters an internal errorboolean addEnabledTypes(java.util.Collection<java.lang.String> registryTypeKeys) throws CSAppFrameworkException
registryTypeKeys
- of the types to be enabled for this LCModel
CSAppFrameworkException
- -
if the LCM provider encounters an internal errorboolean addEnabledTypes(java.util.Collection<java.lang.String> registryTypeKeys, boolean enableAsLCMforLCM) throws CSAppFrameworkException
registryTypeKeys
- of the types to be enabled for this LCModelenableAsLCMforLCM
- to be enabled as LCM for LCModels
CSAppFrameworkException
- -
if the LCM provider encounters an internal errorboolean addStates(java.util.Collection<LCState> states) throws CSAppFrameworkException
states
- to be added to this LCModel
CSAppFrameworkException
boolean removeState(LCState state) throws CSAppFrameworkException
state
- The LCState that has to be removed from this LCModel
CSAppFrameworkException
- -
if the LCM provider encounters an internal errorboolean removeEnabledTypes(java.util.Collection<java.lang.String> registryTypeKeys) throws CSAppFrameworkException
registryTypeKeys
- collection of registry type keys that can be removed for LCM
CSAppFrameworkException
- -
if the LCM provider encounters an internal errorboolean removeEnabledTypes(java.util.Collection<java.lang.String> registryTypeKeys, boolean disableAsLCMforLCM) throws CSAppFrameworkException
registryTypeKeys
- collection of registry type keys of Types that can be removed
for LCMdisableAsLCMforLCM
- to be disabled as LCM for LCModels
CSAppFrameworkException
- -
if the LCM provider encounters an internal errorboolean isGlobal() throws CSAppFrameworkException
CSAppFrameworkException
- -
if the LCM provider encounters an internal errorboolean isLCMForLCM() throws CSAppFrameworkException
CSAppFrameworkException
- -
if the LCM provider encounters an internal errorvoid validate() throws CSAppFrameworkException
CSAppFrameworkException
- -
if the validation fails or if the LCM provider encounters an
internal errorboolean activable(LCModelState lcModelState) throws CSAppFrameworkException
lcModelState
-
CSAppFrameworkException
LCModel createVersion() throws CSAppFrameworkException
CSAppFrameworkException
- -
if the LCM provider encounters an internal errorLCState createLCState() throws CSAppFrameworkException
CSAppFrameworkException
- -
if the LCM provider encounters an internal errorboolean isInactive()
boolean isActive()
boolean isSuperseded()
boolean isRetired()
java.lang.String getKey() throws CSAppFrameworkException
CSAppFrameworkException
- -
if the LCM provider encounters an internal errorLCAwareClassificationScheme getModelClassificationScheme() throws CSAppFrameworkException
CSAppFrameworkException
- -
if the LCM provider encounters an internal errorvoid setLCState(LCState targetState) throws CSAppFrameworkException
targetState
-
CSAppFrameworkException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |