public abstract class Subscription
extends java.lang.Object
| Constructor and Description |
|---|
Subscription() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<EventType> |
getEventTypes()
Gets a list of event notifications that are used to create a subscription.
|
java.util.List<FolderId> |
getFolders()
Gets a list of folder identifiers that are used to identify folders to monitor for event notifications.
|
java.lang.String |
getWatermark()
Gets an event bookmark in the mailbox events table.
|
boolean |
isSubscribeToAllFolders()
Checks if is subscribe to all folders.
|
void |
setSubscribeToAllFolders(boolean subscribeToAllFolders)
Sets the subscribe to all folders.
|
void |
setWatermark(java.lang.String watermark)
Sets an event bookmark in the mailbox events table.
|
public java.util.List<FolderId> getFolders()
public java.util.List<EventType> getEventTypes()
public java.lang.String getWatermark()
public void setWatermark(java.lang.String watermark)
watermark - the new watermarkpublic boolean isSubscribeToAllFolders()
public void setSubscribeToAllFolders(boolean subscribeToAllFolders)
subscribeToAllFolders - the new subscribe to all folders