Package com.loja.util

Examples of com.loja.util.FacesUtil


    if (getUsuario().getId() == null) {
      entityManager.persist(getUsuario());
    } else {
      entityManager.merge(getUsuario());
    }
    new FacesUtil().viewMessage(null, "commons.save", FacesMessage.SEVERITY_INFO);
//    mailUtil.sendNovo();
    setUsuario(null);
    load();
   
  }
View Full Code Here


   
  }
 
  public void delete() {
    entityManager.remove(usuario);
    new FacesUtil().viewMessage(null, "commons.delete", FacesMessage.SEVERITY_INFO);
    setUsuario(null);
   
    load();
  }
View Full Code Here

    if (getGrupoUsuario().getId() == null) {
      entityManager.persist(grupoUsuario);
    } else {
      entityManager.merge(grupoUsuario);
    }
    new FacesUtil().viewMessage(null, "commons.save", FacesMessage.SEVERITY_INFO);
    setGrupoUsuario(null);
    load();
  }
View Full Code Here

    setGrupoUsuario(grupoUsuario);
  }
 
  public void delete() {
    entityManager.remove(grupoUsuario);
    new FacesUtil().viewMessage(null, "commons.delete", FacesMessage.SEVERITY_INFO);
    setGrupoUsuario(null);
    load();
  }
View Full Code Here

TOP

Related Classes of com.loja.util.FacesUtil

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.