Class AVDesc10
java.lang.Object
ru.bitel.bgbilling.modules.drweb.server.bean.api.AVDesc10
- All Implemented Interfaces:
AVDescAPI
public class AVDesc10 extends java.lang.Object implements AVDescAPI
-
Constructor Summary
Constructors Constructor Description AVDesc10(java.sql.Connection con, ParameterMap moduleSetup, int moduleId, AgentAVDManager agentManager) -
Method Summary
Modifier and Type Method Description voidblockOnAVD(AgentAVD agent, java.util.Date dateFrom, java.util.Date dateTo)voidchangeTariffOnAVD(AgentAVD agent, java.lang.String groupTitle)AgentAVDgetAgentFromAVD(int contractId, java.lang.String groupTitle)voidprolongAgentOnAVD(AgentAVD agent, java.util.Date date)voidsinchronizeAgent(int cid)Синхронизирует агенты с сервером для договора cid.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
AVDesc10
public AVDesc10(java.sql.Connection con, ParameterMap moduleSetup, int moduleId, AgentAVDManager agentManager)
-
-
Method Details
-
getAgentFromAVD
public AgentAVD getAgentFromAVD(int contractId, java.lang.String groupTitle) throws ru.bitel.bgbilling.common.BGException- Specified by:
getAgentFromAVDin interfaceAVDescAPI- Throws:
ru.bitel.bgbilling.common.BGException
-
sinchronizeAgent
public void sinchronizeAgent(int cid)Синхронизирует агенты с сервером для договора cid. Если cid -1 то для всех договоров- Specified by:
sinchronizeAgentin interfaceAVDescAPI- Parameters:
cid-
-
prolongAgentOnAVD
public void prolongAgentOnAVD(AgentAVD agent, java.util.Date date) throws ru.bitel.bgbilling.common.BGException- Specified by:
prolongAgentOnAVDin interfaceAVDescAPI- Throws:
ru.bitel.bgbilling.common.BGException
-
blockOnAVD
public void blockOnAVD(AgentAVD agent, java.util.Date dateFrom, java.util.Date dateTo) throws ru.bitel.bgbilling.common.BGException- Specified by:
blockOnAVDin interfaceAVDescAPI- Throws:
ru.bitel.bgbilling.common.BGException
-
changeTariffOnAVD
public void changeTariffOnAVD(AgentAVD agent, java.lang.String groupTitle) throws ru.bitel.bgbilling.common.BGException- Specified by:
changeTariffOnAVDin interfaceAVDescAPI- Throws:
ru.bitel.bgbilling.common.BGException
-