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)
PresentationsManagersetupDefaultSettings in interface PresentationsManagercomponents - components to set default settingspublic void applyDefaultPresentation(java.util.Collection<Component> components)
PresentationsManagerapplyDefaultPresentation in interface PresentationsManagercomponents - components to apply default presentationpublic void commitPresentations(java.util.Collection<Component> components)
PresentationsManagercommitPresentations in interface PresentationsManagercomponents - components that should commit presentation changes