Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.RuntimeCollective.webapps.action
Class SearchNotInGroupUserAction  view SearchNotInGroupUserAction download SearchNotInGroupUserAction.java

java.lang.Object
  extended byorg.apache.struts.action.Action
      extended bycom.RuntimeCollective.webapps.action.SearchUserAction
          extended bycom.RuntimeCollective.webapps.action.SearchNotInGroupUserAction

public final class SearchNotInGroupUserAction
extends SearchUserAction

Implementation of Action that searches for users.

Version:
$Id: SearchNotInGroupUserAction.java,v 1.7 2003/09/30 15:13:08 joe Exp $

Field Summary
 
Fields inherited from class org.apache.struts.action.Action
defaultLocale, servlet
 
Constructor Summary
SearchNotInGroupUserAction()
           
 
Method Summary
 org.apache.struts.action.ActionForward perform(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Search for users, but exclude from the search results the users which are in the UserGroup specified by the groupId of the form, or set in the session under the key "com.RuntimeCollective.webapps.bean.UserGroup".
 
Methods inherited from class org.apache.struts.action.Action
addErrors, addMessages, execute, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchNotInGroupUserAction

public SearchNotInGroupUserAction()
Method Detail

perform

public org.apache.struts.action.ActionForward perform(org.apache.struts.action.ActionMapping mapping,
                                                      org.apache.struts.action.ActionForm form,
                                                      javax.servlet.http.HttpServletRequest request,
                                                      javax.servlet.http.HttpServletResponse response)
                                               throws java.io.IOException,
                                                      javax.servlet.ServletException
Search for users, but exclude from the search results the users which are in the UserGroup specified by the groupId of the form, or set in the session under the key "com.RuntimeCollective.webapps.bean.UserGroup".

The following local Forwards are returned:
failure - if there was a problem
success - if the search was conducted successfully (though not necessarily fruitfully.)

The following error messages are returned:
error.db.connection - if there was a problem connecting to the database.

Overrides:
perform in class SearchUserAction