Class DrWebManager

java.lang.Object
ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
ru.bitel.bgbilling.modules.drweb.server.bean.DrWebManager

public class DrWebManager extends ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
  • Constructor Details

  • Method Details

    • newAgent

      public AgentAVD newAgent(int contractId, int tariffId) throws Exception
      Throws:
      Exception
    • getAgentList

      public List<AgentAVD> getAgentList(int contractId) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • getAgentListAll

      public List<AgentAVD> getAgentListAll() throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • getAgent

      public AgentAVD getAgent(int id) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • getAgentList

      public List<AgentAVD> getAgentList(Date date) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • getLockAgent

      public List<AgentAVD> getLockAgent() throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • prolongAgent

      public void prolongAgent(AgentAVD agent, Date dateTo)
    • blockAgent

      public void blockAgent(AgentAVD agent, int monthCount) throws Exception
      Throws:
      Exception
    • deleteAgent

      public void deleteAgent(AgentAVD agent) throws Exception
      Throws:
      Exception
    • activeAgent

      public void activeAgent(AgentAVD agent) throws Exception
      Throws:
      Exception
    • toChangeTariff

      public void toChangeTariff(AgentAVD agent, int nextTariffId) throws Exception
      Назначает следующий тариф для агента
      Parameters:
      agent -
      groupTitle -
      Throws:
      Exception
    • doChanges

      public void doChanges(AgentAVD agent) throws Exception
      Переназначает тариф на сервере AVDESK
      Parameters:
      agent -
      groupTitle -
      Throws:
      Exception
    • getActualAgentCount

      public int getActualAgentCount(int cid) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • checkMaxAgentCount

      public void checkMaxAgentCount(int cid) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException