Class TextModuleFirstLevelGroupItem

  • All Implemented Interfaces:
    com.novomind.ecom.common.api.attribute.Named

    public final class TextModuleFirstLevelGroupItem
    extends java.lang.Object
    implements com.novomind.ecom.common.api.attribute.Named
    Represents a persistent or non persistent text module first level group item.
    Since:
    12.12
    • Constructor Detail

      • TextModuleFirstLevelGroupItem

        public TextModuleFirstLevelGroupItem​(java.lang.String name,
                                             java.util.List<TextModule> textModules)
        Constructs a TextModuleFirstLevelGroupItem with a name and a list of TextModule children.
        Parameters:
        name - the name of the item.
        textModules - the list of TextModule of the group.
        Since:
        12.12
    • Method Detail

      • getName

        public java.lang.String getName()
        Returns the name of the TextModuleFirstLevelGroupItem
        Specified by:
        getName in interface com.novomind.ecom.common.api.attribute.Named
        Returns:
        the name of the TextModuleFirstLevelGroupItem
        Since:
        12.12
      • getChildTextModuleNodes

        public java.util.List<TextModuleNode> getChildTextModuleNodes()
        Returns a list of the child text module nodes.
        Returns:
        the list of the child text module nodes.
        Since:
        12.12
      • getTextModuleFirstLevelGroup

        public java.util.Optional<TextModuleFirstLevelGroup> getTextModuleFirstLevelGroup()
        Returns the optional persistent TextModuleFirstLevelGroup wrapped by this TextModuleFirstLevelGroupItem.
        Returns:
        the optional persistent TextModuleFirstLevelGroup wrapped by this TextModuleFirstLevelGroupItem.
        Since:
        12.12