T
- The type of handled objects.public interface ReportPlugin<T> extends ItemsPlugin<ReportItem<T>>
Modifier and Type | Method and Description |
---|---|
DataProvider<T> |
createDataProvider()
Factory method to create an object provider instance for use with this report plug-in.
|
DataRenderer<T> |
createDataRenderer()
Factory method to create a renderer instance for use with this report plug-in.
|
TransferHandler<T> |
createTransferHandler()
Factory method to create a transfer handler instance for use with this report plug-in.
|
ReportItem<T> |
getDefaultItem()
Returns the default item of this report plugin, or
null if not supported. |
Image<?> |
getIcon(boolean selected)
Returns a URL for the report's icon graphic that will be shown in the WebClient.
|
List<Parameter<?>> |
getParameter()
Returns a list of parameter definitions of this report plug-in, used to enable filter configuration by users within
the user interface.
|
String |
getTitle()
Returns a human-readable title representing this report plug-in.
|
boolean |
isVisible()
Returns whether or not this report plugin should be visible in the current environment.
|
getItems
boolean isVisible()
BaseContext.is(BaseContext.Env)
String getTitle()
@Nullable Image<?> getIcon(boolean selected)
selected
- The selected-state of the icon.null
if a generic icon should be used.Image.Factory
@NotNull List<Parameter<?>> getParameter()
Parameter
list.Parameter.Factory
@NotNull DataProvider<T> createDataProvider()
@NotNull DataRenderer<T> createDataRenderer()
@Nullable TransferHandler<T> createTransferHandler()
@Nullable ReportItem<T> getDefaultItem()
null
if not supported.
The operation, provided by the returned item, will be executed on an user-generated click-event.null
Copyright © 2015 e-Spirit AG. All Rights Reserved. Build 5.1.408