Interface SectionList

All Superinterfaces:
Collection<Section>, Iterable<Section>, List<Section>

@Deprecated public interface SectionList extends List<Section>
Deprecated.
since 5.0.501 - usages of CMS_INPUT_CONTENTAREALIST should be replaced with FS_CATALOG.
Definition for a specific list implementation operating on sections. SectionList is the persistence object for ContentAreaListValue
Since:
4.0.17
See Also:
  • Method Details

    • create

      @Deprecated Section create(String sectionName, SectionTemplate template)
      Deprecated.
      since 5.2.21 - see type
      Create a new section and add it to this list.
      Parameters:
      sectionName - the name of the section
      template - the template to be used
      Returns:
      the created section
      Since:
      4.2.34
    • create

      @Deprecated Section create(String sectionName, Template template, @Nullable @Nullable Long id)
      Parameters:
      id - - this param will be ignored
      Returns:
      A new section.
      Since:
      4.0.18
    • createAll

      @Deprecated void createAll(Iterable<? extends SectionList.DataSheet> sheets)
      Deprecated.
      since 5.2.21 - see type
      Create 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 void move(int index, Section section) throws NoSuchElementException
      Deprecated.
      since 5.2.21 - see type
      Move 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 type
      Get 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 type
      Compute 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