ecar.dao
Class SisAtributoDao

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

public class SisAtributoDao
extends Dao

Author:
evandro

Field Summary
 
Fields inherited from class comum.database.Dao
logBean, logger, loggerAuditoria, ORDEM_ASC, ORDEM_DESC, request, session
 
Constructor Summary
SisAtributoDao()
           
SisAtributoDao(javax.servlet.http.HttpServletRequest request)
          Construtor.
 
Method Summary
 void alterar(SisAtributoSatb atributo)
          Altera
 void excluir(SisAtributoSatb sisAtributo)
          Verifica depois exclui
 java.util.List getAtributosTipoAcesso()
           
 java.util.List getListaAcesso()
           
 java.util.List pequisarEditoriasItensLivre(SisAtributoSatb atributo, javax.servlet.ServletContext application)
           
 java.util.List pesquisar(SisAtributoSatb atributo, java.lang.String indTabelaUso)
          Pesquisa
 java.util.List pesquisarEditoriasBySegmento(SisAtributoSatb atributo, SegmentoSgt segmento)
          Pesquisa editoriais por segmento
 void salvar(SisAtributoSatb atributo)
          Salva
 void setEditorias(SisAtributoSatb atributo, SegmentoSgt segmento, javax.servlet.http.HttpServletRequest request, boolean recuperarParametrosComoString)
          Seta Editorias
 
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

SisAtributoDao

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


SisAtributoDao

public SisAtributoDao()
Method Detail

excluir

public void excluir(SisAtributoSatb sisAtributo)
             throws ECARException
Verifica depois exclui

Parameters:
sisAtributo -
Throws:
ECARException

salvar

public void salvar(SisAtributoSatb atributo)
            throws ECARException
Salva

Parameters:
atributo -
Throws:
ECARException

alterar

public void alterar(SisAtributoSatb atributo)
             throws ECARException
Altera

Parameters:
atributo -
Throws:
ECARException

getAtributosTipoAcesso

public java.util.List getAtributosTipoAcesso()
                                      throws ECARException
Returns:
List
Throws:
ECARException

setEditorias

public void setEditorias(SisAtributoSatb atributo,
                         SegmentoSgt segmento,
                         javax.servlet.http.HttpServletRequest request,
                         boolean recuperarParametrosComoString)
Seta Editorias

Parameters:
atributo -
segmento -
request -
recuperarParametrosComoString -

pequisarEditoriasItensLivre

public java.util.List pequisarEditoriasItensLivre(SisAtributoSatb atributo,
                                                  javax.servlet.ServletContext application)
                                           throws ECARException
Parameters:
atributo -
application -
Returns:
Throws:
ECARException

pesquisarEditoriasBySegmento

public java.util.List pesquisarEditoriasBySegmento(SisAtributoSatb atributo,
                                                   SegmentoSgt segmento)
                                            throws ECARException
Pesquisa editoriais por segmento

Parameters:
atributo -
segmento -
Returns:
List
Throws:
ECARException

pesquisar

public java.util.List pesquisar(SisAtributoSatb atributo,
                                java.lang.String indTabelaUso)
                         throws ECARException
Pesquisa

Parameters:
atributo -
indTabelaUso -
Returns:
List
Throws:
ECARException

getListaAcesso

public java.util.List getListaAcesso()
Returns:
List
Since:
21/11/2007 retorna uma lista dos SisAtributos de grupo de acesso


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