All Downloads are FREE. Search and download functionalities are using the official Maven repository.

br.com.jarch.faces.communication.CommunicationController Maven / Gradle / Ivy

package br.com.jarch.faces.communication;

import br.com.jarch.core.annotation.JArchSessionScoped;
import br.com.jarch.core.crud.communication.Alerts;
import br.com.jarch.core.crud.communication.CommunicationService;
import br.com.jarch.core.crud.communication.Messages;

import java.io.Serializable;

@JArchSessionScoped
public class CommunicationController implements Serializable {

    public Alerts getAlerts() {
        return CommunicationService.getInstance().getAlertsContext();
    }

    public Messages getMessages() {
        return CommunicationService.getInstance().getMensagensContext();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy