Interface SectionList
Deprecated.
Definition for a specific list implementation operating on sections.
SectionList is the persistence object for
ContentAreaListValue
- Since:
- 4.0.17
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Deprecated.since 5.2.21 - no replacement -
Method Summary
Modifier and TypeMethodDescriptioncreate
(String sectionName, SectionTemplate template) Deprecated.since 5.2.21 - see typeDeprecated.since 4.2.200 - usecreate(String, de.espirit.firstspirit.access.store.templatestore.SectionTemplate)
insteadvoid
createAll
(Iterable<? extends SectionList.DataSheet> sheets) Deprecated.since 5.2.21 - see typediff
(SectionList others) Deprecated.since 5.2.21 - see typeDeprecated.since 5.2.21 - see typevoid
Deprecated.since 5.2.21 - see typeMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
-
Method Details
-
create
Deprecated.since 5.2.21 - see typeCreate a new section and add it to this list.- Parameters:
sectionName
- the name of the sectiontemplate
- the template to be used- Returns:
- the created section
- Since:
- 4.2.34
-
create
Deprecated.since 4.2.200 - usecreate(String, de.espirit.firstspirit.access.store.templatestore.SectionTemplate)
instead- Parameters:
id
- - this param will be ignored- Returns:
- A new section.
- Since:
- 4.0.18
-
createAll
Deprecated.since 5.2.21 - see typeCreate and add a couple of sections at once given by a list of sheets.- Parameters:
sheets
- The sheets to create sections from.- Since:
- 4.0.102
-
move
Deprecated.since 5.2.21 - see typeMove the specified section to the given index.- Parameters:
index
- The index to move to.section
- The section to move.- Throws:
IndexOutOfBoundsException
- If the index is out of range.NoSuchElementException
- If the given section is not within this list.- Since:
- 4.0.17
-
fetch
Deprecated.since 5.2.21 - see typeGet a section having the given id.- Parameters:
id
- The id to look up.- Returns:
- The respective section or null, if the id is not known.
- Since:
- 4.0.18
-
diff
Deprecated.since 5.2.21 - see typeCompute the difference to the given list.- Parameters:
others
- The list to compute the difference for.- Returns:
- A list of sections and their modification state.
- Since:
- 4.0.18
-
FS_CATALOG
.