Home > borogove > persistence > Dummy
persistence.Dummy class
Signature:
export class borogove_persistence_Dummy implements borogove_Persistence
Implements: borogove_Persistence
Constructors
|
Constructor
|
Modifiers
|
Description
|
|
(constructor)()
|
|
Create a basic persistence layer that persists nothing
|
Methods
|
Method
|
Modifiers
|
Description
|
|
findServicesWithFeature(accountId, feature)
|
|
|
|
getCaps(ver)
|
|
|
|
getChats(accountId)
|
|
|
|
getChatsUnreadDetails(accountId, chats)
|
|
|
|
getLogin(login)
|
|
|
|
getMessage(accountId, chatId, serverId, localId)
|
|
|
|
getMessagesAfter(accountId, chatId, afterId, afterTime)
|
|
|
|
getMessagesAround(accountId, chatId, aroundId, aroundTime)
|
|
|
|
getMessagesBefore(accountId, chatId, beforeId, beforeTime)
|
|
|
|
getStreamManagement(accountId)
|
|
|
|
hasMedia(hashAlgorithm, hash)
|
|
|
|
lastId(accountId, chatId)
|
|
|
|
listAccounts()
|
|
|
|
removeAccount(accountId, completely)
|
|
|
|
removeMedia(hashAlgorithm, hash)
|
|
|
|
storeCaps(caps)
|
|
|
|
storeChats(accountId, chat)
|
|
|
|
storeLogin(login, clientId, displayName, token)
|
|
|
|
storeMedia(mime, bd)
|
|
|
|
storeMessages(accountId, messages)
|
|
|
|
storeReaction(accountId, update)
|
|
|
|
storeService(accountId, serviceId, name, node, caps)
|
|
|
|
storeStreamManagement(accountId, sm)
|
|
|
|
updateMessage(accountId, message)
|
|
|
|
updateMessageStatus(accountId, localId, status, statusText)
|
|
|