org.apache.jetspeed.portlets.security.roles
Class RoleDetails
java.lang.Object
javax.portlet.GenericPortlet
org.apache.portals.bridges.common.GenericServletPortlet
org.apache.portals.bridges.velocity.GenericVelocityPortlet
org.apache.portals.gems.browser.BrowserPortlet
org.apache.jetspeed.portlets.security.roles.RoleDetails
- All Implemented Interfaces:
- javax.portlet.Portlet, javax.portlet.PortletConfig, org.apache.portals.gems.browser.Browser
public class RoleDetails
- extends org.apache.portals.gems.browser.BrowserPortlet
Role Details
- Version:
- $Id: RoleDetails.java 348264 2005-11-22 22:06:45Z taylor $
- Author:
- David Sean Taylor
Field Summary |
private org.apache.jetspeed.security.RoleManager |
roleManager
|
private org.apache.jetspeed.security.UserManager |
userManager
|
Fields inherited from class org.apache.portals.gems.browser.BrowserPortlet |
BROWSER_ACTION_KEY, BROWSER_ITERATOR, BROWSER_TABLE_SIZE, BROWSER_TITLE_ITERATOR, context, CUSTOMIZE_TEMPLATE, FILTER, FILTERED, FIND, FIRST, LAST, LINKS_READ, log, NEXT, PEID, POOLNAME, PREVIOUS, ROW_LINK, ROW_LINK_IDS, ROW_LINK_TARGETS, ROW_LINK_TYPES, SEARCH_COLUMN, SEARCH_STRING, SORT_COLUMN_NAME, SQL, SQL_PARAM_PREFIX, sqlParameters, sso, START, TABLE_LINK, TABLE_LINK_IDS, TABLE_LINK_TARGETS, TABLE_LINK_TYPES, USER_OBJECT_NAMES, USER_OBJECT_TYPES, USER_OBJECTS, VELOCITY_NULL_ENTRY, WINDOW_SIZE |
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 |
Method Summary |
protected void |
addRole(javax.portlet.ActionRequest actionRequest)
|
protected void |
addUsersToRole(javax.portlet.ActionRequest request,
String users)
|
void |
doView(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
|
void |
getRows(javax.portlet.RenderRequest request,
String sql,
int windowSize)
|
void |
getRows(javax.portlet.RenderRequest request,
String sql,
int windowSize,
String filter)
|
void |
init(javax.portlet.PortletConfig config)
|
void |
processAction(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response)
|
protected void |
removeRole(javax.portlet.ActionRequest actionRequest)
|
protected void |
removeUsersFromRole(javax.portlet.ActionRequest request)
|
Methods inherited from class org.apache.portals.gems.browser.BrowserPortlet |
clearBrowserIterator, doEdit, filter, find, getBrowserIterator, getPreference, getQueryString, getQueryString, getStartIndex, getStartVariable, populate, publishStatusMessage, readLinkParameters, readSqlParameters, readUserParameters, setBrowserIterator, setSQLParameters |
Methods inherited from class org.apache.portals.bridges.velocity.GenericVelocityPortlet |
doCustom, 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 |
userManager
private org.apache.jetspeed.security.UserManager userManager
roleManager
private org.apache.jetspeed.security.RoleManager roleManager
RoleDetails
public RoleDetails()
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.gems.browser.BrowserPortlet
- Throws:
javax.portlet.PortletException
getRows
public void getRows(javax.portlet.RenderRequest request,
String sql,
int windowSize)
- Specified by:
getRows
in interface org.apache.portals.gems.browser.Browser
- Overrides:
getRows
in class org.apache.portals.gems.browser.BrowserPortlet
getRows
public void getRows(javax.portlet.RenderRequest request,
String sql,
int windowSize,
String filter)
- Overrides:
getRows
in class org.apache.portals.gems.browser.BrowserPortlet
doView
public void doView(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
throws javax.portlet.PortletException,
IOException
- Overrides:
doView
in class org.apache.portals.gems.browser.BrowserPortlet
- 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.gems.browser.BrowserPortlet
- Throws:
javax.portlet.PortletException
IOException
addRole
protected void addRole(javax.portlet.ActionRequest actionRequest)
removeRole
protected void removeRole(javax.portlet.ActionRequest actionRequest)
addUsersToRole
protected void addUsersToRole(javax.portlet.ActionRequest request,
String users)
removeUsersFromRole
protected void removeUsersFromRole(javax.portlet.ActionRequest request)
Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.