Class TemplateSettingsForm

  • All Implemented Interfaces:
    java.io.Serializable

    public class TemplateSettingsForm
    extends org.apache.struts.action.ActionForm
    Form used when building a template.
    Author:
    Thomas Riley
    See Also:
    Serialized Form
    • Field Summary

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

        multipartRequestHandler, servlet
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getActionType()  
      java.lang.String getComment()
      Return the comment
      java.lang.String getDescription()
      Return the description.
      java.lang.String getName()  
      java.lang.String getTitle()
      Return the title
      void reset​(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
      Reset the form bean taking initial state from current TemplateBuildState session attribute.
      void setActionType​(java.lang.String actionType)  
      void setComment​(java.lang.String comment)
      Set the comment
      void setDescription​(java.lang.String description)
      Set the description
      void setName​(java.lang.String name)  
      void setTitle​(java.lang.String title)
      Set the title
      org.apache.struts.action.ActionErrors validate​(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)  
      • Methods inherited from class org.apache.struts.action.ActionForm

        getMultipartRequestHandler, getServlet, getServletWrapper, reset, setMultipartRequestHandler, setServlet, validate
      • Methods inherited from class java.lang.Object

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

      • TemplateSettingsForm

        public TemplateSettingsForm()
    • Method Detail

      • getDescription

        public java.lang.String getDescription()
        Return the description.
        Returns:
        the description.
      • setDescription

        public void setDescription​(java.lang.String description)
        Set the description
        Parameters:
        description - The description to set.
      • getTitle

        public java.lang.String getTitle()
        Return the title
        Returns:
        the title
      • setTitle

        public void setTitle​(java.lang.String title)
        Set the title
        Parameters:
        title - the title
      • getComment

        public java.lang.String getComment()
        Return the comment
        Returns:
        the comment
      • setComment

        public void setComment​(java.lang.String comment)
        Set the comment
        Parameters:
        comment - the comment
      • getName

        public java.lang.String getName()
        Returns:
        Returns the name.
      • setName

        public void setName​(java.lang.String name)
        Parameters:
        name - The name to set.
      • reset

        public void reset​(org.apache.struts.action.ActionMapping mapping,
                          javax.servlet.http.HttpServletRequest request)
        Reset the form bean taking initial state from current TemplateBuildState session attribute.
        Overrides:
        reset in class org.apache.struts.action.ActionForm
      • validate

        public org.apache.struts.action.ActionErrors validate​(org.apache.struts.action.ActionMapping mapping,
                                                              javax.servlet.http.HttpServletRequest request)
        Overrides:
        validate in class org.apache.struts.action.ActionForm
      • getActionType

        public java.lang.String getActionType()
        Returns:
        the type of action
      • setActionType

        public void setActionType​(java.lang.String actionType)
        Parameters:
        actionType - the type of action