Web-based responsive document annotation tool
activeannoservice / user.message / MessageDAO
class MessageDAO
DAO for the Message model, controlling access to the message collection.
Name | Summary |
---|---|
<init> | DAO for the Message model, controlling access to the message collection.MessageDAO(database: CoroutineDatabase) |
Name | Summary |
---|---|
countUnreadForRecipient | suspend fun countUnreadForRecipient(userIdentifier: UserIdentifier ): Long |
getAll | suspend fun getAll(): List < Message > |
getAllForRecipient | suspend fun getAllForRecipient(userIdentifier: UserIdentifier ): List < Message > |
getAllForSender | suspend fun getAllForSender(userIdentifier: UserIdentifier ): List < Message > |
getUnreadForRecipient | suspend fun getUnreadForRecipient(userIdentifier: UserIdentifier ): List < Message > |