package net.sourceforge.fenixedu.dataTransferObject.administrativeOffice.gradeBook; import java.util.List; import net.sourceforge.fenixedu.dataTransferObject.PageContainerBean; import net.sourceforge.fenixedu.domain.gradeBook.GradeBook; public class GradeBookPagedBean extends PageContainerBean { private String previousMethod = "listAll"; private String codeToSearch; public GradeBookPagedBean(final List gradeBooks) { super(); setObjects(gradeBooks); } public GradeBookPagedBean(final String codeToSearch, final List gradeBooks) { super(); setCodeToSearch(codeToSearch); setObjects(gradeBooks); } /** * @return the previousMethod */ public String getPreviousMethod() { return previousMethod; } /** * @param previousMethod * the previousMethod to set */ public void setPreviousMethod(String previousMethod) { this.previousMethod = previousMethod; } /** * @return the codeToSearch */ public String getCodeToSearch() { return codeToSearch; } /** * @param codeToSearch * the codeToSearch to set */ public void setCodeToSearch(String codeToSearch) { this.codeToSearch = codeToSearch; } }