Class AbstractContainerImpl

    • Constructor Detail

      • AbstractContainerImpl

        public AbstractContainerImpl()
    • Method Detail

      • getMinOccur

        public java.lang.Integer getMinOccur()
        Description copied from interface: ContainerConstraint
        Returns the minimum occurrence of the container (ie array data type)
        Specified by:
        getMinOccur in interface ContainerConstraint
        Returns:
        the minimum occurrence
      • getMaxOccur

        public java.lang.Integer getMaxOccur()
        Description copied from interface: ContainerConstraint
        Returns the maximum occurrence of the container (ie array data type)
        Specified by:
        getMaxOccur in interface ContainerConstraint
        Returns:
        the maximum occurrence
      • getMinItems

        public java.lang.Integer getMinItems()
        Description copied from interface: ContainerConstraint
        Returns the minimum items of the container (ie array data type)
        Specified by:
        getMinItems in interface ContainerConstraint
        Returns:
        the minimum items
      • getMaxItems

        public java.lang.Integer getMaxItems()
        Description copied from interface: ContainerConstraint
        Returns the maximum items of the container (ie array data type)
        Specified by:
        getMaxItems in interface ContainerConstraint
        Returns:
        the maximum items
      • getItems

        public java.util.List<? extends com.adobe.cq.export.json.ComponentExporter> getItems()
        Description copied from interface: Container
        Returns the list of items present inside the container as an array.
        Specified by:
        getItems in interface Container
        Returns:
        list of items
      • getExportedItemsOrder

        @NotNull
        public @NotNull java.lang.String[] getExportedItemsOrder()
        Specified by:
        getExportedItemsOrder in interface Container
        Specified by:
        getExportedItemsOrder in interface com.adobe.cq.export.json.ContainerExporter
      • getExportedItems

        @NotNull
        public @NotNull java.util.Map<java.lang.String,​? extends com.adobe.cq.export.json.ComponentExporter> getExportedItems()
        Specified by:
        getExportedItems in interface Container
        Specified by:
        getExportedItems in interface com.adobe.cq.export.json.ContainerExporter
        See Also:
        ContainerExporter.getExportedItems()
      • getGridClassNames

        @Nullable
        public @Nullable java.lang.String getGridClassNames()
        Specified by:
        getGridClassNames in interface Container
        Returns:
        The CSS class names to be applied to the current grid.
      • getColumnClassNames

        @Nonnull
        public java.util.Map<java.lang.String,​java.lang.String> getColumnClassNames()
        Specified by:
        getColumnClassNames in interface Container
        Returns:
        The CSS class names associated with each responsive grid column and listed by column name
      • getColumnCount

        public int getColumnCount()
        Specified by:
        getColumnCount in interface Container
        Returns:
        The number of columns available for direct children in the grid.
      • getExportedAllowedComponents

        public com.day.cq.wcm.foundation.model.export.AllowedComponentsExporter getExportedAllowedComponents()
        Specified by:
        getExportedAllowedComponents in interface Container
        Returns:
        Allowed Components object for the current grid.