Package tigase.socks5.repository.derby
Class StoredProcedures
java.lang.Object
tigase.socks5.repository.derby.StoredProcedures
- Author:
- andrzej
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
tigSocks5CreateTransferUsed
(long uid, int direction, String instance, ResultSet[] data) static void
tigSocks5CreateUid
(String userId, String domain, ResultSet[] data) static void
tigSocks5GetTransferLimits
(String userId, ResultSet[] data) static void
tigSocks5GetUid
(String userId, ResultSet[] data) static void
tigSocks5TransferUsedDomain
(String domain, ResultSet[] data) static void
static void
tigSocks5TransferUsedInstance
(String instance, ResultSet[] data) static void
tigSocks5TransferUsedUser
(long uid, ResultSet[] data) static void
tigSocks5UpdateTransferUsed
(long cid, long transferredBytes)
-
Constructor Details
-
StoredProcedures
public StoredProcedures()
-
-
Method Details
-
tigSocks5CreateTransferUsed
public static void tigSocks5CreateTransferUsed(long uid, int direction, String instance, ResultSet[] data) throws SQLException - Throws:
SQLException
-
tigSocks5CreateUid
public static void tigSocks5CreateUid(String userId, String domain, ResultSet[] data) throws SQLException - Throws:
SQLException
-
tigSocks5GetTransferLimits
- Throws:
SQLException
-
tigSocks5GetUid
- Throws:
SQLException
-
tigSocks5TransferUsedDomain
- Throws:
SQLException
-
tigSocks5TransferUsedGeneral
- Throws:
SQLException
-
tigSocks5TransferUsedInstance
public static void tigSocks5TransferUsedInstance(String instance, ResultSet[] data) throws SQLException - Throws:
SQLException
-
tigSocks5TransferUsedUser
- Throws:
SQLException
-
tigSocks5UpdateTransferUsed
- Throws:
SQLException
-