public interface MessageCounts
| Modifier and Type | Interface and Description |
|---|---|
static class |
MessageCounts.CountType
The count type.
|
| Modifier and Type | Method and Description |
|---|---|
void |
decrementCount(MessageCounts.CountType type)
Decrement a count proprety by 1.
|
void |
decrementTotalSize(long decrementBy)
Decrement value of the total size of the message box.
|
long |
getCount(MessageCounts.CountType type)
Get the count type specified by the parameter.
|
long |
getDeletedReadCount() |
long |
getDeletedUnreadCount() |
long |
getNonDeletedReadCount() |
long |
getNonDeletedUnreadCount() |
long |
getTotalCount()
Get the total count of messages in the message box.
|
long |
getTotalSize()
Get the total size of the message box.
|
void |
incrementCount(MessageCounts.CountType type)
Increment a count property by 1.
|
void |
incrementTotalSize(long incrementBy)
Increment the value of the total size of the message box.
|
long getNonDeletedUnreadCount()
long getNonDeletedReadCount()
long getDeletedUnreadCount()
long getDeletedReadCount()
long getCount(MessageCounts.CountType type)
type - The count type to return.long getTotalCount()
void incrementCount(@Nonnull
MessageCounts.CountType type)
throws PersistenceException
type - The MessageCounts.CountTypePersistenceException - If the increment fails.void decrementCount(@Nonnull
MessageCounts.CountType type)
throws PersistenceException
type - The MessageCounts.CountTypePersistenceException - If the decrement fails.long getTotalSize()
void incrementTotalSize(long incrementBy)
throws PersistenceException
incrementBy - The amount to increment by.PersistenceException - If the increment fails.void decrementTotalSize(long decrementBy)
throws PersistenceException
decrementBy - The amount by which to decrement the total size of the message box.PersistenceException - If the decrement fails.Copyright © 2010 - 2023 Adobe. All Rights Reserved