Package org.lightfish.business.escalation.entity

Examples of org.lightfish.business.escalation.entity.Notifier


        timerService.createCalendarTimer(expression);
    }

    private void persistDefaultConfiguration() {
        if (notificationStore.getNotifier("comet-escalator") == null) {
            Notifier configuration = new Notifier.Builder()
                    .name("comet-escalator")
                    .transmitterId("comet")
                    .configuration(new CometTransmitterConfiguration())
                    .system(true)
                    .build();
View Full Code Here


        }
        return "/escalation/configuration?faces-redirect=true";
    }

    public String save() {
        Notifier config = new Notifier.Builder()
                .name(name)
                .configuration(transmitterConfiguration)
                .transmitterId(notifierId)
                .build();
        notificationStore.save(config);
View Full Code Here

    public Notifier save(Notifier configuration) {
        return this.em.merge(configuration);
    }

    public void delete(String name) {
        Notifier script = em.getReference(Notifier.class, name);
        em.remove(script);
    }
View Full Code Here

TOP

Related Classes of org.lightfish.business.escalation.entity.Notifier

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.