com.atlassian.jira.web.action.util
Class UserAction

java.lang.Object
  extended by webwork.action.ActionSupport
      extended by com.atlassian.jira.web.action.util.UserAction
All Implemented Interfaces:
Serializable, webwork.action.Action, webwork.action.IllegalArgumentAware

public class UserAction
extends webwork.action.ActionSupport

Simple action to get the config object from WW, and to use it

See Also:
Serialized Form

Field Summary
 
Fields inherited from class webwork.action.ActionSupport
command, errorMap, errorMessages, log
 
Fields inherited from interface webwork.action.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
UserAction()
           
 
Method Summary
 Collection getAdministrators()
          Return the list of all administrators.
 User getUser(String username)
          Returns a user found by the given username.
 
Methods inherited from class webwork.action.ActionSupport
addError, addErrorMessage, addIllegalArgumentException, doDefault, doExecute, doValidation, execute, getActionName, getErrorMessages, getErrors, getHasErrorMessages, getHasErrors, getLocale, getPropertyEditorMessage, getText, getTexts, getTexts, getTimezone, invalidInput, invokeCommand, isCommand, setCommand, setErrorMessages, setErrors, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserAction

public UserAction()
Method Detail

getUser

public User getUser(String username)
Returns a user found by the given username.

Parameters:
username - username to find the user by
Returns:
user found or null if no such user exists

getAdministrators

public Collection getAdministrators()
Return the list of all administrators. It is a list of User objects. Can return null.

Returns:
the list of all administrators


Copyright © 2002-2007 Atlassian. All Rights Reserved.