Class DealerManager
java.lang.Object
ru.bitel.bgbilling.modules.card.server.bean.DealerManager
public class DealerManager
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description DealerManager(java.sql.Connection con, int mid)
-
Method Summary
Modifier and Type Method Description Dealer
getDealer(int id)
Dealer
getDealer(java.lang.String login, java.lang.String pswd)
Авторизация дилераjava.util.List<Dealer>
getDealerList(java.lang.String title, java.util.Calendar from, java.util.Calendar until, int type)
java.util.List<Dealer>
getDealersByContractId(int cid, int type)
java.util.List<Dealer>
getDealersByContractID(int cid, int type)
Deprecated.void
incDealerError(int id)
void
incDealerFinded(int id)
Deprecated.void
incDealerFinded(int id, int count)
void
incDealerPayed(int id)
void
incDealerRequest(int id, int count)
void
updateDealer(Dealer dealer)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
DealerManager
public DealerManager(java.sql.Connection con, int mid)
-
-
Method Details
-
getDealer
- Throws:
ru.bitel.bgbilling.common.BGException
-
getDealer
public Dealer getDealer(java.lang.String login, java.lang.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
-
getDealersByContractID
Deprecated.ИспользоватьgetDealersByContractId(int, int)
.- Parameters:
cid
-type
-- Returns:
-
getDealerList
public java.util.List<Dealer> getDealerList(java.lang.String title, java.util.Calendar from, java.util.Calendar until, int type) -
updateDealer
- Throws:
ru.bitel.bgbilling.common.BGException
-
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)
-