Class PluginServerListener
java.lang.Object
ru.bitel.bgbilling.server.WebMenuBase
ru.bitel.bgbilling.plugins.bonus.server.PluginServerListener
- All Implemented Interfaces:
EventListener<ru.bitel.bgbilling.kernel.event.common.Event>
,ru.bitel.bgbilling.kernel.plugin.server.inpoint.OnDestroyServer
,ru.bitel.bgbilling.kernel.plugin.server.inpoint.OnInitServer
,ru.bitel.bgbilling.kernel.plugin.server.inpoint.SerializeContract
,ru.bitel.bgbilling.server.WebMenu
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.OnDestroyServer, ru.bitel.bgbilling.kernel.plugin.server.inpoint.SerializeContract, EventListener<ru.bitel.bgbilling.kernel.event.common.Event>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetContractWebMenuItems
(Connection con, String module, int moduleId, int contractId) void
notify
(ru.bitel.bgbilling.kernel.event.common.Event event, EventListenerContext ctx) void
onDestroyServer
(String applicationName) void
onInitServer
(String applicationName) void
serializeContract
(Connection con, int cid, XMLStreamWriter writer, boolean onlyCurrent) Methods inherited from class ru.bitel.bgbilling.server.WebMenuBase
disableContractWebMenuItems, getWebMenuItems, getWebMenuItems
-
Constructor Details
-
PluginServerListener
public PluginServerListener()
-
-
Method Details
-
notify
public void notify(ru.bitel.bgbilling.kernel.event.common.Event event, 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
-
onInitServer
- Specified by:
onInitServer
in interfaceru.bitel.bgbilling.kernel.plugin.server.inpoint.OnInitServer
-
onDestroyServer
- Specified by:
onDestroyServer
in interfaceru.bitel.bgbilling.kernel.plugin.server.inpoint.OnDestroyServer
-
serializeContract
public void serializeContract(Connection con, int cid, XMLStreamWriter writer, boolean onlyCurrent) throws SQLException, XMLStreamException - Specified by:
serializeContract
in interfaceru.bitel.bgbilling.kernel.plugin.server.inpoint.SerializeContract
- Throws:
SQLException
XMLStreamException
-
getContractWebMenuItems
public List<MenuItem> getContractWebMenuItems(Connection con, String module, int moduleId, int contractId) throws ru.bitel.bgbilling.common.BGException - Specified by:
getContractWebMenuItems
in interfaceru.bitel.bgbilling.server.WebMenu
- Overrides:
getContractWebMenuItems
in classru.bitel.bgbilling.server.WebMenuBase
- Throws:
ru.bitel.bgbilling.common.BGException
-