public interface CockpitConfigurationService
ModelService.| Modifier and Type | Method and Description |
|---|---|
CockpitUIComponentConfigurationModel |
getComponentConfiguration(PrincipalModel principal,
String objectTemplateCode,
String code)
Gets the component configuration.
|
List<CockpitUIComponentConfigurationModel> |
getComponentConfigurationsForPrincipal(PrincipalModel principal)
Gets the component configurations for principal.
|
List<CockpitUIComponentConfigurationModel> |
getDedicatedComponentConfigurationsForPrincipal(PrincipalModel principal)
Gets dedicated component configurations for principal.
|
List<String> |
getRoleNamesForPrincipal(PrincipalModel principal)
Gets the role names for principal.
|
void |
removeComponentConfigurations(List<CockpitUIComponentConfigurationModel> configurations)
Removes the given component configurations from persistence.
|
List<CockpitUIComponentConfigurationModel> getComponentConfigurationsForPrincipal(PrincipalModel principal)
principal - the principalList<CockpitUIComponentConfigurationModel> getDedicatedComponentConfigurationsForPrincipal(PrincipalModel principal)
void removeComponentConfigurations(List<CockpitUIComponentConfigurationModel> configurations)
CockpitUIConfigurationMediaModel items if they are not shared with another
CockpitUIComponentConfigurationModel.configurations - the configurations that should be removed.CockpitUIComponentConfigurationModel getComponentConfiguration(PrincipalModel principal, String objectTemplateCode, String code)
principal - the principalobjectTemplateCode - the object template codecode - the codeList<String> getRoleNamesForPrincipal(PrincipalModel principal)
principal - the principalCopyright © 2017 SAP SE. All Rights Reserved.