public interface LCMAdminManager
Modifier and Type | Method and Description |
---|---|
LCMNode |
createLCMNode()
Creates an LCMNode for the Life cycle management
|
LCModel |
createLCModel()
Creates an LCModel
|
LCState |
createLCState()
Creates an LCState
|
LCModel |
createVersion(LCModel lcModel)
Creates a new version of a given LCModel
|
void |
deleteLCMNode(LCMNode lcmNode)
Deletes the given LCMNode
|
void |
deleteLCModel(LCModel lcModel)
Deletes the given LCModel.
|
void |
deleteLCModel(LCModel lcModel,
boolean purge)
Deletes the given LCModel.
|
void |
saveLCMNode(LCMNode lcmNode)
Saves the given LCMNode
|
void |
saveLCModel(LCModel lcModel)
Saves the given LCModel.
|
void |
saveLCModel(LCModel lcModel,
boolean isNewVersion)
Saves the given LCModel
Additionally if this model is a new version of an older model,
copies the policies associated to the old version states to the newer version
|
LCMNode createLCMNode() throws LCMException
LCMException
- if the LCM provider encounters an internal error while creating the LCMNodeLCModel createLCModel() throws LCMException
LCMException
- if the LCM provider encounters an internal error while creating the LCModelLCModel createVersion(LCModel lcModel) throws LCMException
lcModel
- the model for which the new version is to be createdLCMException
- if the LCM provider encounters an internal error while creating version of the LCModelLCState createLCState() throws LCMException
LCMException
- if the LCM provider encounters an internal error while creating LCStatevoid deleteLCMNode(LCMNode lcmNode) throws LCMException
lcmNode
- the lcmNode to be deletedLCMException
- if the LCM provider encounters an internal error while deleting LCMNodevoid deleteLCModel(LCModel lcModel) throws LCMException
lcModel
- the lcModel to be deletedLCMException
- if the LCM provider encounters an internal error while deleting LCModelvoid deleteLCModel(LCModel lcModel, boolean purge) throws LCMException
lcModel
- the lcModel to be deletedpurge
- If 'yes' then all the versions of the Lifecycle Model will be deleted.
Otherwise deletes only the latest version of the Lifecycle ModelLCMException
- if the LCM provider encounters an internal error while deleting the LCModelvoid saveLCMNode(LCMNode lcmNode) throws LCMException
lcmNode
- the LCMNode to be savedLCMException
- if the LCM provider encounters an internal error while persisting the LCMNodevoid saveLCModel(LCModel lcModel) throws LCMException
lcModel
- the LCModel to be savedLCMException
- if the LCM provider encounters an internal error while persisting the LCModelvoid saveLCModel(LCModel lcModel, boolean isNewVersion) throws LCMException
lcModel
- the LCModel to be savedisNewVersion
- this mode add policies to new model if it is true else add policies to new model is skippedLCMException
- if the LCM provider encounters an internal error while persisting the LCModel