public class DrWebManager
extends java.lang.Object
Constructor and Description |
---|
DrWebManager(java.sql.Connection con,
ParameterMap moduleSetup,
int mid) |
Modifier and Type | Method and Description |
---|---|
void |
activeAgent(AgentAVD agent) |
void |
blockAgent(AgentAVD agent,
int monthCount) |
void |
checkMaxAgentCount(int cid) |
void |
deleteAgent(AgentAVD agent) |
void |
doChanges(AgentAVD agent)
Переназначает тариф на сервере AVDESK
|
int |
getActualAgentCount(int cid) |
AgentAVD |
getAgent(int id) |
java.util.List<AgentAVD> |
getAgentList(java.util.Date date) |
java.util.List<AgentAVD> |
getAgentList(int cid) |
java.util.List<AgentAVD> |
getAgentListAll() |
java.util.List<AgentAVD> |
getLockAgent() |
AgentAVD |
newAgent(int cid,
int tariffId) |
void |
prolongAgent(AgentAVD agent,
java.util.Date dateTo) |
void |
toChangeTariff(AgentAVD agent,
int nextTariffId)
Назначает следующий тариф для агента
|
public DrWebManager(java.sql.Connection con, ParameterMap moduleSetup, int mid)
public AgentAVD newAgent(int cid, int tariffId) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public java.util.List<AgentAVD> getAgentList(int cid) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public java.util.List<AgentAVD> getAgentListAll() throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public AgentAVD getAgent(int id) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public java.util.List<AgentAVD> getAgentList(java.util.Date date) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public java.util.List<AgentAVD> getLockAgent() throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public void prolongAgent(AgentAVD agent, java.util.Date dateTo)
public void blockAgent(AgentAVD agent, int monthCount) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public void deleteAgent(AgentAVD agent) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public void activeAgent(AgentAVD agent) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public void toChangeTariff(AgentAVD agent, int nextTariffId) throws ru.bitel.bgbilling.common.BGException
agent
- groupTitle
- ru.bitel.bgbilling.common.BGException
public void doChanges(AgentAVD agent) throws ru.bitel.bgbilling.common.BGException
agent
- groupTitle
- ru.bitel.bgbilling.common.BGException
public int getActualAgentCount(int cid) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public void checkMaxAgentCount(int cid) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException