Class Module

java.lang.Object
ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
ru.bitel.bgbilling.server.WebMenuBase
ru.bitel.bgbilling.kernel.container.web.action.ModuleBase
ru.bitel.bgbilling.modules.tv.server.Module
All Implemented Interfaces:
EventListener<Event>, ru.bitel.bgbilling.kernel.module.server.ApplicationModule, ru.bitel.bgbilling.server.WebMenu

public class Module extends ru.bitel.bgbilling.kernel.container.web.action.ModuleBase implements ru.bitel.bgbilling.kernel.module.server.ApplicationModule, EventListener<Event>
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    getStatus(Connection con, int moduleId, int contractId)
     
    void
    lockService(Connection con, int moduleId, ru.bitel.bgbilling.kernel.contract.runtime.ContractRuntime contractRuntime, BigDecimal balance, BigDecimal limit, boolean lightweight)
     
    void
    lockServiceNow(Connection con, int moduleId, ru.bitel.bgbilling.kernel.contract.runtime.ContractRuntime contractRuntime, BigDecimal balance, BigDecimal limit, boolean lightweight)
     
    void
    moduleAction(ru.bitel.bgbilling.kernel.container.managed.ServerContext ctx, int moduleId, Event e)
     
    void
     
    void
    serializeContract(Connection con, int contractId, int moduleId, XMLStreamWriter tables, boolean onlyCurrent)
     
    void
    start(Connection con, BGModule module)
     
    void
    unlockService(Connection con, int moduleId, ru.bitel.bgbilling.kernel.contract.runtime.ContractRuntime contractRuntime, BigDecimal balance, BigDecimal limit, boolean lightweight)
     
    void
    unlockServiceNow(Connection con, int moduleId, ru.bitel.bgbilling.kernel.contract.runtime.ContractRuntime contractRuntime, BigDecimal balance, BigDecimal limit, boolean lightweight)
     

    Methods inherited from class ru.bitel.bgbilling.kernel.container.web.action.ModuleBase

    deleteContractServices, enableAutopayment, getAutopaymentMethods, getContractAutopaymentData, getDeployment, getObjectEntities, getPaymentMethods, getPaymentMethods, getPaymentMode, getWebMenuItems, removeAutopayment

    Methods inherited from class ru.bitel.bgbilling.server.WebMenuBase

    disableContractWebMenuItems, getContractWebMenuItems, getWebMenuItems

    Methods inherited from class ru.bitel.bgbilling.kernel.base.server.logger.BGLogger

    error, error, error, getLogger, logError, logError, logError, warn

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface ru.bitel.bgbilling.kernel.module.server.ApplicationModule

    getDeployment, getObjectEntities
  • Constructor Details

    • Module

      public Module()
  • Method Details

    • getServerPackages

      public String[] getServerPackages()
      Specified by:
      getServerPackages in interface ru.bitel.bgbilling.kernel.module.server.ApplicationModule
    • start

      public void start(Connection con, BGModule module) throws Exception
      Specified by:
      start in interface ru.bitel.bgbilling.kernel.module.server.ApplicationModule
      Overrides:
      start in class ru.bitel.bgbilling.kernel.container.web.action.ModuleBase
      Throws:
      Exception
    • notify

      public void notify(Event _e, EventListenerContext ctx) throws Exception
      Specified by:
      notify in interface EventListener<Event>
      Throws:
      Exception
    • getStatus

      public String getStatus(Connection con, int moduleId, int contractId) throws ru.bitel.bgbilling.common.BGException
      Specified by:
      getStatus in interface ru.bitel.bgbilling.kernel.module.server.ApplicationModule
      Overrides:
      getStatus in class ru.bitel.bgbilling.kernel.container.web.action.ModuleBase
      Throws:
      ru.bitel.bgbilling.common.BGException
    • lockServiceNow

      public void lockServiceNow(Connection con, int moduleId, ru.bitel.bgbilling.kernel.contract.runtime.ContractRuntime contractRuntime, BigDecimal balance, BigDecimal limit, boolean lightweight) throws ru.bitel.bgbilling.common.BGException
      Specified by:
      lockServiceNow in interface ru.bitel.bgbilling.kernel.module.server.ApplicationModule
      Overrides:
      lockServiceNow in class ru.bitel.bgbilling.kernel.container.web.action.ModuleBase
      Throws:
      ru.bitel.bgbilling.common.BGException
    • lockService

      public void lockService(Connection con, int moduleId, ru.bitel.bgbilling.kernel.contract.runtime.ContractRuntime contractRuntime, BigDecimal balance, BigDecimal limit, boolean lightweight) throws ru.bitel.bgbilling.common.BGException
      Specified by:
      lockService in interface ru.bitel.bgbilling.kernel.module.server.ApplicationModule
      Overrides:
      lockService in class ru.bitel.bgbilling.kernel.container.web.action.ModuleBase
      Throws:
      ru.bitel.bgbilling.common.BGException
    • unlockServiceNow

      public void unlockServiceNow(Connection con, int moduleId, ru.bitel.bgbilling.kernel.contract.runtime.ContractRuntime contractRuntime, BigDecimal balance, BigDecimal limit, boolean lightweight) throws ru.bitel.bgbilling.common.BGException
      Specified by:
      unlockServiceNow in interface ru.bitel.bgbilling.kernel.module.server.ApplicationModule
      Overrides:
      unlockServiceNow in class ru.bitel.bgbilling.kernel.container.web.action.ModuleBase
      Throws:
      ru.bitel.bgbilling.common.BGException
    • unlockService

      public void unlockService(Connection con, int moduleId, ru.bitel.bgbilling.kernel.contract.runtime.ContractRuntime contractRuntime, BigDecimal balance, BigDecimal limit, boolean lightweight) throws ru.bitel.bgbilling.common.BGException
      Specified by:
      unlockService in interface ru.bitel.bgbilling.kernel.module.server.ApplicationModule
      Overrides:
      unlockService in class ru.bitel.bgbilling.kernel.container.web.action.ModuleBase
      Throws:
      ru.bitel.bgbilling.common.BGException
    • moduleAction

      public void moduleAction(ru.bitel.bgbilling.kernel.container.managed.ServerContext ctx, int moduleId, Event e) throws Exception
      Specified by:
      moduleAction in interface ru.bitel.bgbilling.kernel.module.server.ApplicationModule
      Overrides:
      moduleAction in class ru.bitel.bgbilling.kernel.container.web.action.ModuleBase
      Throws:
      Exception
    • serializeContract

      public void serializeContract(Connection con, int contractId, int moduleId, XMLStreamWriter tables, boolean onlyCurrent) throws SQLException, XMLStreamException
      Specified by:
      serializeContract in interface ru.bitel.bgbilling.kernel.module.server.ApplicationModule
      Overrides:
      serializeContract in class ru.bitel.bgbilling.kernel.container.web.action.ModuleBase
      Throws:
      SQLException
      XMLStreamException