public class Module extends bitel.billing.server.ModuleBase implements bitel.billing.server.ApplicationModule, EventListener<Event>
Modifier and Type | Class and Description |
---|---|
static class |
Module.Conf |
Constructor and Description |
---|
Module() |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getServerPackages() |
java.lang.String |
getStatus(java.sql.Connection con,
int mid,
int cid) |
void |
lockService(java.sql.Connection con,
int moduleId,
ru.bitel.bgbilling.kernel.contract.runtime.ContractRuntime contractRuntime,
java.math.BigDecimal balance,
java.math.BigDecimal limit,
boolean lightweight) |
void |
lockServiceNow(java.sql.Connection con,
int moduleId,
ru.bitel.bgbilling.kernel.contract.runtime.ContractRuntime contractRuntime,
java.math.BigDecimal balance,
java.math.BigDecimal limit,
boolean lightweight) |
void |
moduleAction(ru.bitel.bgbilling.kernel.container.managed.ServerContext ctx,
int moduleId,
Event e) |
void |
notify(Event _e,
EventListenerContext ctx) |
void |
serializeContract(java.sql.Connection con,
int cid,
int mid,
javax.xml.stream.XMLStreamWriter tables,
boolean onlyCurrent) |
void |
start(java.sql.Connection con,
javax.naming.Context ctx,
BGModule module) |
void |
unlockService(java.sql.Connection con,
int moduleId,
ru.bitel.bgbilling.kernel.contract.runtime.ContractRuntime contractRuntime,
java.math.BigDecimal balance,
java.math.BigDecimal limit,
boolean lightweight) |
void |
unlockServiceNow(java.sql.Connection con,
int moduleId,
ru.bitel.bgbilling.kernel.contract.runtime.ContractRuntime contractRuntime,
java.math.BigDecimal balance,
java.math.BigDecimal limit,
boolean lightweight) |
deleteContractServices, enableAutopayment, getDeployment, getObjectEntities, getWebMenuItems, removeAutopayment
disableContractWebMenuItems, getContractWebMenuItems, getWebMenuItems
public java.lang.String[] getServerPackages()
getServerPackages
in interface bitel.billing.server.ApplicationModule
public void start(java.sql.Connection con, javax.naming.Context ctx, BGModule module) throws ru.bitel.bgbilling.common.BGException
start
in interface bitel.billing.server.ApplicationModule
start
in class bitel.billing.server.ModuleBase
ru.bitel.bgbilling.common.BGException
public void notify(Event _e, EventListenerContext ctx) throws ru.bitel.bgbilling.common.BGException
notify
in interface EventListener<Event>
ru.bitel.bgbilling.common.BGException
public java.lang.String getStatus(java.sql.Connection con, int mid, int cid) throws ru.bitel.bgbilling.common.BGException
getStatus
in interface bitel.billing.server.ApplicationModule
getStatus
in class bitel.billing.server.ModuleBase
ru.bitel.bgbilling.common.BGException
public void lockServiceNow(java.sql.Connection con, int moduleId, ru.bitel.bgbilling.kernel.contract.runtime.ContractRuntime contractRuntime, java.math.BigDecimal balance, java.math.BigDecimal limit, boolean lightweight) throws ru.bitel.bgbilling.common.BGException
lockServiceNow
in interface bitel.billing.server.ApplicationModule
lockServiceNow
in class bitel.billing.server.ModuleBase
ru.bitel.bgbilling.common.BGException
public void lockService(java.sql.Connection con, int moduleId, ru.bitel.bgbilling.kernel.contract.runtime.ContractRuntime contractRuntime, java.math.BigDecimal balance, java.math.BigDecimal limit, boolean lightweight) throws ru.bitel.bgbilling.common.BGException
lockService
in interface bitel.billing.server.ApplicationModule
lockService
in class bitel.billing.server.ModuleBase
ru.bitel.bgbilling.common.BGException
public void unlockServiceNow(java.sql.Connection con, int moduleId, ru.bitel.bgbilling.kernel.contract.runtime.ContractRuntime contractRuntime, java.math.BigDecimal balance, java.math.BigDecimal limit, boolean lightweight) throws ru.bitel.bgbilling.common.BGException
unlockServiceNow
in interface bitel.billing.server.ApplicationModule
unlockServiceNow
in class bitel.billing.server.ModuleBase
ru.bitel.bgbilling.common.BGException
public void unlockService(java.sql.Connection con, int moduleId, ru.bitel.bgbilling.kernel.contract.runtime.ContractRuntime contractRuntime, java.math.BigDecimal balance, java.math.BigDecimal limit, boolean lightweight) throws ru.bitel.bgbilling.common.BGException
unlockService
in interface bitel.billing.server.ApplicationModule
unlockService
in class bitel.billing.server.ModuleBase
ru.bitel.bgbilling.common.BGException
public void moduleAction(ru.bitel.bgbilling.kernel.container.managed.ServerContext ctx, int moduleId, Event e) throws java.lang.Exception
moduleAction
in interface bitel.billing.server.ApplicationModule
moduleAction
in class bitel.billing.server.ModuleBase
java.lang.Exception
public void serializeContract(java.sql.Connection con, int cid, int mid, javax.xml.stream.XMLStreamWriter tables, boolean onlyCurrent) throws java.sql.SQLException, javax.xml.stream.XMLStreamException
serializeContract
in interface bitel.billing.server.ApplicationModule
serializeContract
in class bitel.billing.server.ModuleBase
java.sql.SQLException
javax.xml.stream.XMLStreamException