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, 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.
    Collection<ecmwf.web.model.users.Category>
    Gets the categories.
    Collection<ecmwf.web.model.users.Category>
    Gets the category options.
    Gets the id.
    Gets the path.
    protected void
    populateFromResource(ecmwf.web.model.users.Resource resource)
    Populate from resource.
    protected void
    populateResource(ecmwf.web.model.users.Resource r)
    Populate resource.
    void
    setActive(String string)
    Sets the active.
    void
    Sets the id.
    void
    setPath(String string)
    Sets 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, validateContent

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

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

    Methods inherited from class java.lang.Object

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

    • ResourceActionForm

      public ResourceActionForm()
  • Method Details

    • getId

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

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

      public String getPath()
      Gets the path.
      Returns:
      the path
    • setPath

      public void setPath(String string)
      Sets the path.
      Parameters:
      string - the new path
    • getActive

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

      public void setActive(String string)
      Sets the active.
      Parameters:
      string - the new active
    • getCategories

      public Collection<ecmwf.web.model.users.Category> getCategories()
      Gets the categories.
      Returns:
      All the Categories currently associated to the Resource
    • getCategoryOptions

      public Collection<ecmwf.web.model.users.Category> 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