labelingsystem-server
Version 0.1.0.0
|
Static Public Member Functions | |
static String | getUserInfoAndCheckPassword (String user, String password) throws SQLException, ClassNotFoundException, AccessDeniedException, IOException |
static boolean | insertUser (String user, String password) throws ClassNotFoundException, IOException, NoSuchAlgorithmException |
static boolean | deactivateUser (String user_name) throws ClassNotFoundException, IOException |
static boolean | activateUser (String user_name) throws ClassNotFoundException, IOException |
static JSONArray | getUsersInfo () throws SQLException, ClassNotFoundException, AccessDeniedException, IOException |
static JSONObject | getUserInfo (String user_name) throws SQLException, ClassNotFoundException, AccessDeniedException, IOException |
static boolean | setLogin (String user, String role) throws ClassNotFoundException, IOException, NoSuchAlgorithmException |
static String[] | getLoginStatus (String userAndToken) throws SQLException, ClassNotFoundException, AccessDeniedException, IOException |
static boolean | setLogout (String user) throws ClassNotFoundException, IOException |
static boolean | insertRetcatString (String vocabulary, String retcatString) throws ClassNotFoundException, IOException |
static boolean | deleteRetcatEntry (String vocabulary) throws ClassNotFoundException, IOException |
static String | getRetcatByVocabulary (String vocabulary) throws SQLException, ClassNotFoundException, AccessDeniedException, IOException |
static boolean | insertRetcatStringForList (String vocabulary, String vocabID) throws ClassNotFoundException, IOException |
static boolean | deleteRetcatEntryForList (String vocabulary) throws ClassNotFoundException, IOException |
static String | getRetcatByVocabularyForList (String vocabulary) throws SQLException, ClassNotFoundException, AccessDeniedException, IOException |
static void | insertStatisticsForVocabuary (String vocabID, String lastModifyAction, int wayback, int translations, int descriptions, int linksexternal, int linksinternal, int linkscount, int labelscount) throws ClassNotFoundException, IOException, SQliteException |
static void | deleteStatisticsForVocabuary (String vocabID) throws ClassNotFoundException, IOException, SQliteException |
static JSONObject | getStatisticsForVocabuary (String vocabulary) throws SQLException, ClassNotFoundException, AccessDeniedException, IOException, SQliteException |
Static Private Attributes | |
static final String | DBDRIVER = "org.sqlite.JDBC" |
|
static |
References SQlite.DBDRIVER, and ConfigProperties.getPropertyParam().
Referenced by AgentsResource.updateAgent().
|
static |
References SQlite.DBDRIVER, and ConfigProperties.getPropertyParam().
Referenced by AgentsResource.updateAgent().
|
static |
References SQlite.DBDRIVER, and ConfigProperties.getPropertyParam().
Referenced by TestsResource.initTest(), RetcatResource.setRetcatForVocabulary(), and RetcatResource.updateRetcatForVocabulary().
|
static |
References SQlite.DBDRIVER, and ConfigProperties.getPropertyParam().
Referenced by TestsResource.initTest(), RetcatResource.setRetcatForVocabularyForList(), and RetcatResource.updateRetcatForVocabularyForList().
|
static |
References SQlite.DBDRIVER, and ConfigProperties.getPropertyParam().
Referenced by Transformer.writeVocabularyStatisticsToDatabase().
|
static |
References SQlite.DBDRIVER, and ConfigProperties.getPropertyParam().
Referenced by AuthResource.loginUser(), and AuthResource.statusUser().
|
static |
References SQlite.DBDRIVER, and ConfigProperties.getPropertyParam().
Referenced by RetcatResource.getRetcatListByVocabulary(), RetcatResource.setRetcatForVocabulary(), and RetcatResource.updateRetcatForVocabulary().
|
static |
References SQlite.DBDRIVER, and ConfigProperties.getPropertyParam().
Referenced by RetcatResource.getRetcatListByVocabularyForList(), RetcatResource.setRetcatForVocabularyForList(), and RetcatResource.updateRetcatForVocabularyForList().
|
static |
References SQlite.DBDRIVER, and ConfigProperties.getPropertyParam().
Referenced by Transformer.vocabulary_GET().
|
static |
References SQlite.DBDRIVER, and ConfigProperties.getPropertyParam().
Referenced by AgentsResource.getAgent(), AgentsResource.getAgent_JSON(), AgentsResource.getAgents(), AgentsResource.postAgent(), and AgentsResource.updateAgent().
|
static |
References SQlite.DBDRIVER, ConfigProperties.getPropertyParam(), and Crypt.SHA1().
Referenced by AuthResource.loginUser().
|
static |
References SQlite.DBDRIVER, and ConfigProperties.getPropertyParam().
|
static |
References SQlite.DBDRIVER, and ConfigProperties.getPropertyParam().
Referenced by RetcatResource.setRetcatForVocabulary(), and RetcatResource.updateRetcatForVocabulary().
|
static |
References SQlite.DBDRIVER, and ConfigProperties.getPropertyParam().
Referenced by RetcatResource.setRetcatForVocabularyForList(), and RetcatResource.updateRetcatForVocabularyForList().
|
static |
References SQlite.DBDRIVER, and ConfigProperties.getPropertyParam().
Referenced by Transformer.writeVocabularyStatisticsToDatabase().
|
static |
References SQlite.DBDRIVER, Crypt.generateHash(), ConfigProperties.getPropertyParam(), and Crypt.SHA1().
Referenced by AgentsResource.postAgent().
|
static |
References SQlite.DBDRIVER, and ConfigProperties.getPropertyParam().
Referenced by AuthResource.loginUser().
|
static |
References SQlite.DBDRIVER, and ConfigProperties.getPropertyParam().
Referenced by AuthResource.logoutUser().
|
staticprivate |
Referenced by SQlite.activateUser(), SQlite.deactivateUser(), SQlite.deleteRetcatEntry(), SQlite.deleteRetcatEntryForList(), SQlite.deleteStatisticsForVocabuary(), SQlite.getLoginStatus(), SQlite.getRetcatByVocabulary(), SQlite.getRetcatByVocabularyForList(), SQlite.getStatisticsForVocabuary(), SQlite.getUserInfo(), SQlite.getUserInfoAndCheckPassword(), SQlite.getUsersInfo(), SQlite.insertRetcatString(), SQlite.insertRetcatStringForList(), SQlite.insertStatisticsForVocabuary(), SQlite.insertUser(), SQlite.setLogin(), and SQlite.setLogout().