public class BaseContentPortlet extends AContentDisplayPortlet
| Modifier and Type | Field and Description |
|---|---|
static String |
MODE_CONTENT
The Constant MODE_CONTENT.
|
static String |
MODE_NAME
The Constant MODE_NAME.
|
static String |
MODE_SEARCH
The Constant MODE_SEARCH.
|
attributes, ATTRIBUTES_KEY, downloadMimetypes, ISVELOCITYRENDERED_KEY, vEngineCONTENTID_OVERRIDE_ATTRIBUTE, CONTENTID_RENDER_PARAMETER, INITPARAM_EDITTEMPLATE_NAME, INITPARAM_STARTFOLDER_NAME, INITPARAM_STARTPAGE_NAME, INITPARAM_VIEWTEMPLATE_NAME, log, PAGE_RULE, TEMPLATE_CACHEZONE_KEY, TEMPLATECACHE_CONFIG_KEY| Constructor and Description |
|---|
BaseContentPortlet() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
void |
doEdit(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response) |
protected void |
doInternalView(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
Do internal view.
|
protected void |
handleError(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response,
javax.portlet.PortletException exception)
Handle error.
|
protected void |
initialize()
the portlet instance initialize method.
|
void |
processAction(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response) |
void |
processEvent(javax.portlet.EventRequest request,
javax.portlet.EventResponse response) |
dispatch, doView, executeVelocityRender, getRp, prepareDisplayResponse, serveResourcegetContentid, getCrConf, getLog, getStartfolder, getStartpage, getTemplate, init, setCrConf, setLogdoDispatch, doHeaders, doHelp, getContainerRuntimeOptions, getDefaultNamespace, getInitParameter, getInitParameterNames, getNextPossiblePortletModes, getPortletConfig, getPortletContext, getPortletName, getProcessingEventQNames, getPublicRenderParameterNames, getPublishingEventQNames, getResourceBundle, getSupportedLocales, getTitle, init, renderpublic static final String MODE_NAME
public static final String MODE_CONTENT
public static final String MODE_SEARCH
protected void initialize()
AGenticsPortletin this method every kind of Gentics portlet can initialize its own connectors and helpers
This method is called exact once on portlet init.
Please use this method if you have to initialize components within your portlet instance (E.g. connectors, helper classes etc.)
initialize in class AContentDisplayPortletpublic void processAction(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response)
throws javax.portlet.PortletException,
IOException
processAction in interface javax.portlet.PortletprocessAction in class AContentDisplayPortletjavax.portlet.PortletExceptionIOExceptionpublic final void processEvent(javax.portlet.EventRequest request,
javax.portlet.EventResponse response)
throws javax.portlet.PortletException,
IOException
processEvent in interface javax.portlet.EventPortletprocessEvent in class javax.portlet.GenericPortletjavax.portlet.PortletExceptionIOExceptionpublic final void doEdit(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
throws javax.portlet.PortletException,
IOException
doEdit in class javax.portlet.GenericPortletjavax.portlet.PortletExceptionIOExceptionprotected void handleError(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response,
javax.portlet.PortletException exception)
throws javax.portlet.PortletException
AContentDisplayPortlethandleError in class AContentDisplayPortletrequest - the requestresponse - the responseexception - the exceptionjavax.portlet.PortletException - a exceptionprotected void doInternalView(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
throws javax.portlet.PortletException,
IOException
AContentDisplayPortletTODO
doInternalView in class AContentDisplayPortletrequest - the requestresponse - the responsejavax.portlet.PortletException - the portlet exceptionIOException - Signals that an I/O exception has occurred.public void destroy()
destroy in interface javax.portlet.Portletdestroy in class javax.portlet.GenericPortletCopyright © 2022 Gentics Software. All rights reserved.