public interface Layout
Modifier and Type | Method and Description |
---|---|
void |
addSectionViewBuilder(SectionViewBuilder sectionViewBuilder)
Add the new section in the new structure of the layout.
|
String |
getDescription()
Get the description of the layout.
|
Integer |
getId()
Get the id of the layout.
|
List<SectionViewBuilder> |
getModifiedStructure()
Get all new structure of the layout.
|
String |
getName()
Get the name of the layout.
|
List<SectionView> |
getSections()
Get the unmodified stored structure of the layout.
|
boolean |
isModifiedStructure()
Get true or false if there are new structure that needs to persist.
|
void |
removeAllSectionViewBuilders()
Remove all new structure of the layout.
|
void |
removeSectionViewBuilder(SectionViewBuilder sectionViewBuilder)
Remove the sectionViewBuilder in the new structure of the layout.
|
void |
setDescription(String description)
Set the description of the layout.
|
void |
setName(String name)
Set the name of the layout.
|
void |
setSectionViewBuilders(List<SectionViewBuilder> sectionViewBuilders)
Set the new structure of the layout.
|
Integer getId()
String getName()
void setName(String name)
name
- the name of the layoutString getDescription()
void setDescription(String description)
description
- the description of the layoutList<SectionView> getSections()
void setSectionViewBuilders(List<SectionViewBuilder> sectionViewBuilders)
sectionViewBuilders
- the structure of the layoutvoid addSectionViewBuilder(SectionViewBuilder sectionViewBuilder)
sectionViewBuilder
- the structure of the layoutvoid removeSectionViewBuilder(SectionViewBuilder sectionViewBuilder)
sectionViewBuilder
- the section builder of the layoutvoid removeAllSectionViewBuilders()
List<SectionViewBuilder> getModifiedStructure()
boolean isModifiedStructure()
Copyright © 2022 DEISER. All Rights Reserved.