public interface NotificationsI extends Serializable
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(org.bedework.caldav.util.notifications.NotificationType val)
Add the given notification to the notification collection for the
current principal.
|
org.bedework.caldav.util.notifications.NotificationType |
find(String name)
Find a notification in the notification collection for the
current principal with the given name.
|
org.bedework.caldav.util.notifications.NotificationType |
find(String principalHref,
String name)
Find a notification in the notification collection for the
given principal with the given name.
|
List<org.bedework.caldav.util.notifications.NotificationType> |
getAll() |
List<org.bedework.caldav.util.notifications.NotificationType> |
getMatching(BwPrincipal pr,
QName type) |
List<org.bedework.caldav.util.notifications.NotificationType> |
getMatching(QName type) |
List<org.bedework.caldav.util.notifications.NotificationType> |
getMatching(String href,
QName type) |
void |
remove(org.bedework.caldav.util.notifications.NotificationType val)
Remove the given notification from the notification collection for the
current calendar user.
|
void |
remove(String principalHref,
org.bedework.caldav.util.notifications.NotificationType val)
Remove the given notification from the notification collection for the
indicated calendar user.
|
void |
remove(String principalHref,
String name)
Remove a notification in the notification collection for the
given principal with the given name.
|
void |
removeAll(String principalHref)
Remove all the notification from the notification collection for the
given calendar user.
|
boolean |
send(BwPrincipal pr,
org.bedework.caldav.util.notifications.NotificationType val)
Add the given notification to the notification collection for the
indicated principal.
|
void |
subscribe(String principalHref,
List<String> emails)
Subscribe to a notification service.
|
void |
unsubscribe(String principalHref,
List<String> emails)
Subscribe to a notification service.
|
boolean |
update(org.bedework.caldav.util.notifications.NotificationType val)
Update the given notification
|
boolean send(BwPrincipal pr, org.bedework.caldav.util.notifications.NotificationType val) throws CalFacadeException
pr - - targetval - - the notificationCalFacadeExceptionboolean add(org.bedework.caldav.util.notifications.NotificationType val)
throws CalFacadeException
val - - the notificationCalFacadeExceptionboolean update(org.bedework.caldav.util.notifications.NotificationType val)
throws CalFacadeException
val - - the notificationCalFacadeExceptionorg.bedework.caldav.util.notifications.NotificationType find(String name) throws CalFacadeException
name - - of the notificationCalFacadeExceptionorg.bedework.caldav.util.notifications.NotificationType find(String principalHref, String name) throws CalFacadeException
principalHref - - targetname - - of the notificationCalFacadeExceptionvoid remove(String principalHref, String name) throws CalFacadeException
principalHref - - targetname - - of the notificationCalFacadeExceptionvoid remove(String principalHref, org.bedework.caldav.util.notifications.NotificationType val) throws CalFacadeException
principalHref - - targetval - - the notificationCalFacadeExceptionvoid remove(org.bedework.caldav.util.notifications.NotificationType val)
throws CalFacadeException
val - - the notificationCalFacadeExceptionvoid removeAll(String principalHref) throws CalFacadeException
principalHref - - the principalCalFacadeExceptionList<org.bedework.caldav.util.notifications.NotificationType> getAll() throws CalFacadeException
CalFacadeExceptionList<org.bedework.caldav.util.notifications.NotificationType> getMatching(QName type) throws CalFacadeException
type - of notification (null for all)CalFacadeExceptionList<org.bedework.caldav.util.notifications.NotificationType> getMatching(BwPrincipal pr, QName type) throws CalFacadeException
pr - principaltype - of notification (null for all)CalFacadeExceptionList<org.bedework.caldav.util.notifications.NotificationType> getMatching(String href, QName type) throws CalFacadeException
href - principal hreftype - of notification (null for all)CalFacadeExceptionvoid subscribe(String principalHref, List<String> emails) throws CalFacadeException
CalFacadeExceptionvoid unsubscribe(String principalHref, List<String> emails) throws CalFacadeException
CalFacadeExceptionCopyright © 2019 Bedework. All rights reserved.