public class LCMAdminManagerImpl extends java.lang.Object implements LCMAdminManager
Constructor and Description |
---|
LCMAdminManagerImpl(RegistryProvider registryProvider,
BeanPool beanPool)
Only constructor to create an instance of
LCMAdminManager . |
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 activeModelsOnly)
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.
|
public LCMAdminManagerImpl(RegistryProvider registryProvider, BeanPool beanPool) throws CSAppFrameworkException
LCMAdminManager
.registryProvider
- The RegistryProvider
instancebeanPool
- The BeanPool
instanceCSAppFrameworkException
- If the LCM provider encounters an internal errorpublic LCModel createLCModel() throws CSAppFrameworkException
LCMAdminManager
createLCModel
in interface LCMAdminManager
LCModel
objectCSAppFrameworkException
- if the LCM provider encounters an internal errorpublic void deleteLCModel(LCModel lcModel) throws CSAppFrameworkException
LCMAdminManager
deleteLCModel
in interface LCMAdminManager
lcModel
- the lcModel to be deletedCSAppFrameworkException
- - if the LCM provider encounters an internal errorpublic void saveLCModel(LCModel lcModel) throws CSAppFrameworkException
LCMAdminManager
saveLCModel
in interface LCMAdminManager
lcModel
- the LCModel to be savedCSAppFrameworkException
- - if the LCM provider encounters an internal errorpublic java.util.Collection<LCModel> findAllModels() throws CSAppFrameworkException
LCMAdminManager
findAllModels
in interface LCMAdminManager
CSAppFrameworkException
- if the LCM provider encounters an internal errorpublic java.util.Collection<LCModel> findInactiveModels() throws CSAppFrameworkException
LCMAdminManager
findInactiveModels
in interface LCMAdminManager
CSAppFrameworkException
- - if the LCM provider encounters an internal errorpublic LCModel findLCMForLCM() throws CSAppFrameworkException
LCMAdminManager
findLCMForLCM
in interface LCMAdminManager
CSAppFrameworkException
- if the LCM provider encounters an internal errorpublic LCModel findLCModel(java.lang.String typeName) throws CSAppFrameworkException
LCMAdminManager
findLCModel
in interface LCMAdminManager
typeName
- the name of the type for which the LCModel has to be foundCSAppFrameworkException
- - if the LCM provider encounters an internal errorpublic LCModel getLCModel(java.lang.String lcModelKey) throws CSAppFrameworkException
LCMAdminManager
getLCModel
in interface LCMAdminManager
lcModelKey
- The key of the LCModel which LCModel has to be retrievedCSAppFrameworkException
- If the LCM provider encounters an internal errorpublic java.util.List<LCModel> findLCModelByDisplayName(java.lang.String displayName, boolean activeModelsOnly) throws CSAppFrameworkException
LCMAdminManager
findLCModelByDisplayName
in interface LCMAdminManager
displayName
- the name of the LCModel to be foundactiveModelsOnly
- if true - only active models will be searched, false - all
models will be searchedCSAppFrameworkException
- - if the LCM provider encounters an internal error