text: /******************************************************************************
  * Copyright (C) 2009 - Ikaro Games   www.ikarogames.com                       *
  *                                                                             *
  * This program is free software; you can redistribute it and/or               *
  * modify it under the terms of the GNU General Public License                 *
  * as published by the Free Software Foundation; either version 2              *
  * of the License, or (at your option) any later version.                      *
  *                                                                             *
  * This program is distributed in the hope that it will be useful,             *
  * but WITHOUT ANY WARRANTY; without even the implied warranty of              *
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the               *
  * GNU General Public License for more details.                                *
  *                                                                             *
  * You should have received a copy of the GNU General Public License           *
  * along with this program; if not, write to the Free Software                 *
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA. *
  *                                                                             *
  *                                                                             *
  *       generated by dia/DAOcodegen.py                                        *
  *       Version: 1.23                                                         *
  ******************************************************************************/
  
  #ifndef IPFTEAMSDAO_H_
  #define IPFTEAMSDAO_H_
  
  #include <string>
  #include <vector>
  
  #include "../bean/CPfTeams.h"
  
  class IPfTeamsDAO
  {
  public:
      IPfTeamsDAO(){}
      virtual ~IPfTeamsDAO(){}
  
      virtual bool deleteReg(CPfTeams *reg) =0;
      virtual bool insertReg(CPfTeams *reg) =0;
      virtual bool updateReg(CPfTeams *reg) =0;
  
      virtual void freeVector(std::vector<CPfTeams*>* vector) =0;
  
      virtual CPfTeams* findByXTeam(int XTeam) =0;
      virtual CPfTeams* findByXTeam(const std::string &XTeam) =0;
      virtual CPfTeams* findByXFkStadium(int XFkStadium) =0;
      virtual CPfTeams* findByXFkStadium(const std::string &XFkStadium) =0;
      virtual CPfTeams* findByXFkCountry(int XFkCountry) =0;
      virtual CPfTeams* findByXFkCountry(const std::string &XFkCountry) =0;
      virtual std::vector<CPfTeams*>* findAll() =0;
      virtual std::vector<CPfTeams*>* findByXFKCompetitionAndXFKSeason(int XFKCompetition, int XFKSeason) =0;
      virtual std::vector<CPfTeams*>* findByXFKCompetitionAndXFKSeason(const std::string &XFKCompetition, const std::string &XFKSeason) =0;
  
  };
  #endif /*IPFTEAMSDAO_H_*/
  