Skip navigation links
org.sourceforge.vlibrary.user.forms

Class BookSearchForm

    • Constructor Detail

      • BookSearchForm

        public BookSearchForm()
    • Method Detail

      • getAuthorLastName

        public String getAuthorLastName()
      • setAuthorLastName

        public void setAuthorLastName(String authorLastName)
      • getQueryType

        public String getQueryType()
      • setQueryType

        public void setQueryType(String queryType)
      • getSelector

        public String getSelector()
      • setSelector

        public void setSelector(String selector)
      • getSubjectString

        public String getSubjectString()
      • getSubjectListString

        public String getSubjectListString()
      • setSubjectString

        public void setSubjectString(String inString)
        todo -- replace with generic function
      • getTitle

        public String getTitle()
      • setTitle

        public void setTitle(String title)
      • validate

        public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping,
                                                              javax.servlet.http.HttpServletRequest request)
        Validate the properties that have been set from this HTTP request, and return an ActionErrors object that encapsulates any validation errors that have been found. If no errors are found, return null or an ActionErrors object with no recorded error messages.
        Uses LibraryMgr.subjectExists() to validate subjects
        Overrides:
        validate in class org.apache.struts.action.ActionForm
        Parameters:
        mapping - The mapping used to select this instance
        request - The servlet request we are processing
      • getSubjectList

        public ArrayList<Subject> getSubjectList()
        Getter for property subjectList.
        Returns:
        Value of property subjectList.
      • setSubjectList

        public void setSubjectList(ArrayList<Subject> subjectList)
        Setter for property subjectList.
        Parameters:
        subjectList - New value of property subjectList.

Copyright © 2003-2017 The Virtual Library Team. All Rights Reserved.