Package com.enonic.xp.portal.handler
Class ControllerHandlerWorker
- java.lang.Object
-
- com.enonic.xp.portal.handler.PortalHandlerWorker<PortalRequest>
-
- com.enonic.xp.portal.handler.ControllerHandlerWorker
-
public abstract class ControllerHandlerWorker extends PortalHandlerWorker<PortalRequest>
-
-
Field Summary
Fields Modifier and Type Field Description protected ContentService
contentService
-
Fields inherited from class com.enonic.xp.portal.handler.PortalHandlerWorker
request
-
-
Constructor Summary
Constructors Constructor Description ControllerHandlerWorker(PortalRequest request)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Content
getContent(java.lang.String contentSelector)
protected Content
getContentOrNull(java.lang.String contentSelector)
protected java.lang.String
getContentSelector()
protected Site
getSite(Content content)
protected Site
getSiteOrNull(Content content)
void
setContentService(ContentService contentService)
-
Methods inherited from class com.enonic.xp.portal.handler.PortalHandlerWorker
execute, forbidden, notFound, setResponseCacheable
-
-
-
-
Field Detail
-
contentService
protected ContentService contentService
-
-
Constructor Detail
-
ControllerHandlerWorker
public ControllerHandlerWorker(PortalRequest request)
-
-
Method Detail
-
getContentSelector
protected final java.lang.String getContentSelector()
-
getContent
protected final Content getContent(java.lang.String contentSelector)
-
getContentOrNull
protected final Content getContentOrNull(java.lang.String contentSelector)
-
setContentService
public final void setContentService(ContentService contentService)
-
-