Class DealerManager

java.lang.Object
ru.bitel.bgbilling.modules.card.server.bean.DealerManager

public class DealerManager extends Object
  • Constructor Details

    • DealerManager

      public DealerManager(Connection con, int mid)
  • Method Details

    • getDealer

      public Dealer getDealer(int id) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • getDealer

      public Dealer getDealer(String login, String pswd) throws ru.bitel.bgbilling.modules.card.server.idealer.DealerFindException
      Авторизация дилера
      Parameters:
      login -
      pswd -
      Returns:
      Throws:
      ru.bitel.bgbilling.common.BGException
      ru.bitel.bgbilling.modules.card.server.idealer.DealerFindException
    • getDealersByContractId

      public List<Dealer> getDealersByContractId(int cid, int type)
    • getDealersByContractID

      @Deprecated public List<Dealer> getDealersByContractID(int cid, int type)
      Deprecated.
      Использовать getDealersByContractId(int, int).
      Parameters:
      cid -
      type -
      Returns:
    • getDealerList

      public List<Dealer> getDealerList(String title, Calendar from, Calendar until, int type)
    • updateDealer

      public void updateDealer(Dealer dealer) throws Exception
      Throws:
      Exception
    • incDealerError

      public void incDealerError(int id)
    • incDealerRequest

      public void incDealerRequest(int id, int count)
    • incDealerFinded

      @Deprecated public void incDealerFinded(int id)
      Deprecated.
    • incDealerFinded

      public void incDealerFinded(int id, int count)
    • incDealerPayed

      public void incDealerPayed(int id)