Search in sources :

Example 1 with ZDeleteEvent

use of com.zimbra.client.event.ZDeleteEvent in project zm-mailbox by Zimbra.

the class ZMailbox method handleDeleted.

private void handleDeleted(Element deleted) throws ServiceException {
    if (deleted == null) {
        return;
    }
    String ids = deleted.getAttribute(MailConstants.A_ID, null);
    if (ids == null) {
        return;
    }
    ZDeleteEvent de = new ZDeleteEvent(ids);
    for (ZEventHandler handler : mHandlers) {
        handler.handleDelete(de, this);
    }
}
Also used : ZEventHandler(com.zimbra.client.event.ZEventHandler) ZDeleteEvent(com.zimbra.client.event.ZDeleteEvent)

Aggregations

ZDeleteEvent (com.zimbra.client.event.ZDeleteEvent)1 ZEventHandler (com.zimbra.client.event.ZEventHandler)1