Class AVDesc10
java.lang.Object
ru.bitel.bgbilling.modules.drweb.server.bean.api.AVDesc10
- All Implemented Interfaces:
AVDescAPI
-
Constructor Summary
ConstructorDescriptionAVDesc10
(Connection con, ParameterMap moduleSetup, int moduleId, AgentAVDManager agentManager) -
Method Summary
Modifier and TypeMethodDescriptionvoid
blockOnAVD
(AgentAVD agent, Date dateFrom, Date dateTo) void
changeTariffOnAVD
(AgentAVD agent, String groupTitle) getAgentFromAVD
(int contractId, String groupTitle, Date expires) void
prolongAgentOnAVD
(AgentAVD agent, Date date) void
sinchronizeAgent
(int cid) Синхронизирует агенты с сервером для договора cid.
-
Constructor Details
-
AVDesc10
public AVDesc10(Connection con, ParameterMap moduleSetup, int moduleId, AgentAVDManager agentManager)
-
-
Method Details
-
getAgentFromAVD
public AgentAVD getAgentFromAVD(int contractId, String groupTitle, Date expires) throws ru.bitel.bgbilling.common.BGException - Specified by:
getAgentFromAVD
in interfaceAVDescAPI
- Throws:
ru.bitel.bgbilling.common.BGException
-
sinchronizeAgent
public void sinchronizeAgent(int cid) Синхронизирует агенты с сервером для договора cid. Если cid -1 то для всех договоров- Specified by:
sinchronizeAgent
in interfaceAVDescAPI
- Parameters:
cid
-
-
prolongAgentOnAVD
public void prolongAgentOnAVD(AgentAVD agent, Date date) throws ru.bitel.bgbilling.common.BGException - Specified by:
prolongAgentOnAVD
in interfaceAVDescAPI
- Throws:
ru.bitel.bgbilling.common.BGException
-
blockOnAVD
public void blockOnAVD(AgentAVD agent, Date dateFrom, Date dateTo) throws ru.bitel.bgbilling.common.BGException - Specified by:
blockOnAVD
in interfaceAVDescAPI
- Throws:
ru.bitel.bgbilling.common.BGException
-
changeTariffOnAVD
public void changeTariffOnAVD(AgentAVD agent, String groupTitle) throws ru.bitel.bgbilling.common.BGException - Specified by:
changeTariffOnAVD
in interfaceAVDescAPI
- Throws:
ru.bitel.bgbilling.common.BGException
-