コード例 #1
0
ファイル: FavoritosBusiness.java プロジェクト: c1c4/HowWeDo
 public DtoFavoritos Buscar(int codigo) throws Exception {
   try {
     return daoFavoritos.BuscarFavoritos(codigo);
   } catch (Exception e) {
     throw new Exception(e.getMessage());
   }
 }
コード例 #2
0
ファイル: FavoritosBusiness.java プロジェクト: c1c4/HowWeDo
 public Boolean Excluir(int codigo) throws Exception {
   try {
     return daoFavoritos.Excluir(codigo);
   } catch (Exception e) {
     throw new Exception(e.getMessage());
   }
 }
コード例 #3
0
ファイル: FavoritosBusiness.java プロジェクト: c1c4/HowWeDo
 public DtoFavoritos ObterUltimoId() throws Exception {
   try {
     return daoFavoritos.ObterUltimoId();
   } catch (Exception e) {
     throw new Exception(e.getMessage());
   }
 }
コード例 #4
0
ファイル: FavoritosBusiness.java プロジェクト: c1c4/HowWeDo
 public Boolean Incluir(DtoFavoritos favoritosDTO) throws Exception {
   try {
     daoFavoritos.Incluir(favoritosDTO);
   } catch (Exception e) {
     throw new Exception(e.getMessage());
   }
   return true;
 }