Class Parsys

  • All Implemented Interfaces:
    com.adobe.cq.export.json.ComponentExporter, com.adobe.cq.export.json.ContainerExporter

    @Model(adaptables=org.apache.sling.api.SlingHttpServletRequest.class,
           adapters={Parsys.class,com.adobe.cq.export.json.ContainerExporter.class,com.adobe.cq.export.json.ComponentExporter.class},
           resourceType="wcm-io/wcm/parsys/components/parsys")
    @ProviderType
    public final class Parsys
    extends java.lang.Object
    implements com.adobe.cq.export.json.ContainerExporter
    Controller for paragraph system. Unlike the AEM-builtin paragraph systems this parsys does not support column controls or iparsys inheritance, but is only a simple paragraph system which allows full control about the markup generated for the child resources and the new area.
    • Constructor Detail

      • Parsys

        public Parsys()
    • Method Detail

      • getItems

        public java.util.List<Parsys.Item> getItems()
        Returns:
        Paragraph system items
      • getWrapperElementName

        public java.lang.String getWrapperElementName()
        Returns:
        Element name for wrapper element
      • getWrapperCss

        public java.lang.String getWrapperCss()
        Returns:
        Wrapper element CSS
      • isWrapperElement

        public boolean isWrapperElement()
        Returns:
        True if the wrapper element should be rendered
      • getExportedType

        @NotNull
        public @NotNull java.lang.String getExportedType()
        Specified by:
        getExportedType in interface com.adobe.cq.export.json.ComponentExporter
      • getExportedItems

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

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