Provided classes - 3.2
Below table lists what objects are provided by Slice v. 3.2.0 out of the box. Please note that some objects are available only if they are declared with binding annotation (it especially concerns String objects). There are also objects available both with and without annotation, e.g. org.apache.sling.api.resource.Resource.
The CQ related objects are available only when Slice CQ Addons are provided.
Class | Binding annotation | Description | Module |
|---|---|---|---|
Guice | |||
| - | Injector which is used |
|
Slice | |||
| - | Default implementation of ModelProvider | SliceModule |
| - | Default implementation of ChildrenProvider |
|
| - | Default implementation of ClassToKeyMapper |
|
| - |
|
|
|
| originally requested resource. Please note that it doesn't correspond to request.getResource(), because this method returns different resources for each component included by cq:include tag. |
|
|
| path of originally requested resource. |
|
|
| path of current resource, i.e. resource from the top of Execution stack. Usually, a resource of currently included component. |
|
|
| A name under which the injector is registered. |
|
| - | Execution stack. It should not be used outside of Slice |
|
| - | Default | LinkModule |
| - | Default |
|
| - | Default implementation of |
|
| - | Default implementation of | ContextModule |
Sling | |||
| - |
| SlingModule |
| - |
|
|
| - | Sling request associated with current processing |
|
| - | Sling response associated with current processing |
|
| - | Current resource, i.e. resource from the top of Execution stack |
|
| - |
|
|
| - |
|
|
|
| Request extension in terms of Sling nomenclature |
|
|
| Request suffix in terms of Sling nomenclature |
|
|
| An array of all selectors of the request. If request has no selectors, empty array is returned. |
|
|
| A |
|
|
| Selector string in terms of Sling nomenclature. |
|
JCR | |||
| - | JCR's | JcrModule |
CQ | |||
| - | Mapper containing all processors and post processors available in Slice | CQMapperModule |
| - | Default implementation of | CQModule |
| - | CQ's |
|
|
| A page which contains current resource. It doesn't have to correspond to requested page. | CurrentPageModule |
|
| Path to a current page |
|
|
| A page which contains originally requested resource. | RequestedPageModule |
|
| Path to a requested page |
|
|
| A | LinkModule |
| - | Asset adapted from current resource. | DamModule |
| - | Current WCMMode assigned with the request | CQModule |
|
| Path to a template of current page. | TemplateModule |