Interface ReportItem<T>

All Superinterfaces:
Item<ReportContext<T>>
All Known Subinterfaces:
ClientScriptProvidingReportItem<T>, JavaClientExecutableReportItem<T>, WebeditExecutableReportItem<T>

public interface ReportItem<T> extends Item<ReportContext<T>>
Item for report plugin providing an executable operation.
Since:
5.1.19
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Indicates, whether this item is enabled wrt. the given context.
    boolean
    Indicates the visibility of this item wrt. the given context.
  • Method Details

    • isVisible

      boolean isVisible(@NotNull ReportContext<T> context)
      Indicates the visibility of this item wrt. the given context.
      Specified by:
      isVisible in interface Item<T>
      Parameters:
      context - The context to be considered for deciding upon visibility.
      Returns:
      true, if visible, false, else.
      Since:
      5.1.19
    • isEnabled

      boolean isEnabled(@NotNull ReportContext<T> context)
      Indicates, whether this item is enabled wrt. the given context.
      Specified by:
      isEnabled in interface Item<T>
      Parameters:
      context - The context to be considered for deciding upon the item being enabled.
      Returns:
      true, if enabled, false, else.
      Since:
      5.1.19