Class IncomingPolicyActionForm

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

public class IncomingPolicyActionForm extends ecmwf.web.controller.ECMWFActionForm
The Class IncomingPolicyActionForm.
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 comment.
    Gets the completions.
    Gets the data.
    Collection<ecmwf.web.util.bean.Pair>
    Gets the destination options.
    Gets the destinations.
    Gets the id.
    Gets the incoming policy.
    protected void
    Populate from policy.
    protected void
    Populate policy.
    void
    Sets the active.
    void
    Sets the comment.
    void
    Sets the data.
    void
    setId(String string)
    Sets the id.
    void
    Sets the policy.

    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

    • IncomingPolicyActionForm

      public IncomingPolicyActionForm()
  • Method Details

    • getId

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

      public IncomingPolicy getIncomingPolicy()
      Gets the incoming policy.
      Returns:
      the incoming policy
    • getActive

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

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

      public void setPolicy(IncomingPolicy policy)
      Sets the policy.
      Parameters:
      policy - the new policy
    • setActive

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

      public void setData(String s)
      Sets the data.
      Parameters:
      s - the new data
    • getData

      public String getData()
      Gets the data.
      Returns:
      the data
    • setComment

      public void setComment(String s)
      Sets the comment.
      Parameters:
      s - the new comment
    • getCompletions

      public String getCompletions()
      Gets the completions.
      Returns:
      the completions
    • getComment

      public String getComment()
      Gets the comment.
      Returns:
      the comment
    • getDestinations

      public Collection<Destination> getDestinations()
      Gets the destinations.
      Returns:
      All the Destinations currently associated to the IncomingPolicy
    • getDestinationOptions

      public Collection<ecmwf.web.util.bean.Pair> getDestinationOptions()
      Gets the destination options.
      Returns:
      All the Destinations currently NOT associated to the IncomingPolicy
    • populatePolicy

      protected void populatePolicy(IncomingPolicy p)
      Populate policy.
      Parameters:
      p - the p
    • populateFromPolicy

      protected void populateFromPolicy(IncomingPolicy p)
      Populate from policy.
      Parameters:
      p - the p