-
public interface DatabaseHook
-
-
Method Summary
-
-
Method Detail
-
isBlockedContact
abstract boolean isBlockedContact(String number)
-
handleCallLogInfo
abstract void handleCallLogInfo(CallLog callLog)
-
deleteMessage
abstract void deleteMessage(String number, String groupId, String callerId)
-
deleteSubscriber
abstract void deleteSubscriber(String number)
-
getEditCount
abstract int getEditCount(String callerId)
-
isSubscriber
abstract boolean isSubscriber(String number)
-
getE2EPublicKeySeedAndPrivateKeyHolderForGroup
abstract E2EPublicKeySeedAndPrivateKeyHolder getE2EPublicKeySeedAndPrivateKeyHolderForGroup(String groupId)
-
getE2EPublicKeySeedAndPrivateKeyHolderForSingleUser
abstract E2EPublicKeySeedAndPrivateKeyHolder getE2EPublicKeySeedAndPrivateKeyHolderForSingleUser(String number)
-
isE2EPublicKeyAndSeedAvailableForSingleChat
abstract boolean isE2EPublicKeyAndSeedAvailableForSingleChat(String number)
-
isE2EPublicKeySeedAndPrivateKeyAvailableForGroup
abstract boolean isE2EPublicKeySeedAndPrivateKeyAvailableForGroup(String groupId)
-
updateE2EPublicKeyAndSeedForBuddy
abstract void updateE2EPublicKeyAndSeedForBuddy(String buddy, String publicKey, String seed)
-
updateE2EPublicKeySeedAndPrivateKeyForGroup
abstract void updateE2EPublicKeySeedAndPrivateKeyForGroup(String groupId, String publicKey, String seed, String groupPrivateKey)
-
createBlockedContact
abstract void createBlockedContact(String number)
-
removeBlockedContact
abstract void removeBlockedContact(String number)
-
removeAllBlockedContactExceptTheProvided
abstract void removeAllBlockedContactExceptTheProvided(HashSet<String> blockedContacts)
-
createBlockedContact
abstract void createBlockedContact(ArrayList<String> blockContacts)
-
createHistoryFetchingMessageLog
abstract void createHistoryFetchingMessageLog(ArrayList<MessageEntry> messageEntries)
-
createHistoryFetchingGroupMessageLog
abstract void createHistoryFetchingGroupMessageLog(ArrayList<MessageEntry> groupMessageEntries)
-
checkForGroup
abstract boolean checkForGroup(String groupId)
-
createGroup
abstract void createGroup(String callId, String groupId, String s, String s1, String s2, int i, String s3, int i1)
-
getOnlyNumberListFromMessage
abstract List<String> getOnlyNumberListFromMessage()
-
getOnlyGroupIDListFromMessage
abstract List<String> getOnlyGroupIDListFromMessage()
-
isLongMessage
abstract boolean isLongMessage(String callID)
-
getMessageByCallID
abstract MessageEntry getMessageByCallID(String callid)
-
getAllfailedLongIMMessages
abstract Cursor getAllfailedLongIMMessages()
-
updateMessageContent
abstract void updateMessageContent(String callID, String messageContent, int isDecrypted)
-
updateMessagesOnLongTextSuccessfulDownload
abstract void updateMessagesOnLongTextSuccessfulDownload(String callID, boolean isgroup, String messageContent, int deliveryStatus)
-
deleteOriginalCallerIDMessageAndUpdateTempWithTheOriginalInMessage
abstract void deleteOriginalCallerIDMessageAndUpdateTempWithTheOriginalInMessage(String callid)
-
createMessageLog
abstract void createMessageLog(MessageEntry m)
-
-
-
-