Package tigase.db.derby
Class StoredProcedures
java.lang.Object
tigase.db.derby.StoredProcedures
- Version:
- 5.1.0, 2010.09.11 at 02:08:58 BST
- Author:
- Artur Hefczyc
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidtigAccountStatus(String user, ResultSet[] data) static voidtigActiveAccounts(ResultSet[] data) static voidtigAddNode(long parentNid, long uid, String node, ResultSet[] data) static voidtigAddUser(String userId, String userPw, ResultSet[] data) static voidtigAddUserPlainPw(String userId, String userPw, ResultSet[] data) static voidtigAllUsers(ResultSet[] data) static voidtigAllUsersCount(ResultSet[] data) static voidtigDisableAccount(String userId) static voidtigDisabledAccounts(ResultSet[] data) static voidtigEnableAccount(String userId) static voidtigGetComponentVersion(String component, ResultSet[] data) static StringtigGetDBProperty(String key) static voidtigGetPassword(String userId, ResultSet[] data) static voidtigGetUserDBUid(String userId, ResultSet[] data) static voidstatic voidtigOfflineUsers(ResultSet[] data) static voidtigOnlineUsers(ResultSet[] data) static voidtigRemoveUser(String userId) static voidtigSetComponentVersion(String name, String version) static voidtigUpdateAccountStatus(String user, int status) static voidtigUpdateLoginTime(String userId) static voidtigUpdatePairs(long nid, long uid, String key, Clob value) static voidtigUpdatePasswordPlainPw(String userId, String userPw) static voidtigUpdatePasswordPlainPwRev(String userPw, String userId) static voidtigUserCredentialRemove(String userId, String username) static voidtigUserCredentialsGet(String userId, String username, ResultSet[] data) static voidtigUserCredentialUpdate(String userId, String username, String mechanism, String value) static voidtigUserLoginPlainPw(String userId, String userPw, ResultSet[] data) static voidtigUserLogout(String userId) static voidtigUserUsernamesGet(String userId, ResultSet[] data)
-
Constructor Details
-
StoredProcedures
public StoredProcedures()
-
-
Method Details
-
tigAccountStatus
- Throws:
SQLException
-
tigActiveAccounts
- Throws:
SQLException
-
tigAddNode
public static void tigAddNode(long parentNid, long uid, String node, ResultSet[] data) throws SQLException - Throws:
SQLException
-
tigAddUser
- Throws:
SQLException
-
tigAddUserPlainPw
public static void tigAddUserPlainPw(String userId, String userPw, ResultSet[] data) throws SQLException - Throws:
SQLException
-
tigAllUsers
- Throws:
SQLException
-
tigAllUsersCount
- Throws:
SQLException
-
tigDisableAccount
- Throws:
SQLException
-
tigDisabledAccounts
- Throws:
SQLException
-
tigEnableAccount
- Throws:
SQLException
-
tigGetComponentVersion
- Throws:
SQLException
-
tigGetDBProperty
- Throws:
SQLException
-
tigGetPassword
- Throws:
SQLException
-
tigGetUserDBUid
- Throws:
SQLException
-
tigInitdb
- Throws:
SQLException
-
tigOfflineUsers
- Throws:
SQLException
-
tigOnlineUsers
- Throws:
SQLException
-
tigRemoveUser
- Throws:
SQLException
-
tigSetComponentVersion
- Throws:
SQLException
-
tigUpdateAccountStatus
- Throws:
SQLException
-
tigUpdateLoginTime
- Throws:
SQLException
-
tigUpdatePairs
- Throws:
SQLException
-
tigUpdatePasswordPlainPw
- Throws:
SQLException
-
tigUpdatePasswordPlainPwRev
- Throws:
SQLException
-
tigUserCredentialRemove
- Throws:
SQLException
-
tigUserCredentialUpdate
public static void tigUserCredentialUpdate(String userId, String username, String mechanism, String value) throws SQLException - Throws:
SQLException
-
tigUserCredentialsGet
public static void tigUserCredentialsGet(String userId, String username, ResultSet[] data) throws SQLException - Throws:
SQLException
-
tigUserLoginPlainPw
public static void tigUserLoginPlainPw(String userId, String userPw, ResultSet[] data) throws SQLException - Throws:
SQLException
-
tigUserLogout
- Throws:
SQLException
-
tigUserUsernamesGet
- Throws:
SQLException
-