public class Module extends bitel.billing.server.ModuleBase implements EventListener<Event>
Constructor and Description |
---|
Module() |
Modifier and Type | Method and Description |
---|---|
java.util.List<ModuleEntity> |
getObjectEntities(java.sql.Connection con,
int moduleId,
int objectId) |
java.lang.String[] |
getServerPackages() |
void |
lockService(java.sql.Connection con,
int mid,
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 mid,
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 serverContext,
int moduleId,
Event event) |
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 mid,
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 mid,
ru.bitel.bgbilling.kernel.contract.runtime.ContractRuntime contractRuntime,
java.math.BigDecimal balance,
java.math.BigDecimal limit,
boolean lightweight) |
deleteContractServices, enableAutopayment, getDeployment, getStatus, getWebMenuItems, removeAutopayment
public java.lang.String[] getServerPackages()
getServerPackages
in interface bitel.billing.server.ApplicationModule
public void lockServiceNow(java.sql.Connection con, int mid, 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 unlockServiceNow(java.sql.Connection con, int mid, 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 lockService(java.sql.Connection con, int mid, 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 unlockService(java.sql.Connection con, int mid, 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 serverContext, int moduleId, Event event) 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
public java.util.List<ModuleEntity> getObjectEntities(java.sql.Connection con, int moduleId, int objectId) throws ru.bitel.bgbilling.common.BGException
getObjectEntities
in interface bitel.billing.server.ApplicationModule
getObjectEntities
in class bitel.billing.server.ModuleBase
ru.bitel.bgbilling.common.BGException
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