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 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 interface EventListener<ru.bitel.bgbilling.kernel.event.common.Event>
      Throws:
      ru.bitel.bgbilling.common.BGException
    • onInitServer

      public void onInitServer(String applicationName)
      Specified by:
      onInitServer in interface ru.bitel.bgbilling.kernel.plugin.server.inpoint.OnInitServer
    • onDestroyServer

      public void onDestroyServer(String applicationName)
      Specified by:
      onDestroyServer in interface ru.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 interface ru.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 interface ru.bitel.bgbilling.server.WebMenu
      Overrides:
      getContractWebMenuItems in class ru.bitel.bgbilling.server.WebMenuBase
      Throws:
      ru.bitel.bgbilling.common.BGException