public boolean deleteNotification(Notification notification) {
        boolean result = notification.canDelete();

        if (result) {
            broker.callRPC("RGCWXQ ALRPP", notification.getAlertId());
        }

        return result;
    }
public boolean deleteNotification ( Notification notification ) { boolean result = notification . canDelete ( ) ; if ( result ) { broker . callRPC ( "RGCWXQ ALRPP" , notification . getAlertId ( ) ) ; } return result ; }
Delete a notification.

@param notification The notification to delete.
@return True if the operation was successful.