org.apache.jetspeed.portlets.security.permissions
Class SecurityPermissionsPortlet

java.lang.Object
  extended by javax.portlet.GenericPortlet
      extended by org.apache.portals.bridges.common.GenericServletPortlet
          extended by org.apache.portals.bridges.velocity.GenericVelocityPortlet
              extended by org.apache.portals.gems.dojo.AbstractDojoVelocityPortlet
                  extended by org.apache.jetspeed.portlets.security.permissions.SecurityPermissionsPortlet
All Implemented Interfaces:
javax.portlet.Portlet, javax.portlet.PortletConfig, SupportsHeaderPhase

public class SecurityPermissionsPortlet
extends AbstractDojoVelocityPortlet

Security Permissions Portlet

Version:
$Id: $
Author:
David Sean Taylor

Nested Class Summary
 class SecurityPermissionsPortlet.PermissionData
           
 
Field Summary
protected  org.apache.commons.logging.Log logger
           
protected  PermissionManager pm
           
protected  RoleManager rm
           
 
Fields inherited from class org.apache.portals.gems.dojo.AbstractDojoVelocityPortlet
headerPage
 
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
 
Constructor Summary
SecurityPermissionsPortlet()
           
 
Method Summary
 void doView(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response)
           
protected  void includeHeaderContent(HeaderResource headerResource)
           
 void init(javax.portlet.PortletConfig config)
           
 void processAction(javax.portlet.ActionRequest request, javax.portlet.ActionResponse actionResponse)
           
 void retrievePermissions(javax.portlet.PortletSession session, org.apache.velocity.context.Context context)
           
 
Methods inherited from class org.apache.portals.gems.dojo.AbstractDojoVelocityPortlet
doHeader, include, include
 
Methods inherited from class org.apache.portals.bridges.velocity.GenericVelocityPortlet
doCustom, doEdit, doHelp, doPreferencesEdit, 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, doDispatch, 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
 

Field Detail

logger

protected final org.apache.commons.logging.Log logger

pm

protected PermissionManager pm

rm

protected RoleManager rm
Constructor Detail

SecurityPermissionsPortlet

public SecurityPermissionsPortlet()
Method Detail

init

public void init(javax.portlet.PortletConfig config)
          throws javax.portlet.PortletException
Specified by:
init in interface javax.portlet.Portlet
Overrides:
init in class AbstractDojoVelocityPortlet
Throws:
javax.portlet.PortletException

includeHeaderContent

protected void includeHeaderContent(HeaderResource headerResource)
Overrides:
includeHeaderContent in class AbstractDojoVelocityPortlet

doView

public void doView(javax.portlet.RenderRequest request,
                   javax.portlet.RenderResponse response)
            throws javax.portlet.PortletException,
                   java.io.IOException
Overrides:
doView in class org.apache.portals.bridges.velocity.GenericVelocityPortlet
Throws:
javax.portlet.PortletException
java.io.IOException

retrievePermissions

public void retrievePermissions(javax.portlet.PortletSession session,
                                org.apache.velocity.context.Context context)

processAction

public void processAction(javax.portlet.ActionRequest request,
                          javax.portlet.ActionResponse actionResponse)
                   throws javax.portlet.PortletException,
                          java.io.IOException
Specified by:
processAction in interface javax.portlet.Portlet
Overrides:
processAction in class org.apache.portals.bridges.velocity.GenericVelocityPortlet
Throws:
javax.portlet.PortletException
java.io.IOException


Copyright © 1999-2009 Apache Software Foundation. All Rights Reserved.