|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.portlet.GenericPortlet
com.gentics.cr.portlet.AGenticsPortlet
com.gentics.cr.portlet.AContentDisplayPortlet
com.gentics.cr.portlet.BaseSidebarPortlet
public class BaseSidebarPortlet
The Class BaseSidebarPortlet.
![]() |
![]() |
Field Summary | |
---|---|
private String |
propertyname
the property name for this sidebar portlet instance. |
private static String |
PROPERTYNAME_KEY
the portety name key for the properties file. |
Fields inherited from class com.gentics.cr.portlet.AContentDisplayPortlet |
---|
attributes, ATTRIBUTES_KEY, ISVELOCITYRENDERED_KEY, vEngine |
Fields inherited from class com.gentics.cr.portlet.AGenticsPortlet |
---|
CONTENTID_OVERRIDE_ATTRIBUTE, CONTENTID_RENDER_PARAMETER, INITPARAM_EDITTEMPLATE_NAME, INITPARAM_STARTFOLDER_NAME, INITPARAM_STARTPAGE_NAME, INITPARAM_VIEWTEMPLATE_NAME, log, PAGE_RULE |
Constructor Summary | |
---|---|
BaseSidebarPortlet()
|
Method Summary | |
---|---|
protected void |
doInternalView(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
Do internal view. |
protected String |
getContentid(javax.portlet.RenderRequest request)
returns the current contentid set as public render parameter. |
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. |
Methods inherited from class com.gentics.cr.portlet.AContentDisplayPortlet |
---|
dispatch, doView, executeVelocityRender, getRp, prepareDisplayResponse, processAction, serveResource |
Methods inherited from class com.gentics.cr.portlet.AGenticsPortlet |
---|
getCrConf, getFileTemplate, getLog, getStartfolder, getStartpage, init, setCrConf, setLog |
Methods inherited from class javax.portlet.GenericPortlet |
---|
destroy, doDispatch, doEdit, doHeaders, doHelp, getContainerRuntimeOptions, getDefaultNamespace, getInitParameter, getInitParameterNames, getNextPossiblePortletModes, getPortletConfig, getPortletContext, getPortletName, getProcessingEventQNames, getPublicRenderParameterNames, getPublishingEventQNames, getResourceBundle, getSupportedLocales, getTitle, init, processEvent, render |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final String PROPERTYNAME_KEY
private String propertyname
Constructor Detail |
---|
public BaseSidebarPortlet()
Method Detail |
---|
protected void initialize()
AGenticsPortlet
in this method every kind of Gentics portlet can initialize its own connectors and helpers
please remeber! Always call super.init();
if you
override this method!
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 AContentDisplayPortlet
protected void handleError(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response, javax.portlet.PortletException exception)
AContentDisplayPortlet
handleError
in class AContentDisplayPortlet
request
- the requestresponse
- the responseexception
- the exceptionprotected String getContentid(javax.portlet.RenderRequest request) throws com.gentics.cr.exceptions.CRException
AGenticsPortlet
getContentid
in class AGenticsPortlet
request
- the request
com.gentics.cr.exceptions.CRException
protected void doInternalView(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response) throws javax.portlet.PortletException, IOException
AContentDisplayPortlet
TODO
doInternalView
in class AContentDisplayPortlet
request
- the requestresponse
- the response
javax.portlet.PortletException
- the portlet exception
IOException
- Signals that an I/O exception has occurred.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |