Class UserActionForm

java.lang.Object
org.apache.struts.action.ActionForm
ecmwf.web.controller.ECMWFActionForm
ecmwf.ecpds.master.plugin.http.controller.user.user.UserActionForm
All Implemented Interfaces:
Serializable

public class UserActionForm extends ecmwf.web.controller.ECMWFActionForm
The Class UserActionForm.
See Also:
  • Field Summary

    Fields inherited from class ecmwf.web.controller.ECMWFActionForm

    ALLOWED_IN_IDENTIFIER, DATE, DATE_FORMAT_LONG, DATE_FORMAT_MEDIUM, DATE_FORMAT_SHORT, DATE_FORMATS, IDENTIFIER, ISODATE, NUMBER, NUMBER_OTHER, STRING

    Fields inherited from class org.apache.struts.action.ActionForm

    multipartRequestHandler, servlet
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the active.
    Gets the categories.
    Gets the category options.
    Gets the completions.
    Gets the id.
    Gets the name.
    Gets the password.
    Gets the uid.
    ecmwf.web.model.users.User
    Gets the user.
    Gets the user data.
    protected void
    populateFromUser(ecmwf.web.model.users.User u)
    Populate from user.
    protected void
    populateUser(ecmwf.web.model.users.User u)
    Populate user.
    void
    Sets the active.
    void
    setId(String string)
    Sets the id.
    void
    setName(String string)
    Sets the name.
    void
    Sets the password.
    void
    setUid(String string)
    Sets the uid.
    void
    setUser(ecmwf.web.model.users.User user)
    Sets the user.
    void
    Sets the user data.

    Methods inherited from class ecmwf.web.controller.ECMWFActionForm

    adaptActionForward, adaptActionForward, addError, addError, addError, checkSize, checkType, cleanErrors, convertToBoolean, convertToDate, convertToDate, convertToInt, convertToLong, convertToString, getErrors, getPathParameter, getPathParameters, isDate, isIdentifier, isIsoDate, isNumber, isNumber, isString, newErrors, newErrors, newErrors, newErrors, nonBlank, nonNull, validateContent, validateContent

    Methods inherited from class org.apache.struts.action.ActionForm

    getMultipartRequestHandler, getServlet, getServletWrapper, reset, reset, setMultipartRequestHandler, setServlet, validate, validate

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • UserActionForm

      public UserActionForm()
  • Method Details

    • getId

      public String getId()
      Gets the id.
      Returns:
      the id
    • getPassword

      public String getPassword()
      Gets the password.
      Returns:
      the password
    • getName

      public String getName()
      Gets the name.
      Returns:
      the name
    • getUid

      public String getUid()
      Gets the uid.
      Returns:
      the uid
    • getUser

      public ecmwf.web.model.users.User getUser()
      Gets the user.
      Returns:
      the user
    • getActive

      public String getActive()
      Gets the active.
      Returns:
      the active
    • setId

      public void setId(String string)
      Sets the id.
      Parameters:
      string - the new id
    • setPassword

      public void setPassword(String string)
      Sets the password.
      Parameters:
      string - the new password
    • setName

      public void setName(String string)
      Sets the name.
      Parameters:
      string - the new name
    • setUid

      public void setUid(String string)
      Sets the uid.
      Parameters:
      string - the new uid
    • setUser

      public void setUser(ecmwf.web.model.users.User user)
      Sets the user.
      Parameters:
      user - the new user
    • setActive

      public void setActive(String s)
      Sets the active.
      Parameters:
      s - the new active
    • setUserData

      public void setUserData(String s)
      Sets the user data.
      Parameters:
      s - the new user data
    • getUserData

      public String getUserData()
      Gets the user data.
      Returns:
      the user data
    • getCategories

      public Collection<?> getCategories()
      Gets the categories.
      Returns:
      the categories
    • getCategoryOptions

      public Collection<?> getCategoryOptions()
      Gets the category options.
      Returns:
      the category options
    • getCompletions

      public String getCompletions()
      Gets the completions.
      Returns:
      the completions as JSON for the ACE editor autocomplete
    • populateUser

      protected void populateUser(ecmwf.web.model.users.User u) throws ecmwf.web.controller.ECMWFActionFormException
      Populate user.
      Parameters:
      u - the u
      Throws:
      ecmwf.web.controller.ECMWFActionFormException - the ECMWF action form exception
    • populateFromUser

      protected void populateFromUser(ecmwf.web.model.users.User u)
      Populate from user.
      Parameters:
      u - the u