Class PageHelper


  • public class PageHelper
    extends java.lang.Object
    Class for creating an instance of a page.
    • Constructor Summary

      Constructors 
      Constructor Description
      PageHelper()  
    • Method Summary

      Modifier and Type Method Description
      static TeachingAssistantPage getInstance​(TeachingAssistant teachingAssistant, int pageNumber, boolean summer, int numberReturnByDays)
      Returns an instance of a page for a teaching assistant job offer.
      • Methods inherited from class java.lang.Object

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

      • PageHelper

        public PageHelper()
    • Method Detail

      • getInstance

        public static TeachingAssistantPage getInstance​(TeachingAssistant teachingAssistant,
                                                        int pageNumber,
                                                        boolean summer,
                                                        int numberReturnByDays)
        Returns an instance of a page for a teaching assistant job offer.
        Parameters:
        teachingAssistant - the teaching assistant which provides dynamic data for the page
        pageNumber - the page number
        summer - true if the form is for the summer semester; false otherwise
        numberReturnByDays - the number of days before the completed form is due
        Returns:
        an instance of a page for a teaching assistant job offer