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:
bitel.billing.server.ApplicationModule,EventListener<ru.bitel.bgbilling.kernel.event.common.Event>,ru.bitel.bgbilling.server.WebMenu
public class Module
extends ru.bitel.bgbilling.kernel.container.web.action.ModuleBase
implements bitel.billing.server.ApplicationModule, EventListener<ru.bitel.bgbilling.kernel.event.common.Event>
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]getStatus(Connection con, int moduleId, int contractId) voidlockService(Connection con, int moduleId, ru.bitel.bgbilling.kernel.contract.runtime.ContractRuntime contractRuntime, BigDecimal balance, BigDecimal limit, boolean lightweight) voidlockServiceNow(Connection con, int moduleId, ru.bitel.bgbilling.kernel.contract.runtime.ContractRuntime contractRuntime, BigDecimal balance, BigDecimal limit, boolean lightweight) voidmoduleAction(ru.bitel.bgbilling.kernel.container.managed.ServerContext ctx, int moduleId, ru.bitel.bgbilling.kernel.event.common.Event e) voidnotify(ru.bitel.bgbilling.kernel.event.common.Event _e, EventListenerContext ctx) voidserializeContract(Connection con, int cid, int mid, XMLStreamWriter tables, boolean onlyCurrent) voidstart(Connection con, BGModule module) voidunlockService(Connection con, int moduleId, ru.bitel.bgbilling.kernel.contract.runtime.ContractRuntime contractRuntime, BigDecimal balance, BigDecimal limit, boolean lightweight) voidunlockServiceNow(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, removeAutopaymentMethods inherited from class ru.bitel.bgbilling.server.WebMenuBase
disableContractWebMenuItems, getContractWebMenuItems, getWebMenuItemsMethods inherited from class ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
error, error, error, getLogger, logError, logError, warnMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface bitel.billing.server.ApplicationModule
getDeployment, getObjectEntities
-
Constructor Details
-
Module
public Module()
-
-
Method Details
-
getServerPackages
- Specified by:
getServerPackagesin interfacebitel.billing.server.ApplicationModule
-
start
- Specified by:
startin interfacebitel.billing.server.ApplicationModule- Overrides:
startin classru.bitel.bgbilling.kernel.container.web.action.ModuleBase- Throws:
Exception
-
notify
public void notify(ru.bitel.bgbilling.kernel.event.common.Event _e, EventListenerContext ctx) throws Exception - Specified by:
notifyin interfaceEventListener<ru.bitel.bgbilling.kernel.event.common.Event>- Throws:
Exception
-
getStatus
public String getStatus(Connection con, int moduleId, int contractId) throws ru.bitel.bgbilling.common.BGException - Specified by:
getStatusin interfacebitel.billing.server.ApplicationModule- Overrides:
getStatusin classru.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:
lockServiceNowin interfacebitel.billing.server.ApplicationModule- Overrides:
lockServiceNowin classru.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:
lockServicein interfacebitel.billing.server.ApplicationModule- Overrides:
lockServicein classru.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:
unlockServiceNowin interfacebitel.billing.server.ApplicationModule- Overrides:
unlockServiceNowin classru.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:
unlockServicein interfacebitel.billing.server.ApplicationModule- Overrides:
unlockServicein classru.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, ru.bitel.bgbilling.kernel.event.common.Event e) throws Exception - Specified by:
moduleActionin interfacebitel.billing.server.ApplicationModule- Overrides:
moduleActionin classru.bitel.bgbilling.kernel.container.web.action.ModuleBase- Throws:
Exception
-
serializeContract
public void serializeContract(Connection con, int cid, int mid, XMLStreamWriter tables, boolean onlyCurrent) throws SQLException, XMLStreamException - Specified by:
serializeContractin interfacebitel.billing.server.ApplicationModule- Overrides:
serializeContractin classru.bitel.bgbilling.kernel.container.web.action.ModuleBase- Throws:
SQLExceptionXMLStreamException
-