public class ConfirmationService extends Object implements IConfirmationService
IConfirmationService.ConfirmationException| Constructor and Description |
|---|
ConfirmationService() |
| Modifier and Type | Method and Description |
|---|---|
void |
addConfirmationListener(INotifyService.IConfirmationListener listener) |
String |
confirm(String key) |
protected long |
getConfirmationMaxAgeMs() |
Notification |
getNotificationByKey(String key) |
void |
removeConfirmationListener(INotifyService.IConfirmationListener listener) |
void |
setConfirmationListeners(Collection<? extends INotifyService.IConfirmationListener> listeners) |
protected void |
setConfirmationMaxAgeMs(long confirmationMaxAgeMs) |
void |
setNotificationDAO(INotificationDAO notificationDAO) |
public void setConfirmationListeners(Collection<? extends INotifyService.IConfirmationListener> listeners)
public void addConfirmationListener(INotifyService.IConfirmationListener listener)
addConfirmationListener in interface IConfirmationServicepublic void removeConfirmationListener(INotifyService.IConfirmationListener listener)
removeConfirmationListener in interface IConfirmationServicepublic String confirm(String key) throws IConfirmationService.ConfirmationException
confirm in interface IConfirmationServicekey - confirmation keyIConfirmationService.ConfirmationException - if confirmation exists but wasn't handledpublic Notification getNotificationByKey(String key)
getNotificationByKey in interface IConfirmationServicepublic void setNotificationDAO(INotificationDAO notificationDAO)
protected long getConfirmationMaxAgeMs()
protected void setConfirmationMaxAgeMs(long confirmationMaxAgeMs)
Copyright © 2015 Molindo GmbH. All Rights Reserved.