- java.lang.Object
-
- ca.ubc.ece.flowable.teaching.assistants.pages.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.
-
-
-
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 pagepageNumber
- the page numbersummer
- true if the form is for the summer semester; false otherwisenumberReturnByDays
- the number of days before the completed form is due- Returns:
- an instance of a page for a teaching assistant job offer
-
-