code: private void fireEvent(int type, Object data) {
  
          OpenCms.fireCmsEvent(type, Collections.singletonMap("data", data));
      }
docs: Notify all event listeners that a particular event has occurred.<p>
  
  The event will be given to all registered <code>{@link I_CmsEventListener}</code>s.<p>
  
  @param type the type of the event
  @param data a data object that contains data used by the event listeners
  
  @see OpenCms#addCmsEventListener(I_CmsEventListener)
  @see OpenCms#addCmsEventListener(I_CmsEventListener, int[])