@Model(adaptables=SlingHttpServletRequest.class, adapters={ResponsiveGrid.class,ComponentExporter.class}, defaultInjectionStrategy=OPTIONAL, resourceType="wcm/foundation/components/responsivegrid") @ProviderType public class ResponsiveGrid extends AbstractResource implements ResponsiveGridExporter
RESOURCE_TYPE_NON_EXISTING| Constructor and Description |
|---|
ResponsiveGrid() |
| Modifier and Type | Method and Description |
|---|---|
com.day.cq.wcm.foundation.model.impl.export.AllowedComponentsExporter |
getAllowedComponents()
Deprecated.
|
java.lang.String |
getAppliedCssClasses()
Returns the style system information associated with the current grid.
|
java.util.Map<java.lang.String,java.lang.String> |
getColumnClassNames() |
int |
getColumnCount() |
java.util.Collection<? extends ResponsiveColumn> |
getColumns() |
java.lang.String |
getCssClass()
Deprecated.
|
<T extends Resource> |
getEffectiveResource() |
AllowedComponentsExporter |
getExportedAllowedComponents() |
java.util.Map<java.lang.String,? extends ComponentExporter> |
getExportedItems()
Returns the map of all exported child items (resource names from Sling Model classes).
|
java.lang.String[] |
getExportedItemsOrder()
Returns the order of items in the map.
|
java.lang.String |
getExportedType()
Returns the type of the resource for which the export is performed.
|
java.lang.String |
getGridClassNames() |
java.util.List<ResponsiveColumn> |
getParagraphs()
Deprecated.
Use
getColumns() |
java.lang.String |
getPath()
Returns the absolute path of this resource in the resource tree.
|
ResourceMetadata |
getResourceMetadata()
Deprecated.
|
ResourceResolver |
getResourceResolver()
Deprecated.
|
java.lang.String |
getResourceSuperType()
Deprecated.
|
java.lang.String |
getResourceType()
Deprecated.
|
getChild, getChildren, getName, getParent, getValueMap, hasChildren, isResourceType, listChildrenadaptTo, setAdapterManager, unsetAdapterManagerpublic java.lang.String getGridClassNames()
getGridClassNames in interface ResponsiveGridExporter@Nonnull public java.util.Map<java.lang.String,java.lang.String> getColumnClassNames()
getColumnClassNames in interface ResponsiveGridExporterpublic int getColumnCount()
getColumnCount in interface ResponsiveGridExporter@Nonnull public java.util.Collection<? extends ResponsiveColumn> getColumns()
@Nonnull public <T extends Resource> T getEffectiveResource()
T - The type of the resourceTemplatedResource
AdobePatentID="P6273-US"@Nonnull public java.lang.String getPath()
Resource@Deprecated public com.day.cq.wcm.foundation.model.impl.export.AllowedComponentsExporter getAllowedComponents()
getAllowedComponents in interface ResponsiveGridExporterpublic AllowedComponentsExporter getExportedAllowedComponents()
getExportedAllowedComponents in interface ResponsiveGridExporter@Nonnull public java.util.Map<java.lang.String,? extends ComponentExporter> getExportedItems()
ContainerExporterReturns the map of all exported child items (resource names from Sling Model classes).
NOTE: Methods whose JSON serialization would lead to the same JSON property name (":items") will not be serialized.
getExportedItems in interface ContainerExporterComponentExporter.getExportedType()@Nonnull public java.lang.String[] getExportedItemsOrder()
ContainerExporterReturns the order of items in the map.
NOTE: This information is required because the JSON specification and most implementations don't provide a stable order of items in JSON objects. Methods whose JSON serialization would lead to the same JSON property name (":order") will not be serialized.
getExportedItemsOrder in interface ContainerExporter@Nonnull public java.lang.String getExportedType()
ComponentExporterReturns the type of the resource for which the export is performed.
NOTE: methods whose JSON serialization would lead to the same JSON property name (":type") will not be serialized.
getExportedType in interface ComponentExporter@Deprecated public java.util.List<ResponsiveColumn> getParagraphs()
getColumns()@Deprecated public java.lang.String getCssClass()
getGridClassNames()@Nonnull @Deprecated public java.lang.String getResourceType()
ResourceResourceResolver is free to set this to any suitable value such
as the primary node type of the JCR node from which the resource is
created.
If the resource instance represents a resource which is not actually
existing, this method returns Resource.RESOURCE_TYPE_NON_EXISTING.
getResourceType in interface Resource@Deprecated public java.lang.String getResourceSuperType()
Resourcenull is returned.
A resource might return a resource super type to overwrite the
resource type hierarchy.
If a client is interested in the effective resource super type
of a resource, it should call ResourceResolver.getParentResourceType(Resource).getResourceSuperType in interface Resourcenull.@Nonnull @Deprecated public ResourceMetadata getResourceMetadata()
ResourceResourceMetadata object returned is implementation specific
except for the ResourceMetadata.RESOLUTION_PATH property which is
required to be set to the part of the request URI used to resolve the
resource.getResourceMetadata in interface ResourceResourceMetadata@Nonnull @Deprecated public ResourceResolver getResourceResolver()
ResourceResourceResolver from which this resource has been
retrieved.getResourceResolver in interface Resource@Nullable public java.lang.String getAppliedCssClasses()
ResponsiveGridExportergetAppliedCssClasses in interface ResponsiveGridExporterCopyright © 2010 - 2023 Adobe. All Rights Reserved