beans.app
Class Schools
java.lang.Object
beans.AbstractBean
beans.app.Schools
public class Schools
- extends AbstractBean
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Schools
public Schools()
addSchool
public void addSchool(School school,
boolean custom)
getSchool
public School getSchool(int id)
getSchoolList
public java.util.ArrayList<javax.faces.model.SelectItem> getSchoolList(boolean custom)
insertSchool
public static void insertSchool(School school)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
replaceSchool
public void replaceSchool(School s)
updateSchool
public static void updateSchool(School school)
throws java.sql.SQLException
- Throws:
java.sql.SQLException