public class PresentationsManagerImpl extends java.lang.Object implements PresentationsManager
Modifier and Type | Field and Description |
---|---|
protected ComponentSettingsRegistry |
settingsRegistry |
Constructor and Description |
---|
PresentationsManagerImpl(ComponentSettingsRegistry settingsRegistry) |
Modifier and Type | Method and Description |
---|---|
void |
applyDefaultPresentation(java.util.Collection<Component> components)
Applies default presentation to a component if it exists.
|
void |
commitPresentations(java.util.Collection<Component> components)
Commits presentation changes.
|
void |
setupDefaultSettings(java.util.Collection<Component> components)
Sets settings with an initial state to a component.
|
protected ComponentSettingsRegistry settingsRegistry
@Autowired public PresentationsManagerImpl(ComponentSettingsRegistry settingsRegistry)
public void setupDefaultSettings(java.util.Collection<Component> components)
PresentationsManager
setupDefaultSettings
in interface PresentationsManager
components
- components to set default settingspublic void applyDefaultPresentation(java.util.Collection<Component> components)
PresentationsManager
applyDefaultPresentation
in interface PresentationsManager
components
- components to apply default presentationpublic void commitPresentations(java.util.Collection<Component> components)
PresentationsManager
commitPresentations
in interface PresentationsManager
components
- components that should commit presentation changes