Interface SecurityLevelManager
-
public interface SecurityLevelManager
A SecurityLevelManager is the source of record for all SecurityLevels configured in the system
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
SecurityLevelManager.ChangeEvent
Simple class to notify subscribers of the event bus that the security levels have changed
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.common.eventbus.EventBus
getEventBus()
TheEventBus
whereChangeEvents
are postedcom.google.common.collect.ImmutableCollection<SecurityLevelConfig>
getSecurityLevelsConfig()
Fetch allSecurityLevelConfigs
in the systemvoid
updateSecurityLevelsConfig(com.google.common.collect.ImmutableCollection<SecurityLevelConfig> updatedSecurityLevelsConfig)
Update allSecurityLevelConfigs
in the system
-
-
-
Method Detail
-
getSecurityLevelsConfig
@Nonnull com.google.common.collect.ImmutableCollection<SecurityLevelConfig> getSecurityLevelsConfig()
Fetch allSecurityLevelConfigs
in the system
-
updateSecurityLevelsConfig
@Nonnull void updateSecurityLevelsConfig(@Nonnull com.google.common.collect.ImmutableCollection<SecurityLevelConfig> updatedSecurityLevelsConfig)
Update allSecurityLevelConfigs
in the system- Parameters:
updatedSecurityLevelsConfig
- the new security levels config
-
getEventBus
@Nonnull com.google.common.eventbus.EventBus getEventBus()
TheEventBus
whereChangeEvents
are posted
-
-