org.apache.jetspeed.modules.actions.portlets.security
Class UserBrowserAction

java.lang.Object
  extended byorg.apache.turbine.modules.Assembler
      extended byorg.apache.turbine.modules.Action
          extended byorg.apache.turbine.modules.ActionEvent
              extended byorg.apache.jetspeed.modules.actions.portlets.PortletActionEvent
                  extended byorg.apache.jetspeed.modules.actions.portlets.PortletAction
                      extended byorg.apache.jetspeed.modules.actions.portlets.GenericMVCAction
                          extended byorg.apache.jetspeed.modules.actions.portlets.VelocityPortletAction
                              extended byorg.apache.jetspeed.modules.actions.portlets.security.UserBrowserAction

public class UserBrowserAction
extends VelocityPortletAction

This action sets up the template context for browsing of users in the Turbine database.

Version:
$Id: UserBrowserAction.java,v 1.15 2004/08/29 23:09:08 jford Exp $
Author:
David Sean Taylor

Field Summary
static java.lang.String DISPLAY_PAGE
          name of the parameter that holds the page number to display
static java.lang.String FILTER_REGEXP
          name of the parameter that holds the regexp flag
static java.lang.String FILTER_TYPE
          name of the parameter that holds the filter type
static java.lang.String FILTER_TYPE_LASTNAME
          value of the filter type parameter for searching by last name
static java.lang.String FILTER_TYPE_USERNAME
          value of the filter type parameter for searching by username
static java.lang.String FILTER_VALUE
          name of the parameter that holds the filter value
static java.lang.String NUMBER_PER_PAGE
          name of the parameter to this portlet that tells us how many rows to show per page
 
Fields inherited from class org.apache.turbine.modules.ActionEvent
BUTTON, BUTTON_LENGTH, LENGTH, METHOD_NAME_LENGTH, METHOD_NAME_PREFIX
 
Constructor Summary
UserBrowserAction()
           
 
Method Summary
protected  void buildConfigureContext(VelocityPortlet portlet, org.apache.velocity.context.Context context, org.apache.turbine.util.RunData rundata)
          Build the configure state content for this portlet.
protected  void buildMaximizedContext(VelocityPortlet portlet, org.apache.velocity.context.Context context, org.apache.turbine.util.RunData rundata)
          Build the maximized state content for this portlet.
protected  void buildNormalContext(VelocityPortlet portlet, org.apache.velocity.context.Context context, org.apache.turbine.util.RunData rundata)
          Build the normal state content for this portlet.
 
Methods inherited from class org.apache.jetspeed.modules.actions.portlets.VelocityPortletAction
buildConfigureContext, buildMaximizedContext, buildNormalContext
 
Methods inherited from class org.apache.jetspeed.modules.actions.portlets.GenericMVCAction
checkAdministrativeAction, doPerform, getAttribute, getAttribute, getPortletInstance, perform, setAttribute
 
Methods inherited from class org.apache.jetspeed.modules.actions.portlets.PortletAction
doPerform, getContext, getPortlet, getTemplate, resetTemplate, setTemplate, setTemplate
 
Methods inherited from class org.apache.jetspeed.modules.actions.portlets.PortletActionEvent
executeEvents, fireEvent
 
Methods inherited from class org.apache.turbine.modules.ActionEvent
executeEvents, formatString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NUMBER_PER_PAGE

public static final java.lang.String NUMBER_PER_PAGE
name of the parameter to this portlet that tells us how many rows to show per page

See Also:
Constant Field Values

DISPLAY_PAGE

public static final java.lang.String DISPLAY_PAGE
name of the parameter that holds the page number to display

See Also:
Constant Field Values

FILTER_VALUE

public static final java.lang.String FILTER_VALUE
name of the parameter that holds the filter value

See Also:
Constant Field Values

FILTER_REGEXP

public static final java.lang.String FILTER_REGEXP
name of the parameter that holds the regexp flag

See Also:
Constant Field Values

FILTER_TYPE

public static final java.lang.String FILTER_TYPE
name of the parameter that holds the filter type

See Also:
Constant Field Values

FILTER_TYPE_USERNAME

public static final java.lang.String FILTER_TYPE_USERNAME
value of the filter type parameter for searching by username

See Also:
Constant Field Values

FILTER_TYPE_LASTNAME

public static final java.lang.String FILTER_TYPE_LASTNAME
value of the filter type parameter for searching by last name

See Also:
Constant Field Values
Constructor Detail

UserBrowserAction

public UserBrowserAction()
Method Detail

buildMaximizedContext

protected void buildMaximizedContext(VelocityPortlet portlet,
                                     org.apache.velocity.context.Context context,
                                     org.apache.turbine.util.RunData rundata)
Build the maximized state content for this portlet. (Same as normal state).

Overrides:
buildMaximizedContext in class VelocityPortletAction
Parameters:
portlet - The velocity-based portlet that is being built.
context - The velocity context for this request.
rundata - The turbine rundata context for this request.

buildConfigureContext

protected void buildConfigureContext(VelocityPortlet portlet,
                                     org.apache.velocity.context.Context context,
                                     org.apache.turbine.util.RunData rundata)
Build the configure state content for this portlet. TODO: we could configure this portlet with configurable skins, etc..

Overrides:
buildConfigureContext in class VelocityPortletAction
Parameters:
portlet - The velocity-based portlet that is being built.
context - The velocity context for this request.
rundata - The turbine rundata context for this request.

buildNormalContext

protected void buildNormalContext(VelocityPortlet portlet,
                                  org.apache.velocity.context.Context context,
                                  org.apache.turbine.util.RunData rundata)
Build the normal state content for this portlet.

Specified by:
buildNormalContext in class VelocityPortletAction
Parameters:
portlet - The velocity-based portlet that is being built.
context - The velocity context for this request.
rundata - The turbine rundata context for this request.


Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.