@Deprecated public interface SectionList extends List<Section>
ContentAreaListValue
ContentAreaListValue
Modifier and Type | Interface and Description |
---|---|
static interface |
SectionList.DataSheet
Deprecated.
Interface to provide section data as one sheet.
|
Modifier and Type | Method and Description |
---|---|
Section |
create(String sectionName,
SectionTemplate template)
Deprecated.
Create a new section and add it to this list.
|
Section |
create(String sectionName,
Template template,
Long id)
Deprecated.
since 4.2.200 - use
create(String, de.espirit.firstspirit.access.store.templatestore.SectionTemplate) instead |
void |
createAll(Iterable<? extends SectionList.DataSheet> sheets)
Deprecated.
Create and add a couple of sections at once given by a list of sheets.
|
List<Pair<Section,Modification>> |
diff(SectionList others)
Deprecated.
Compute the difference to the given list.
|
Section |
fetch(Long id)
Deprecated.
Get a section having the given id.
|
void |
move(int index,
Section section)
Deprecated.
Move the specified section to the given index.
|
Section create(String sectionName, SectionTemplate template)
sectionName
- the name of the sectiontemplate
- the template to be used@Deprecated Section create(String sectionName, Template template, @Nullable Long id)
create(String, de.espirit.firstspirit.access.store.templatestore.SectionTemplate)
insteadid
- - this param will be ignoredvoid createAll(Iterable<? extends SectionList.DataSheet> sheets)
sheets
- The sheets to create sections from.void move(int index, Section section) throws NoSuchElementException
index
- The index to move to.section
- The section to move.IndexOutOfBoundsException
- If the index is out of range.NoSuchElementException
- If the given section is not within this list.Section fetch(Long id)
id
- The id to look up.List<Pair<Section,Modification>> diff(SectionList others)
others
- The list to compute the difference for.Copyright © 2015 e-Spirit AG. All Rights Reserved. Build 5.1.408