beans.app
Class Schools

java.lang.Object
  extended by beans.AbstractBean
      extended by beans.app.Schools

public class Schools
extends AbstractBean


Constructor Summary
Schools()
           
 
Method Summary
 void addSchool(School school, boolean custom)
           
 School getSchool(int id)
           
 java.util.ArrayList<javax.faces.model.SelectItem> getSchoolList(boolean custom)
           
static void insertSchool(School school)
           
 void replaceSchool(School s)
           
static void updateSchool(School school)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Schools

public Schools()
Method Detail

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