public class StoredProcedures extends Object
| Constructor and Description |
|---|
StoredProcedures() |
protected static Long getIdOfJid(Connection conn, String jid) throws SQLException
SQLExceptionprotected static String sha1OfLower(String data) throws SQLException
SQLExceptionpublic static void tigPubSubCreateNode(String serviceJid, String nodeName, Integer nodeType, String nodeCreator, String nodeConf, Long collectionId, Timestamp ts, ResultSet[] data) throws SQLException
SQLExceptionpublic static void tigPubSubDeleteAllNodes(String serviceJid, ResultSet[] data) throws SQLException
SQLExceptionpublic static void tigPubSubDeleteItem(Long nodeId, String itemId, ResultSet[] data) throws SQLException
SQLExceptionpublic static void tigPubSubDeleteNodeSubscription(Long nodeId, String jid, ResultSet[] data) throws SQLException
SQLExceptionpublic static Long tigPubSubEnsureJid(String jid) throws SQLException
SQLExceptionpublic static Long tigPubSubEnsureJid(Connection conn, String jid) throws SQLException
SQLExceptionpublic static Long tigPubSubEnsureServiceJid(String serviceJid) throws SQLException
SQLExceptionpublic static void tigPubSubFixItem(Long nodeId, String itemId, Timestamp creationDate, Timestamp updateDate) throws SQLException
SQLExceptionpublic static void tigPubSubFixNode(Long nodeId, Timestamp creationDate) throws SQLException
SQLExceptionpublic static void tigPubSubGetAllNodes(String serviceJid, ResultSet[] data) throws SQLException
SQLExceptionpublic static void tigPubSubGetChildNodes(String serviceJid, String collection, ResultSet[] data) throws SQLException
SQLExceptionpublic static void tigPubSubGetItem(Long nodeId, String itemId, ResultSet[] data) throws SQLException
SQLExceptionpublic static void tigPubSubGetNodeAffiliations(Long nodeId, ResultSet[] data) throws SQLException
SQLExceptionpublic static void tigPubSubGetNodeConfiguration(Long nodeId, ResultSet[] data) throws SQLException
SQLExceptionpublic static void tigPubSubGetNodeId(String serviceJid, String nodeName, ResultSet[] data) throws SQLException
SQLExceptionpublic static void tigPubSubGetNodeItemIds(Long nodeId, Integer order, ResultSet[] data) throws SQLException
SQLExceptionpublic static void tigPubSubGetNodeItemIdsSince(Long nodeId, Integer order, Timestamp since, ResultSet[] data) throws SQLException
SQLExceptionpublic static void tigPubSubGetNodeItemsMeta(Long nodeId, ResultSet[] data) throws SQLException
SQLExceptionpublic static void tigPubSubGetNodeMeta(String serviceJid, String nodeName, ResultSet[] data) throws SQLException
SQLExceptionpublic static void tigPubSubGetNodeSubscriptions(Long nodeId, ResultSet[] data) throws SQLException
SQLExceptionpublic static void tigPubSubGetRootNodes(String serviceJid, ResultSet[] data) throws SQLException
SQLExceptionpublic static void tigPubSubGetUserAffiliations(String serviceJid, String jid, ResultSet[] data) throws SQLException
SQLExceptionpublic static void tigPubSubGetUserSubscriptions(String serviceJid, String jid, ResultSet[] data) throws SQLException
SQLExceptionpublic static void tigPubSubMamQueryItemPosition(String nodesIds, Timestamp since, Timestamp to, String publisher, Integer order, Long nodeId, String itemId, ResultSet[] data) throws SQLException
SQLExceptionpublic static void tigPubSubMamQueryItems(String nodesIds, Timestamp since, Timestamp to, String publisher, Integer order, Integer limit, Integer offset, ResultSet[] data) throws SQLException
SQLExceptionpublic static void tigPubSubMamQueryItemsCount(String nodesIds, Timestamp since, Timestamp to, String publisher, Integer order, ResultSet[] data) throws SQLException
SQLExceptionpublic static void tigPubSubRemoveNode(Long nodeId, ResultSet[] data) throws SQLException
SQLExceptionpublic static void tigPubSubRemoveService(String serviceJid, ResultSet[] data) throws SQLException
SQLExceptionpublic static void tigPubSubSetNodeAffiliation(Long nodeId, String jid, String affil, ResultSet[] data) throws SQLException
SQLExceptionpublic static void tigPubSubSetNodeConfiguration(Long nodeId, String conf, Long collectionId, ResultSet[] data) throws SQLException
SQLExceptionpublic static void tigPubSubSetNodeSubscription(Long nodeId, String jid, String subscr, String subscrId, ResultSet[] data) throws SQLException
SQLExceptionpublic static void tigPubSubWriteItem(Long nodeId, String itemId, String publisher, String itemData, Timestamp ts, ResultSet[] data) throws SQLException
SQLExceptionpublic static void tigPubSubCountNodes(String serviceJid, ResultSet[] data) throws SQLException
SQLExceptionCopyright © 2008–2021 Tigase. All rights reserved.