Interface SecurityLevelManager
public interface SecurityLevelManager
A SecurityLevelManager is the source of record for all SecurityLevels configured in the system
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classSimple class to notify subscribers of the event bus that the security levels have changed -
Method Summary
Modifier and TypeMethodDescriptioncom.google.common.eventbus.EventBusTheEventBuswhereChangeEventsare postedcom.google.common.collect.ImmutableCollection<SecurityLevelConfig>Fetch allSecurityLevelConfigsin the systemvoidupdateSecurityLevelsConfig(com.google.common.collect.ImmutableCollection<SecurityLevelConfig> updatedSecurityLevelsConfig) Update allSecurityLevelConfigsin the system
-
Method Details
-
getSecurityLevelsConfig
@Nonnull com.google.common.collect.ImmutableCollection<SecurityLevelConfig> getSecurityLevelsConfig()Fetch allSecurityLevelConfigsin the system -
updateSecurityLevelsConfig
@Nonnull void updateSecurityLevelsConfig(@Nonnull com.google.common.collect.ImmutableCollection<SecurityLevelConfig> updatedSecurityLevelsConfig) Update allSecurityLevelConfigsin the system- Parameters:
updatedSecurityLevelsConfig- the new security levels config
-
getEventBus
@Nonnull com.google.common.eventbus.EventBus getEventBus()TheEventBuswhereChangeEventsare posted
-