Package ecar.pojo

Examples of ecar.pojo.ContatoAreaCtta


     * @throws ECARException
     */
    public List getContatoAreaAtivas(  )
                              throws ECARException
    {
        ContatoAreaCtta contato = new ContatoAreaCtta(  );

        contato.setIndAtivoCtta( "S" );

        return this.pesquisar( contato, null );
    }
View Full Code Here


     * @throws Exception
     */
  public void enviarEmail(HttpServletRequest request, Long codCtta, String remetente, String msg) throws Exception {
    String assunto = "", destinatarioPara = "", destinatarioCc = "", destinatarioBcc = "";
   
    ContatoAreaCtta contatoAreaCtta = new ContatoAreaCtta();
    ContatoMailCttm contatoMailCttm = new ContatoMailCttm();
    ContatoAreaDao contatoAreaDao = new ContatoAreaDao(request);
    ContatoMailDao contatoMailDao = new ContatoMailDao(request);
   
    contatoAreaCtta = (ContatoAreaCtta)contatoAreaDao.buscar(ContatoAreaCtta.class, codCtta);
   
    request.setAttribute("contatoAreaCtta", codCtta);
    contatoMailDao.setContatoMail(contatoMailCttm, request, false);
       
    ContatoAreaCtta ctta = new ContatoAreaCtta();
    ctta.setCodCtta(codCtta);
    List list = contatoMailDao.getListContatoMailCttm(ctta);
   
    for (int i = 0; i < list.size(); i++) {     
      ContatoMailCttm cttm = (ContatoMailCttm) list.get(i);
     
View Full Code Here

   */
  public List getListAreasContatoOrdenada() {
    Collections.sort(listAreasContato,
              new Comparator() {
            public int compare(Object o1, Object o2) {
              ContatoAreaCtta c1 = (ContatoAreaCtta) o1;
              ContatoAreaCtta c2 = (ContatoAreaCtta) o2;
                return c1.getNomeCtta().compareTo(c2.getNomeCtta());
            }
    } );     
    return listAreasContato;
  }
View Full Code Here

TOP

Related Classes of ecar.pojo.ContatoAreaCtta

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.