Class ComponentService
java.lang.Object
org.odpi.openmetadata.userinterface.uichassis.springboot.service.ComponentService
@Service
@ConfigurationProperties(prefix="role")
@EnableConfigurationProperties
public class ComponentService
extends Object
This component is responsible to provide model used by UI to show/hide components
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription
-
Constructor Details
-
ComponentService
public ComponentService()
-
-
Method Details
-
getVisibleComponents
-
getVisibleComponentsForRoles
- Parameters:
roles
- the list of roles- Returns:
- a set of components to be displayed
-
getAppRoles
- Returns:
- the set of roles used by the app this is configuration of the application.properties with role.visibleComponents.[ROLE] values
-