Package com.sishuok.es.maintain.notification.exception

Examples of com.sishuok.es.maintain.notification.exception.TemplateNotFoundException


    @Override
    public void notify(final Long userId, final String templateName, final Map<String, Object> context) {
        NotificationTemplate template = notificationTemplateService.findByName(templateName);

        if(template == null) {
            throw new TemplateNotFoundException(templateName);
        }

        NotificationData data = new NotificationData();

        data.setUserId(userId);
View Full Code Here

TOP

Related Classes of com.sishuok.es.maintain.notification.exception.TemplateNotFoundException

Copyright © 2018 www.massapicom. 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.