Class PluginServerListener
java.lang.Object
ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
ru.bitel.bgbilling.server.WebMenuBase
ru.bitel.bgbilling.plugins.helpdesk.server.PluginServerListener
- All Implemented Interfaces:
EventListener<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<Event>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetContractWebMenuItems(Connection con, String module, int moduleId, int contractId) voidnotify(Event event, EventListenerContext ctx) voidonDestroyServer(String applicationName) voidonInitServer(String applicationName) voidserializeContract(Connection con, int contractId, XMLStreamWriter writer, boolean onlyCurrent) Methods inherited from class ru.bitel.bgbilling.server.WebMenuBase
disableContractWebMenuItems, getWebMenuItems, getWebMenuItemsMethods inherited from class ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
error, error, error, getLogger, logError, logError, warn
-
Constructor Details
-
PluginServerListener
public PluginServerListener()
-
-
Method Details
-
notify
- Specified by:
notifyin interfaceEventListener<Event>- Throws:
Exception
-
onInitServer
- Specified by:
onInitServerin interfaceru.bitel.bgbilling.kernel.plugin.server.inpoint.OnInitServer
-
onDestroyServer
- Specified by:
onDestroyServerin interfaceru.bitel.bgbilling.kernel.plugin.server.inpoint.OnDestroyServer
-
serializeContract
public void serializeContract(Connection con, int contractId, XMLStreamWriter writer, boolean onlyCurrent) throws SQLException, XMLStreamException - Specified by:
serializeContractin interfaceru.bitel.bgbilling.kernel.plugin.server.inpoint.SerializeContract- Throws:
SQLExceptionXMLStreamException
-
getContractWebMenuItems
public List<MenuItem> getContractWebMenuItems(Connection con, String module, int moduleId, int contractId) throws Exception - Specified by:
getContractWebMenuItemsin interfaceru.bitel.bgbilling.server.WebMenu- Overrides:
getContractWebMenuItemsin classru.bitel.bgbilling.server.WebMenuBase- Throws:
Exception
-