|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--RetrieverUtils
Static methods used in the FrontEnd to query the SAS database system.
| Constructor Summary | |
RetrieverUtils()
|
|
| Method Summary | |
static java.util.HashMap |
getMajors()
Builds a HashMap of major names mapping to minor ids. |
static java.util.HashMap |
getMinors()
Builds a HashMap of minor names mapping to minor ids. |
static boolean |
isMajorOkWithMinor(java.lang.String major,
java.lang.String minor)
Checks to see if a particular minor is allowed with a particular major. |
static void |
translateCourseList(java.util.Collection courseList)
When a student's Banner transcript is parsed into a list of courses, it obviously does not contain the course id's used to represent the courses in the SAS database. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public RetrieverUtils()
| Method Detail |
public static void translateCourseList(java.util.Collection courseList)
throws java.sql.SQLException
courseList - a Collection of Course objects to translate.
java.sql.SQLException - if an error occurs while connecting to the SAS database.
public static boolean isMajorOkWithMinor(java.lang.String major,
java.lang.String minor)
throws java.sql.SQLException
major - A major id from the SAS database.minor - A minor id from the SAS database.
java.sql.SQLException - if an error occurs while connecting to the SAS database.
public static java.util.HashMap getMajors()
throws java.sql.SQLException
java.sql.SQLException - if an error occurs while connecting to the SAS database.
public static java.util.HashMap getMinors()
throws java.sql.SQLException
java.sql.SQLException - if an error occurs while connecting to the SAS database.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||