|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--uk.ac.ebi.intact.util.SanityChecker
Utility class to perform some sanity checks on the DB. Mainly for use by curators. A report of anomolies detected (as per the list of checks) is sent via email to the appropriate people.
| Constructor Summary | |
SanityChecker(IntactHelper helper,
java.io.PrintWriter writer)
|
|
| Method Summary | |
void |
checkExperiments()
Performs checks on Experiments. |
void |
checkExperimentsPubmedIds()
Performs checks on Experiments. |
void |
checkInteractions()
Performs Interaction checks. |
void |
checkInteractionsBaitAndPrey()
Performs Interaction checks. |
void |
checkProteins()
Performs checks against Proteins. |
void |
cleanUp()
tidies up the DB statements. |
static void |
main(java.lang.String[] args)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SanityChecker(IntactHelper helper,
java.io.PrintWriter writer)
throws IntactException,
java.sql.SQLException
| Method Detail |
public void checkExperiments()
throws IntactException,
java.sql.SQLException
IntactException - Thrown if there was a Helper problem
java.sql.SQLException - Thrown if there was a DB access problem
public void checkExperimentsPubmedIds()
throws IntactException,
java.sql.SQLException
IntactException - Thrown if there was a Helper problem
java.sql.SQLException - Thrown if there was a DB access problem
public void checkInteractions()
throws IntactException,
java.sql.SQLException
IntactException - thrown if there was a search problem
java.sql.SQLException
public void checkInteractionsBaitAndPrey()
throws IntactException,
java.sql.SQLException
IntactException - thrown if there was a search problem
java.sql.SQLException
public void checkProteins()
throws IntactException,
java.sql.SQLException
IntactException - Thrown if there were Helper problems
java.sql.SQLException - thrown if there were DB access problemspublic void cleanUp()
public static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exception
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||