tigase.db.derby
Class StoredProcedures

java.lang.Object
  extended by tigase.db.derby.StoredProcedures

public class StoredProcedures
extends java.lang.Object


Constructor Summary
StoredProcedures()
           
 
Method Summary
static void tigActiveAccounts(java.sql.ResultSet[] data)
           
static void TigAddNode(long parentNid, long uid, java.lang.String node, java.sql.ResultSet[] data)
           
static void tigAddUser(java.lang.String userId, java.lang.String userPw, java.sql.ResultSet[] data)
           
static void tigAddUserPlainPw(java.lang.String userId, java.lang.String userPw, java.sql.ResultSet[] data)
           
static void tigAllUsers(java.sql.ResultSet[] data)
           
static void tigAllUsersCount(java.sql.ResultSet[] data)
           
static void tigDisableAccount(java.lang.String userId)
           
static void tigDisabledAccounts(java.sql.ResultSet[] data)
           
static void tigEnableAccount(java.lang.String userId)
           
static java.lang.String tigGetDBProperty(java.lang.String key)
           
static void tigGetPassword(java.lang.String userId, java.sql.ResultSet[] data)
           
static void tigGetUserDBUid(java.lang.String userId, java.sql.ResultSet[] data)
           
static void tigInitdb()
           
static void tigOfflineUsers(java.sql.ResultSet[] data)
           
static void tigOnlineUsers(java.sql.ResultSet[] data)
           
static void tigPutDBProperty(java.lang.String key, java.lang.String value)
           
static void tigRemoveUser(java.lang.String userId)
           
static void tigUpdatePassword(java.lang.String userId, java.lang.String userPw)
           
static void tigUpdatePasswordPlainPw(java.lang.String userId, java.lang.String userPw)
           
static void tigUpdatePasswordPlainPwRev(java.lang.String userPw, java.lang.String userId)
           
static void tigUserLogin(java.lang.String userId, java.lang.String userPw, java.sql.ResultSet[] data)
           
static void tigUserLoginPlainPw(java.lang.String userId, java.lang.String userPw, java.sql.ResultSet[] data)
           
static void tigUserLogout(java.lang.String userId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StoredProcedures

public StoredProcedures()
Method Detail

tigActiveAccounts

public static void tigActiveAccounts(java.sql.ResultSet[] data)
                              throws java.sql.SQLException
Throws:
java.sql.SQLException

TigAddNode

public static void TigAddNode(long parentNid,
                              long uid,
                              java.lang.String node,
                              java.sql.ResultSet[] data)
                       throws java.sql.SQLException
Throws:
java.sql.SQLException

tigAddUser

public static void tigAddUser(java.lang.String userId,
                              java.lang.String userPw,
                              java.sql.ResultSet[] data)
                       throws java.sql.SQLException
Throws:
java.sql.SQLException

tigAddUserPlainPw

public static void tigAddUserPlainPw(java.lang.String userId,
                                     java.lang.String userPw,
                                     java.sql.ResultSet[] data)
                              throws java.sql.SQLException
Throws:
java.sql.SQLException

tigAllUsers

public static void tigAllUsers(java.sql.ResultSet[] data)
                        throws java.sql.SQLException
Throws:
java.sql.SQLException

tigAllUsersCount

public static void tigAllUsersCount(java.sql.ResultSet[] data)
                             throws java.sql.SQLException
Throws:
java.sql.SQLException

tigDisableAccount

public static void tigDisableAccount(java.lang.String userId)
                              throws java.sql.SQLException
Throws:
java.sql.SQLException

tigDisabledAccounts

public static void tigDisabledAccounts(java.sql.ResultSet[] data)
                                throws java.sql.SQLException
Throws:
java.sql.SQLException

tigEnableAccount

public static void tigEnableAccount(java.lang.String userId)
                             throws java.sql.SQLException
Throws:
java.sql.SQLException

tigGetDBProperty

public static java.lang.String tigGetDBProperty(java.lang.String key)
                                         throws java.sql.SQLException
Throws:
java.sql.SQLException

tigGetPassword

public static void tigGetPassword(java.lang.String userId,
                                  java.sql.ResultSet[] data)
                           throws java.sql.SQLException
Throws:
java.sql.SQLException

tigGetUserDBUid

public static void tigGetUserDBUid(java.lang.String userId,
                                   java.sql.ResultSet[] data)
                            throws java.sql.SQLException
Throws:
java.sql.SQLException

tigInitdb

public static void tigInitdb()
                      throws java.sql.SQLException
Throws:
java.sql.SQLException

tigOfflineUsers

public static void tigOfflineUsers(java.sql.ResultSet[] data)
                            throws java.sql.SQLException
Throws:
java.sql.SQLException

tigOnlineUsers

public static void tigOnlineUsers(java.sql.ResultSet[] data)
                           throws java.sql.SQLException
Throws:
java.sql.SQLException

tigPutDBProperty

public static void tigPutDBProperty(java.lang.String key,
                                    java.lang.String value)
                             throws java.sql.SQLException
Throws:
java.sql.SQLException

tigRemoveUser

public static void tigRemoveUser(java.lang.String userId)
                          throws java.sql.SQLException
Throws:
java.sql.SQLException

tigUserLogout

public static void tigUserLogout(java.lang.String userId)
                          throws java.sql.SQLException
Throws:
java.sql.SQLException

tigUpdatePassword

public static void tigUpdatePassword(java.lang.String userId,
                                     java.lang.String userPw)
                              throws java.sql.SQLException
Throws:
java.sql.SQLException

tigUpdatePasswordPlainPw

public static void tigUpdatePasswordPlainPw(java.lang.String userId,
                                            java.lang.String userPw)
                                     throws java.sql.SQLException
Throws:
java.sql.SQLException

tigUpdatePasswordPlainPwRev

public static void tigUpdatePasswordPlainPwRev(java.lang.String userPw,
                                               java.lang.String userId)
                                        throws java.sql.SQLException
Throws:
java.sql.SQLException

tigUserLogin

public static void tigUserLogin(java.lang.String userId,
                                java.lang.String userPw,
                                java.sql.ResultSet[] data)
                         throws java.sql.SQLException
Throws:
java.sql.SQLException

tigUserLoginPlainPw

public static void tigUserLoginPlainPw(java.lang.String userId,
                                       java.lang.String userPw,
                                       java.sql.ResultSet[] data)
                                throws java.sql.SQLException
Throws:
java.sql.SQLException


Copyright © 2009 Tigase. All Rights Reserved.