|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.softwareag.centrasite.appl.framework.lcm.impl.LCMAdminManagerImpl
public class LCMAdminManagerImpl
This implementation offers CRUD (Create, Read, Update, Delete) and searching functionality for a LCModel
Constructor Summary | |
---|---|
LCMAdminManagerImpl(RegistryProvider registryProvider,
BeanPool beanPool)
Only constructor |
Method Summary | |
---|---|
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 If there are two LCModels active for the given type (one global and the other local), the global LCModel will be returned. |
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 |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LCMAdminManagerImpl(RegistryProvider registryProvider, BeanPool beanPool) throws CSAppFrameworkException
registryProvider
- beanPool
-
CSAppFrameworkException
Method Detail |
---|
public LCModel createLCModel() throws CSAppFrameworkException
LCMAdminManager
createLCModel
in interface LCMAdminManager
CSAppFrameworkException
- - if the LCM provider encounters an internal errorpublic void deleteLCModel(LCModel lcModel) throws CSAppFrameworkException
LCMAdminManager
deleteLCModel
in interface LCMAdminManager
lcModel
- the lcModel to be deleted
CSAppFrameworkException
- - if the LCM provider encounters an internal errorpublic void saveLCModel(LCModel lcModel) throws CSAppFrameworkException
LCMAdminManager
saveLCModel
in interface LCMAdminManager
lcModel
- the LCModel to be saved
CSAppFrameworkException
- - 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
public 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 found
CSAppFrameworkException
- - 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 retrieved
CSAppFrameworkException
- - 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 searched
CSAppFrameworkException
- - if the LCM provider encounters an internal error
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |