Class Overview
Message Data Access Object.
Note: In order to avoid potential crashes in customer apps, all generated DAO methods
should be protected
and exposed via a separate public
method that wraps
the internal DAO call with a try/catch.
Summary
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Public Constructors
Public Methods
public
void
deleteAllMessages
()
public
void
deleteMessages
(List<String> messageIds)
public
void
markMessagesDeleted
(List<String> messageIds)
public
void
markMessagesRead
(List<String> messageIds)
public
void
markMessagesReadOrigin
(List<String> messageIds)
public
void
markMessagesUnread
(List<String> messageIds)
public
boolean
messageExists
(String messageId)
Protected Methods
protected
abstract
void
deleteAllMessagesInternal
()
protected
abstract
void
deleteMessagesBatchInternal
(List<String> messageIds)
This query is only for internal use, with a BatchedQueryHelper
,
which stops us from bumping into the max query params limit of 999.
protected
void
deleteMessagesInternal
(List<String> messageIds)
protected
abstract
List<String>
getMessageIdsInternal
()
protected
abstract
void
markMessagesDeletedInternal
(List<String> messageIds)
protected
abstract
void
markMessagesReadInternal
(List<String> messageIds)
protected
abstract
void
markMessagesReadOriginInternal
(List<String> messageIds)
protected
abstract
void
markMessagesUnreadInternal
(List<String> messageIds)
protected
abstract
boolean
messageExistsInternal
(String id)