public class PluginServerListener extends ru.bitel.bgbilling.server.WebMenuBase implements ru.bitel.bgbilling.kernel.plugin.server.inpoint.OnInitServer, ru.bitel.bgbilling.kernel.plugin.server.inpoint.SerializeContract, EventListener<Event>
| Constructor and Description |
|---|
PluginServerListener() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<MenuItem> |
getContractWebMenuItems(java.sql.Connection con,
java.lang.String module,
int moduleId,
int contractId) |
void |
notify(Event event,
EventListenerContext ctx) |
void |
onInitServer(Setup setup)
Вызывается когда стартует сам сервер, в конце его конструктора, после
создания сервлетов.
|
void |
serializeContract(java.sql.Connection con,
int cid,
javax.xml.stream.XMLStreamWriter writer,
boolean onlyCurrent)
серелизация данных о договоре
|
public void notify(Event event, EventListenerContext ctx) throws ru.bitel.bgbilling.common.BGException
notify in interface EventListener<Event>ru.bitel.bgbilling.common.BGExceptionpublic void onInitServer(Setup setup)
ru.bitel.bgbilling.kernel.plugin.server.inpoint.OnInitServeronInitServer in interface ru.bitel.bgbilling.kernel.plugin.server.inpoint.OnInitServerpublic void serializeContract(java.sql.Connection con,
int cid,
javax.xml.stream.XMLStreamWriter writer,
boolean onlyCurrent)
throws java.sql.SQLException,
javax.xml.stream.XMLStreamException
ru.bitel.bgbilling.kernel.plugin.server.inpoint.SerializeContractserializeContract in interface ru.bitel.bgbilling.kernel.plugin.server.inpoint.SerializeContractjava.sql.SQLExceptionjavax.xml.stream.XMLStreamExceptionpublic java.util.List<MenuItem> getContractWebMenuItems(java.sql.Connection con, java.lang.String module, int moduleId, int contractId) throws ru.bitel.bgbilling.common.BGException
getContractWebMenuItems in interface ru.bitel.bgbilling.server.WebMenugetContractWebMenuItems in class ru.bitel.bgbilling.server.WebMenuBaseru.bitel.bgbilling.common.BGException