Package tigase.archive.unified.db.derby
Class StoredProcedures
- java.lang.Object
-
- tigase.archive.db.derby.StoredProcedures
-
- tigase.archive.unified.db.derby.StoredProcedures
-
public class StoredProcedures extends tigase.archive.db.derby.StoredProcedures- Author:
- andrzej
-
-
Constructor Summary
Constructors Constructor Description StoredProcedures()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidaddItem(String ownerJid, String buddyJid, String buddyRes, Timestamp ts, Integer direction, String type, String body, String msg, String hash, String itemType, Integer offline, String jingleSid, String jingleAction, String jingleReason, Integer jingleOffline, ResultSet[] data)static voidfor_GetMessages(String ownerJid, String msgIds, ResultSet[] data)static voidfor_GetMessagesCount(String ownerJid, ResultSet[] data)static voidfor_GetMessagesList(String ownerJid, ResultSet[] data)static voidfor_RemoveMessages(String ownerJid, String msgIds)static voidfor_UnmarkOfflineMessages(String ownerJid, String msgIds)static voidgetCollections(String ownerJid, String buddyJid, Timestamp from, Timestamp to, String tags, String contains, Integer byType, String itemType, Integer offline, Integer limit, Integer offset, ResultSet[] data)static voidgetCollectionsCount(String ownerJid, String buddyJid, Timestamp from, Timestamp to, String tags, String contains, Integer byType, String itemType, Integer offline, ResultSet[] data)static voidgetItemPosition(String ownerJid, String buddyJid, Timestamp from, Timestamp to, String tags, String contains, String hash, String itemType, Integer offline, ResultSet[] data)static voidgetItems(String ownerJid, String buddyJid, Timestamp from, Timestamp to, String tags, String contains, String itemType, Integer offline, Integer limit, Integer offset, ResultSet[] data)static voidgetItemsCount(String ownerJid, String buddyJid, Timestamp from, Timestamp to, String tags, String contains, String itemType, Integer offline, ResultSet[] data)static voidqueryRecent(String ownerJid, Timestamp start, Timestamp end, Integer chat, Integer groupchat, Integer call, Integer call_success, Integer call_missed, Integer call_canceled, Integer limit, Integer offset, ResultSet[] data)static voidqueryRecentCount(String ownerJid, Timestamp start, Timestamp end, Integer chat, Integer groupchat, Integer call, Integer call_success, Integer call_missed, Integer call_canceled, ResultSet[] data)-
Methods inherited from class tigase.archive.db.derby.StoredProcedures
addMessage, addTagToMessage, appendContainsQuery, appendTagsQuery, deleteExpiredMessages, ensureJid, getCollections, getCollectionsCount, getJidId, getMessagePosition, getMessages, getMessagesCount, getTagsForUser, getTagsForUserCount, removeMessages, sha1OfLower
-
-
-
-
Method Detail
-
addItem
public static void addItem(String ownerJid, String buddyJid, String buddyRes, Timestamp ts, Integer direction, String type, String body, String msg, String hash, String itemType, Integer offline, String jingleSid, String jingleAction, String jingleReason, Integer jingleOffline, ResultSet[] data) throws SQLException
- Throws:
SQLException
-
for_GetMessages
public static void for_GetMessages(String ownerJid, String msgIds, ResultSet[] data) throws SQLException
- Throws:
SQLException
-
for_GetMessagesCount
public static void for_GetMessagesCount(String ownerJid, ResultSet[] data) throws SQLException
- Throws:
SQLException
-
for_GetMessagesList
public static void for_GetMessagesList(String ownerJid, ResultSet[] data) throws SQLException
- Throws:
SQLException
-
for_RemoveMessages
public static void for_RemoveMessages(String ownerJid, String msgIds) throws SQLException
- Throws:
SQLException
-
for_UnmarkOfflineMessages
public static void for_UnmarkOfflineMessages(String ownerJid, String msgIds) throws SQLException
- Throws:
SQLException
-
getCollections
public static void getCollections(String ownerJid, String buddyJid, Timestamp from, Timestamp to, String tags, String contains, Integer byType, String itemType, Integer offline, Integer limit, Integer offset, ResultSet[] data) throws SQLException
- Throws:
SQLException
-
getCollectionsCount
public static void getCollectionsCount(String ownerJid, String buddyJid, Timestamp from, Timestamp to, String tags, String contains, Integer byType, String itemType, Integer offline, ResultSet[] data) throws SQLException
- Throws:
SQLException
-
getItemPosition
public static void getItemPosition(String ownerJid, String buddyJid, Timestamp from, Timestamp to, String tags, String contains, String hash, String itemType, Integer offline, ResultSet[] data) throws SQLException
- Throws:
SQLException
-
getItems
public static void getItems(String ownerJid, String buddyJid, Timestamp from, Timestamp to, String tags, String contains, String itemType, Integer offline, Integer limit, Integer offset, ResultSet[] data) throws SQLException
- Throws:
SQLException
-
getItemsCount
public static void getItemsCount(String ownerJid, String buddyJid, Timestamp from, Timestamp to, String tags, String contains, String itemType, Integer offline, ResultSet[] data) throws SQLException
- Throws:
SQLException
-
queryRecent
public static void queryRecent(String ownerJid, Timestamp start, Timestamp end, Integer chat, Integer groupchat, Integer call, Integer call_success, Integer call_missed, Integer call_canceled, Integer limit, Integer offset, ResultSet[] data) throws SQLException
- Throws:
SQLException
-
-