ecar.dao
Class AreaDao

java.lang.Object
  extended by comum.database.Dao
      extended by ecar.dao.AreaDao

public class AreaDao
extends Dao

Author:
evandro

Field Summary
 
Fields inherited from class comum.database.Dao
logBean, logger, loggerAuditoria, ORDEM_ASC, ORDEM_DESC, request, session
 
Constructor Summary
AreaDao(javax.servlet.http.HttpServletRequest request)
          Construtor.
 
Method Summary
 void alterar(AreaAre area)
           
 void excluir(AreaAre area)
          Exclui uma �rea, verificando antes se ela possui rela��o com outras tabelas.
 void salvar(AreaAre area)
           
 
Methods inherited from class comum.database.Dao
alterar, alterar, alterar, buscar, contar, contarLong, excluir, excluir, getSession, inicializarLogBean, listar, ordenaSet, pesquisar, pesquisarDuplos, salvar, salvar, salvarOuAlterar, salvarOuAlterar, setSession
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AreaDao

public AreaDao(javax.servlet.http.HttpServletRequest request)
Construtor. Chama o Session factory do Hibernate

Method Detail

excluir

public void excluir(AreaAre area)
             throws ECARException
Exclui uma �rea, verificando antes se ela possui rela��o com outras tabelas. Neste caso, n�o permite exclus�o

Parameters:
atributo -
Throws:
ECARException

salvar

public void salvar(AreaAre area)
            throws ECARException
Throws:
ECARException

alterar

public void alterar(AreaAre area)
             throws ECARException
Throws:
ECARException


Copyright © 2007, PRODEPA - Processamento de Dados do Pará