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:
java.io.Serializable, webwork.action.Action, webwork.action.IllegalArgumentAware

Deprecated. this action should no longer be used as all references in JIRA code have been removed, and tags can be harmful. TODO - remove this class for JIRA 4.2

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
 
Fields inherited from interface webwork.action.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
UserAction(UserUtil userUtil)
          Deprecated.  
 
Method Summary
 java.util.Collection getAdministrators()
          Deprecated.  
 com.opensymphony.user.User getUser(java.lang.String username)
          Deprecated.  
 
Methods inherited from class webwork.action.ActionSupport
addError, addErrorMessage, addIllegalArgumentException, doDefault, doExecute, doValidation, execute, getActionName, getCommandName, 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(UserUtil userUtil)
Deprecated. 
Method Detail

getUser

public com.opensymphony.user.User getUser(java.lang.String username)
Deprecated. 

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 java.util.Collection getAdministrators()
Deprecated. 

Return the list of all administrators. It is a list of User objects. Can return null.

Returns:
the list of all administrators


Copyright © 2002-2010 Atlassian. All Rights Reserved.