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, STRINGFields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the active.Collection<?> Gets the categories.Collection<?> Gets the category options.Gets the completions.getId()Gets the id.getName()Gets the name.Gets the password.getUid()Gets the uid.ecmwf.web.model.users.UsergetUser()Gets the user.Gets the user data.protected voidpopulateFromUser(ecmwf.web.model.users.User u) Populate from user.protected voidpopulateUser(ecmwf.web.model.users.User u) Populate user.voidSets the active.voidSets the id.voidSets the name.voidsetPassword(String string) Sets the password.voidSets the uid.voidsetUser(ecmwf.web.model.users.User user) Sets the user.voidSets 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, validateContentMethods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServlet, getServletWrapper, reset, reset, setMultipartRequestHandler, setServlet, validate, validate
-
Constructor Details
-
UserActionForm
public UserActionForm()
-
-
Method Details
-
getId
-
getPassword
-
getName
-
getUid
-
getUser
public ecmwf.web.model.users.User getUser()Gets the user.- Returns:
- the user
-
getActive
-
setId
-
setPassword
-
setName
-
setUid
-
setUser
public void setUser(ecmwf.web.model.users.User user) Sets the user.- Parameters:
user- the new user
-
setActive
-
setUserData
-
getUserData
-
getCategories
-
getCategoryOptions
-
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
-