org.apache.jetspeed.portlets.custom
Class CustomConfigModePortlet
java.lang.Object
javax.portlet.GenericPortlet
org.apache.portals.bridges.common.GenericServletPortlet
org.apache.portals.bridges.velocity.GenericVelocityPortlet
org.apache.jetspeed.portlets.custom.CustomConfigModePortlet
- All Implemented Interfaces:
- javax.portlet.Portlet, javax.portlet.PortletConfig
public class CustomConfigModePortlet
- extends org.apache.portals.bridges.velocity.GenericVelocityPortlet
Common Custom Config Mode Portlet
- Version:
- $Id: $
- Author:
- Woonsan Ko
Fields inherited from class org.apache.portals.bridges.velocity.GenericVelocityPortlet |
PORTLET_BRIDGE_CONTEXT |
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 |
Methods inherited from class org.apache.portals.bridges.velocity.GenericVelocityPortlet |
doCustom, doEdit, doHelp, doPreferencesEdit, doView, getContext, getContext, render, setupPreferencesEdit |
Methods inherited from class org.apache.portals.bridges.common.GenericServletPortlet |
getDefaultActionPage, getDefaultCustomPage, getDefaultEditPage, getDefaultHelpPage, getDefaultViewPage, processPreferencesAction, setDefaultActionPage, setDefaultCustomPage, setDefaultEditPage, setDefaultHelpPage, setDefaultViewPage |
Methods inherited from class javax.portlet.GenericPortlet |
destroy, getInitParameter, getInitParameterNames, getPortletConfig, getPortletContext, getPortletName, getResourceBundle, getTitle, init |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONFIG_MODE
private static final javax.portlet.PortletMode CONFIG_MODE
DELIMITERS
private static final String DELIMITERS
- See Also:
- Constant Field Values
pageManager
private org.apache.jetspeed.page.PageManager pageManager
configPage
private String configPage
CustomConfigModePortlet
public CustomConfigModePortlet()
init
public void init(javax.portlet.PortletConfig config)
throws javax.portlet.PortletException
- Specified by:
init
in interface javax.portlet.Portlet
- Overrides:
init
in class org.apache.portals.bridges.velocity.GenericVelocityPortlet
- Throws:
javax.portlet.PortletException
doDispatch
protected void doDispatch(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
throws javax.portlet.PortletException,
IOException
- Overrides:
doDispatch
in class javax.portlet.GenericPortlet
- Throws:
javax.portlet.PortletException
IOException
processAction
public void processAction(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response)
throws javax.portlet.PortletException,
IOException
- Specified by:
processAction
in interface javax.portlet.Portlet
- Overrides:
processAction
in class org.apache.portals.bridges.velocity.GenericVelocityPortlet
- Throws:
javax.portlet.PortletException
IOException
addSecurityConstraint
private void addSecurityConstraint(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response)
throws javax.portlet.PortletException,
IOException
- Throws:
javax.portlet.PortletException
IOException
removeSecurityConstraint
private void removeSecurityConstraint(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response)
throws javax.portlet.PortletException,
IOException
- Throws:
javax.portlet.PortletException
IOException
updateSecurityConstraintRefs
private void updateSecurityConstraintRefs(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response)
throws javax.portlet.PortletException,
IOException
- Throws:
javax.portlet.PortletException
IOException
convertToSet
private Set convertToSet(String s,
String delimiters)
equalsSetAndList
private boolean equalsSetAndList(Set set,
List list)
Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.