Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

Since Slice version 3.1, CQ related modules have been extracted to separate group named com.cognifide.slice-addon. There are also separate versions of modules depending on CQ version.

Currently there are three versions of CQ/AEM supported:

 

What Slice CQ Addons gives you ?

Handy, injectable objects and annotations providing useful objects specific to particular version of CQ/AEM.

AnnotationReturns 
@CurrentPage
com.day.cq.wcm.api.Page
Current page
@CurrentPagePath
String
Current page path
@RequestedPage
com.day.cq.wcm.api.Page
 
@RequestedPagePath
String
 
@CurrentTemplatePathString 

 

 

    
com.day.cq.wcm.api.PageManager-CQ's PageManager 
com.day.cq.wcm.api.Pagecom.cognifide.slice.cq.qualifier.CurrentPageA page which contains current resource. It doesn't have to correspond to requested page.CurrentPageModule
java.lang.Stringcom.cognifide.slice.cq.qualifier.CurrentPagePathPath to a current page 
com.day.cq.wcm.api.Pagecom.cognifide.slice.cq.qualifier.RequestedPageA page which contains originally requested resource.RequestedPageModule
java.lang.Stringcom.cognifide.slice.cq.qualifier.RequestedPagePathPath to a requested page 
com.day.cq.dam.api.Asset-Asset adapted from current resource. null, if current resource is not an asset.DamModule
com.day.cq.wcm.api.WCMMode-Current WCMMode assigned with the requestCQModule
java.lang.Stringcom.cognifide.slice.cq.qualifier.CurrentTemplatePathPath to a template of current page.TemplateModule
  • No labels