Class ReportItemsProviding.Adapter<D>

java.lang.Object
de.espirit.firstspirit.client.plugin.dataaccess.aspects.ReportItemsProviding.Adapter<D>
All Implemented Interfaces:
ReportItemsProviding<D>
Enclosing interface:
ReportItemsProviding<D>

public static class ReportItemsProviding.Adapter<D> extends Object implements ReportItemsProviding<D>
Adapter for implementation convenience.
Since:
5.2.21
  • Constructor Details

    • Adapter

      public Adapter()
  • Method Details

    • getClickItem

      @Nullable public @Nullable ReportItem<D> getClickItem()
      Returns the click item of this report plugin. The operation provided by the returned item will be executed on a user-generated click-event.
      Specified by:
      getClickItem in interface ReportItemsProviding<D>
      Returns:
      The click item, or null, if not supported.
      Since:
      5.2.21
    • getItems

      @NotNull public @NotNull Collection<? extends ReportItem<D>> getItems()
      Provides an arbitrary number of report items defining actions available with a single entry.
      Specified by:
      getItems in interface ReportItemsProviding<D>
      Returns:
      A collection of report items.
      Since:
      5.2.21