com.citytechinc.aem.bedrock.api.request
Interface ComponentRequest

All Superinterfaces:
ComponentResourceRequest, ComponentServletRequest

public interface ComponentRequest
extends ComponentServletRequest

Request facade for use in CQ component beans. Wraps all relevant objects from the current request context and provides additional convenience methods for accessing content.


Method Summary
 Component getComponent()
           
 ComponentContext getComponentContext()
           
 Design getCurrentDesign()
           
 Style getCurrentStyle()
           
 Designer getDesigner()
           
 EditContext getEditContext()
           
 ServiceProvider getServiceProvider()
           
 
Methods inherited from interface com.citytechinc.aem.bedrock.api.request.ComponentServletRequest
getRequestParameter, getRequestParameter, getRequestParameters, getSelectors, getSlingRequest, getSlingResponse, getWCMMode
 
Methods inherited from interface com.citytechinc.aem.bedrock.api.request.ComponentResourceRequest
getComponentNode, getCurrentNode, getCurrentPage, getPageManager, getPageProperties, getProperties, getResource, getResourceResolver, getSession
 

Method Detail

getComponent

Component getComponent()
Returns:
current CQ component

getComponentContext

ComponentContext getComponentContext()
Returns:
component context for this request

getCurrentDesign

Design getCurrentDesign()
Returns:
design of the addressed resource

getCurrentStyle

Style getCurrentStyle()
Returns:
style of the addressed resource

getDesigner

Designer getDesigner()
Returns:
designer

getEditContext

EditContext getEditContext()
Returns:
edit context for this request

getServiceProvider

ServiceProvider getServiceProvider()
Returns:
OSGi service provider


Copyright © 2015 CITYTECH, Inc.. All rights reserved.