Class ResourceActionForm
java.lang.Object
org.apache.struts.action.ActionForm
ecmwf.web.controller.ECMWFActionForm
ecmwf.ecpds.master.plugin.http.controller.user.resource.ResourceActionForm
- All Implemented Interfaces:
Serializable
public class ResourceActionForm
extends ecmwf.web.controller.ECMWFActionForm
The Class ResourceActionForm.
- 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<ecmwf.web.model.users.Category> Gets the categories.Collection<ecmwf.web.model.users.Category> Gets the category options.getId()Gets the id.getPath()Gets the path.protected voidpopulateFromResource(ecmwf.web.model.users.Resource resource) Populate from resource.protected voidpopulateResource(ecmwf.web.model.users.Resource r) Populate resource.voidSets the active.voidSets the id.voidSets the path.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
-
ResourceActionForm
public ResourceActionForm()
-
-
Method Details
-
getId
-
setId
-
getPath
-
setPath
-
getActive
-
setActive
-
getCategories
Gets the categories.- Returns:
- All the Categories currently associated to the Resource
-
getCategoryOptions
Gets the category options.- Returns:
- All the Categories NOT currently associated to the Resource
-
populateResource
protected void populateResource(ecmwf.web.model.users.Resource r) Populate resource.- Parameters:
r- the r
-
populateFromResource
protected void populateFromResource(ecmwf.web.model.users.Resource resource) Populate from resource.- Parameters:
resource- the resource
-