|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjavax.portlet.GenericPortlet
org.apache.portals.bridges.common.GenericServletPortlet
org.apache.jetspeed.demo.simple.AttributeScopeServlet
This class only exists to maintain the Help and View page names. As soon as the container/engine will retain the preferences this class can be replaced by configuring portlet preferences.
| Field Summary | |
private static String |
APPLICATION_SCOPE_NAME
|
private static String |
DEFAULT_ACTION_PAGE
Default action page when preference does not exist |
private static String |
DEFAULT_CUSTOM_PAGE
Default custom page when preference does not exist |
private static String |
DEFAULT_EDIT_PAGE
Default edit page when preference does not exist |
private static String |
DEFAULT_HELP_PAGE
Default help page when preference does not exist |
private static String |
DEFAULT_VIEW_PAGE
Default help page when preference does not exist |
private static String |
PORTLET_SCOPE_NAME
|
private static String |
REQUEST_SCOPE_NAME
|
private static String |
SESSION_SCOPE_NAME
|
| Fields inherited from class org.apache.portals.bridges.common.GenericServletPortlet |
PARAM_ACTION_PAGE, PARAM_ALLOW_PREFERENCES, PARAM_CUSTOM_PAGE, PARAM_EDIT_PAGE, PARAM_HELP_PAGE, PARAM_MAX_PAGE, PARAM_VIEW_PAGE |
| Fields inherited from class javax.portlet.GenericPortlet |
|
| Constructor Summary | |
AttributeScopeServlet()
Set default page values when class is created |
|
| Method Summary | |
void |
processAction(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse actionResponse)
Increment attributes in different scopes |
| Methods inherited from class org.apache.portals.bridges.common.GenericServletPortlet |
doCustom, doEdit, doHelp, doView, getDefaultActionPage, getDefaultCustomPage, getDefaultEditPage, getDefaultHelpPage, getDefaultViewPage, init, processPreferencesAction, setDefaultActionPage, setDefaultCustomPage, setDefaultEditPage, setDefaultHelpPage, setDefaultViewPage |
| Methods inherited from class javax.portlet.GenericPortlet |
destroy, doDispatch, getInitParameter, getInitParameterNames, getPortletConfig, getPortletContext, getPortletName, getResourceBundle, getTitle, init, 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 DEFAULT_ACTION_PAGE
GenericServletPortlet.processAction(javax.portlet.ActionRequest, javax.portlet.ActionResponse)private static final String DEFAULT_CUSTOM_PAGE
GenericServletPortlet.doCustom(javax.portlet.RenderRequest, javax.portlet.RenderResponse)private static final String DEFAULT_EDIT_PAGE
GenericServletPortlet.doEdit(javax.portlet.RenderRequest, javax.portlet.RenderResponse)private static final String DEFAULT_HELP_PAGE
GenericServletPortlet.doHelp(javax.portlet.RenderRequest, javax.portlet.RenderResponse),
Constant Field Valuesprivate static final String DEFAULT_VIEW_PAGE
GenericServletPortlet.doView(javax.portlet.RenderRequest, javax.portlet.RenderResponse),
Constant Field Valuesprivate static final String APPLICATION_SCOPE_NAME
private static final String PORTLET_SCOPE_NAME
private static final String REQUEST_SCOPE_NAME
private static final String SESSION_SCOPE_NAME
| Constructor Detail |
public AttributeScopeServlet()
| Method Detail |
public void processAction(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse actionResponse)
throws javax.portlet.PortletException,
IOException
javax.portlet.PortletException
IOExceptionGenericPortlet.processAction(javax.portlet.ActionRequest, javax.portlet.ActionResponse)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||