Class Module
java.lang.Object
ru.bitel.bgbilling.server.WebMenuBase
bitel.billing.server.ModuleBase
ru.bitel.bgbilling.modules.tv.server.Module
- All Implemented Interfaces:
bitel.billing.server.ApplicationModule
,EventListener<ru.bitel.bgbilling.kernel.event.common.Event>
,ru.bitel.bgbilling.server.WebMenu
public class Module
extends bitel.billing.server.ModuleBase
implements bitel.billing.server.ApplicationModule, EventListener<ru.bitel.bgbilling.kernel.event.common.Event>
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionString[]
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, ru.bitel.bgbilling.kernel.event.common.Event e) void
notify
(ru.bitel.bgbilling.kernel.event.common.Event _e, EventListenerContext ctx) void
serializeContract
(Connection con, int cid, int mid, 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 bitel.billing.server.ModuleBase
deleteContractServices, enableAutopayment, getDeployment, getLogger, getObjectEntities, getPaymentMethods, getPaymentMode, getWebMenuItems, removeAutopayment
Methods inherited from class ru.bitel.bgbilling.server.WebMenuBase
disableContractWebMenuItems, getContractWebMenuItems, getWebMenuItems
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface bitel.billing.server.ApplicationModule
getDeployment, getObjectEntities
-
Constructor Details
-
Module
public Module()
-
-
Method Details
-
getServerPackages
- Specified by:
getServerPackages
in interfacebitel.billing.server.ApplicationModule
-
start
- Specified by:
start
in interfacebitel.billing.server.ApplicationModule
- Overrides:
start
in classbitel.billing.server.ModuleBase
- Throws:
ru.bitel.bgbilling.common.BGException
-
notify
public void notify(ru.bitel.bgbilling.kernel.event.common.Event _e, EventListenerContext ctx) throws ru.bitel.bgbilling.common.BGException - Specified by:
notify
in interfaceEventListener<ru.bitel.bgbilling.kernel.event.common.Event>
- Throws:
ru.bitel.bgbilling.common.BGException
-
getStatus
public String getStatus(Connection con, int moduleId, int contractId) throws ru.bitel.bgbilling.common.BGException - Specified by:
getStatus
in interfacebitel.billing.server.ApplicationModule
- Overrides:
getStatus
in classbitel.billing.server.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 interfacebitel.billing.server.ApplicationModule
- Overrides:
lockServiceNow
in classbitel.billing.server.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 interfacebitel.billing.server.ApplicationModule
- Overrides:
lockService
in classbitel.billing.server.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 interfacebitel.billing.server.ApplicationModule
- Overrides:
unlockServiceNow
in classbitel.billing.server.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 interfacebitel.billing.server.ApplicationModule
- Overrides:
unlockService
in classbitel.billing.server.ModuleBase
- Throws:
ru.bitel.bgbilling.common.BGException
-
moduleAction
public void moduleAction(ru.bitel.bgbilling.kernel.container.managed.ServerContext ctx, int moduleId, ru.bitel.bgbilling.kernel.event.common.Event e) throws Exception - Specified by:
moduleAction
in interfacebitel.billing.server.ApplicationModule
- Overrides:
moduleAction
in classbitel.billing.server.ModuleBase
- Throws:
Exception
-
serializeContract
public void serializeContract(Connection con, int cid, int mid, XMLStreamWriter tables, boolean onlyCurrent) throws SQLException, XMLStreamException - Specified by:
serializeContract
in interfacebitel.billing.server.ApplicationModule
- Overrides:
serializeContract
in classbitel.billing.server.ModuleBase
- Throws:
SQLException
XMLStreamException
-