Class StoredProcedures
java.lang.Object
tigase.archive.db.derby.StoredProcedures
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddMessage(String ownerJid, String buddyJid, Timestamp ts, String stableId, String stanzaId, String refStableId, String body, String msg) Deprecated.static voidaddTagToMessage(String ownerJid, String stableId, String tag) Deprecated.protected static StringBuilderappendContainsQuery(StringBuilder sb, String contains) Deprecated.protected static StringBuilderappendTagsQuery(StringBuilder sb, String tags) Deprecated.static voiddeleteExpiredMessages(String domain, Timestamp before) Deprecated.static LongDeprecated.static voidgetCollections(String ownerJid, String buddyJid, Timestamp from, Timestamp to, String tags, String contains, Integer limit, Integer offset, ResultSet[] data) Deprecated.static voidgetCollectionsCount(String ownerJid, String buddyJid, Timestamp from, Timestamp to, String tags, String contains, ResultSet[] data) Deprecated.static LongDeprecated.static voidgetMessage(String ownerJid, String stableId, ResultSet[] data) Deprecated.static voidgetMessagePosition(String ownerJid, String buddyJid, Timestamp from, Timestamp to, short refType, String tags, String contains, String stableId, ResultSet[] data) Deprecated.static voidgetMessages(String ownerJid, String buddyJid, Timestamp from, Timestamp to, short refType, String tags, String contains, Integer limit, Integer offset, ResultSet[] data) Deprecated.static voidgetMessagesCount(String ownerJid, String buddyJid, Timestamp from, Timestamp to, short refType, String tags, String contains, ResultSet[] data) Deprecated.static voidgetTagsForUser(String ownerJid, String tagStartsWith, Integer limit, Integer offset, ResultSet[] data) Deprecated.static voidgetTagsForUserCount(String ownerJid, String tagStartsWith, ResultSet[] data) Deprecated.static voidremoveMessages(String ownerJid, String buddyJid, Timestamp from, Timestamp to) Deprecated.protected static Stringsha1OfLower(String data) Deprecated.
-
Constructor Details
-
StoredProcedures
public StoredProcedures()Deprecated.
-
-
Method Details
-
addMessage
public static void addMessage(String ownerJid, String buddyJid, Timestamp ts, String stableId, String stanzaId, String refStableId, String body, String msg) throws SQLException Deprecated.- Throws:
SQLException
-
addTagToMessage
public static void addTagToMessage(String ownerJid, String stableId, String tag) throws SQLException Deprecated.- Throws:
SQLException
-
appendContainsQuery
Deprecated. -
appendTagsQuery
Deprecated. -
deleteExpiredMessages
Deprecated.- Throws:
SQLException
-
ensureJid
-
getCollections
-
getCollectionsCount
public static void getCollectionsCount(String ownerJid, String buddyJid, Timestamp from, Timestamp to, String tags, String contains, ResultSet[] data) throws SQLException Deprecated.- Throws:
SQLException
-
getJidId
Deprecated.- Throws:
SQLException
-
getMessagePosition
public static void getMessagePosition(String ownerJid, String buddyJid, Timestamp from, Timestamp to, short refType, String tags, String contains, String stableId, ResultSet[] data) throws SQLException Deprecated.- Throws:
SQLException
-
getMessage
public static void getMessage(String ownerJid, String stableId, ResultSet[] data) throws SQLException Deprecated.- Throws:
SQLException
-
getMessages
-
getMessagesCount
public static void getMessagesCount(String ownerJid, String buddyJid, Timestamp from, Timestamp to, short refType, String tags, String contains, ResultSet[] data) throws SQLException Deprecated.- Throws:
SQLException
-
getTagsForUser
public static void getTagsForUser(String ownerJid, String tagStartsWith, Integer limit, Integer offset, ResultSet[] data) throws SQLException Deprecated.- Throws:
SQLException
-
getTagsForUserCount
public static void getTagsForUserCount(String ownerJid, String tagStartsWith, ResultSet[] data) throws SQLException Deprecated.- Throws:
SQLException
-
removeMessages
public static void removeMessages(String ownerJid, String buddyJid, Timestamp from, Timestamp to) throws SQLException Deprecated.- Throws:
SQLException
-
sha1OfLower
Deprecated.- Throws:
SQLException
-