public class ListReport extends AbstractReport
ASCENDING, DESCENDING, FLAG_ADD_CONTEXT_MENU_METHOD, FLAG_NONE, FLAG_NOT_PART_OF_COLUMNS, FLAG_NOT_PART_OF_CSVCOLUMN, FLAG_NOT_PART_OF_LINES, FLAG_RENDER_ITEM_IMAGE, FLAG_RENDER_READ_ONLY, FLAG_RENDER_REFERENCE_ITEM_IMAGE, FLAG_RENDER_VALUE_AS_CHECKBOX, FLAG_RENDER_VALUE_AS_IMAGEPROP, FLAG_RENDER_VALUE_WITH_METHODLINK, FLAG_SORT_BY_DEFAULT_ASC, FLAG_SORT_BY_DEFAULT_DESC, FLAG_SORT_ICON_INVISIBLE, FLAG_VISIBLE_ALWAYS, FLAG_VISIBLE_BY_DEFAULT
Constructor and Description |
---|
ListReport(Connector connector,
java.util.Locale locale,
SortedItemsProvider sortedItemsProvider) |
Modifier and Type | Method and Description |
---|---|
java.util.List |
getContextMenuCommands(Item item)
Obtain the commands list to be displayed on context menu request.
|
java.lang.String |
getDescription(java.util.Locale locale)
Get description of report
|
java.lang.String |
getImageURL()
Get URL of icon
|
java.lang.String |
getTitle(java.util.Locale locale)
Get title of report
|
java.lang.String |
toXhtml()
Transform the report to XHTML.
|
addAccessor, addAccessor, addDynamicColumns, appendUserHeading, clearCommands, duplicate, endProcess, execute, getAccessor, getAllHeadings, getAllHeadingsNotPartOfColumn, getCommands, getFixedColumnHeadings, getHeadings, getHeadingsNotPartOfColumn, getId, getItem, getItem, getItems, getLocale, getNonEmptyTitle, getOnSelectCommand, getPropertyAccessor, getPropertyAccessorFlags, getRows, getSelectedItem, getToolbarCommands, hasPropertyAccessorWithFlag, hasUserConfiguration, implicitlyAddRefreshCommand, implicitlyAddSaveReportCommand, implicitlyAddSelectColumnsCommand, initializeUserHeadings, initializeUserHeadings, prepareItems, removeCommand, resetUserHeadings, setItem, setItemsProvider, setLocale, setSelectedItem, supportsDelayedRead, suppressColumns, suppressProperty, toXhtml
public ListReport(Connector connector, java.util.Locale locale, SortedItemsProvider sortedItemsProvider)
public java.lang.String getDescription(java.util.Locale locale) throws java.lang.Exception
ReportInterface
java.lang.Exception
public java.lang.String getImageURL() throws java.lang.Exception
ReportInterface
java.lang.Exception
public java.lang.String getTitle(java.util.Locale locale) throws java.lang.Exception
ReportInterface
java.lang.Exception
public java.lang.String toXhtml()
AbstractReport
toXhtml
in interface ReportInterface
toXhtml
in class AbstractReport
public java.util.List getContextMenuCommands(Item item)
ReportInterface
getContextMenuCommands
in interface ReportInterface
getContextMenuCommands
in class AbstractReport
Can be overridden by implementors in order to provide
custom list of commands.