public interface LCMAdminManager
LCMAdminManager
provides all operations to create, modify
and delete LCModel
s - State models for Lifecycle Management. Models can
theoretically be complex and go across multiple machines and LCStates.Modifier and Type | Method and Description |
---|---|
LCModel |
createLCModel()
Creates an LCModel.
|
void |
deleteLCModel(LCModel lcModel)
Deletes the given LCModel.
|
java.util.Collection<LCModel> |
findAllModels()
Find all LCModels that are currently within the scope (global or
organizational specific) of the logged-in user.
|
java.util.Collection<LCModel> |
findInactiveModels()
Find all LCModels in the whole system that are not active.
|
LCModel |
findLCMForLCM()
Finds the LCModel for LCModels.
|
LCModel |
findLCModel(java.lang.String typeName)
Find the LCModel that is active for for the given type.
|
java.util.List<LCModel> |
findLCModelByDisplayName(java.lang.String displayName,
boolean activatedModelsOnly)
Find all LCModels that have the searched display name.
|
LCModel |
getLCModel(java.lang.String lcModelKey)
Get the LCModel with the given key.
|
void |
saveLCModel(LCModel lcModel)
Saves the given LCModel.
|
LCModel createLCModel() throws CSAppFrameworkException
LCModel
objectCSAppFrameworkException
- if the LCM provider encounters an internal errorLCModel findLCMForLCM() throws CSAppFrameworkException
CSAppFrameworkException
- if the LCM provider encounters an internal errorLCModel getLCModel(java.lang.String lcModelKey) throws CSAppFrameworkException
lcModelKey
- The key of the LCModel which LCModel has to be retrievedCSAppFrameworkException
- If the LCM provider encounters an internal errorjava.util.Collection<LCModel> findAllModels() throws CSAppFrameworkException
CSAppFrameworkException
- if the LCM provider encounters an internal errorjava.util.Collection<LCModel> findInactiveModels() throws CSAppFrameworkException
CSAppFrameworkException
- - if the LCM provider encounters an internal errorLCModel findLCModel(java.lang.String typeName) throws CSAppFrameworkException
typeName
- the name of the type for which the LCModel has to be foundCSAppFrameworkException
- - if the LCM provider encounters an internal errorjava.util.List<LCModel> findLCModelByDisplayName(java.lang.String displayName, boolean activatedModelsOnly) throws CSAppFrameworkException
displayName
- the name of the LCModel to be foundactivatedModelsOnly
- if true - only active models will be searched, false - all
models will be searchedCSAppFrameworkException
- - if the LCM provider encounters an internal errorvoid deleteLCModel(LCModel lcModel) throws CSAppFrameworkException
lcModel
- the lcModel to be deletedCSAppFrameworkException
- - if the LCM provider encounters an internal errorvoid saveLCModel(LCModel lcModel) throws CSAppFrameworkException
lcModel
- the LCModel to be savedCSAppFrameworkException
- - if the LCM provider encounters an internal error