Class ReportFormatSelectorProvider

java.lang.Object
org.idempiere.ui.zk.report.ReportFormatSelectorProvider

public class ReportFormatSelectorProvider extends Object
OSGi component that collects the IReportFormatSelectorFactory services in service ranking order.
  • Constructor Details

    • ReportFormatSelectorProvider

      public ReportFormatSelectorProvider()
  • Method Details

    • activate

      public void activate()
      Make this provider available to getFactories()
    • deactivate

      public void deactivate()
      Remove this provider from getFactories()
    • bindFactory

      public void bindFactory(IReportFormatSelectorFactory factory, Map<String,Object> properties)
      Bind a factory
      Parameters:
      factory - factory to add
      properties - service properties, used for the ranking
    • unbindFactory

      public void unbindFactory(IReportFormatSelectorFactory factory)
      Unbind a factory
      Parameters:
      factory - factory to remove
    • getFactories

      public static IReportFormatSelectorFactory[] getFactories()
      Get the bound factories
      Returns:
      factories, highest service ranking first. Empty if none