Examples of removeNotifications()


Examples of org.rhq.enterprise.server.alert.AlertNotificationManagerLocal.removeNotifications()

        Integer[] emailNotificationIds = removeForm.getEmails();
        Integer alertDefinitionId = removeForm.getAd();

        AlertNotificationManagerLocal alertNotificationManager = LookupUtil.getAlertNotificationManager();

        return alertNotificationManager.removeNotifications(subject, alertDefinitionId, emailNotificationIds);
    }
}
View Full Code Here

Examples of org.rhq.enterprise.server.alert.AlertNotificationManagerLocal.removeNotifications()

        Integer[] subjectNotificationIds = removeForm.getUsers();
        Integer alertDefinitionId = removeForm.getAd();

        AlertNotificationManagerLocal alertNotificationManager = LookupUtil.getAlertNotificationManager();

        return alertNotificationManager.removeNotifications(subject, alertDefinitionId, subjectNotificationIds);
    }
}
View Full Code Here

Examples of org.rhq.enterprise.server.alert.AlertNotificationManagerLocal.removeNotifications()

    protected int handleRemove(Subject subject, RemoveNotificationsForm removeForm) throws Exception {
        Integer[] roleNotificationIds = removeForm.getRoles();
        Integer alertDefinitionId = removeForm.getAd();

        AlertNotificationManagerLocal alertNotificationManager = LookupUtil.getAlertNotificationManager();
        return alertNotificationManager.removeNotifications(subject, alertDefinitionId, roleNotificationIds);
    }
}
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.