public class MyNotificationsReport extends RegistryObjectReport
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CONTEXT |
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 |
---|
MyNotificationsReport(Connector con) |
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
|
Item |
getItem(java.lang.Object object)
Provide an item to be rendered
|
int |
getNotReadNotificationsCount() |
java.lang.String |
getTitle(java.util.Locale locale)
Get title of report
|
boolean |
implicitlyAddRefreshCommand()
Check whether the standard "Refresh" command shall implicitly be added
to this report's toolbar
|
java.util.Collection |
prepareItems()
Prepare items to get them in subsequent calls to getItem(Object object)
|
boolean |
supportsDelayedRead() |
getConnector, getItems, save, setItem
addAccessor, addAccessor, addDynamicColumns, appendUserHeading, clearCommands, duplicate, endProcess, execute, getAccessor, getAllHeadings, getAllHeadingsNotPartOfColumn, getCommands, getFixedColumnHeadings, getHeadings, getHeadingsNotPartOfColumn, getId, getItem, getLocale, getNonEmptyTitle, getOnSelectCommand, getPropertyAccessor, getPropertyAccessorFlags, getRows, getSelectedItem, getToolbarCommands, hasPropertyAccessorWithFlag, hasUserConfiguration, implicitlyAddSaveReportCommand, implicitlyAddSelectColumnsCommand, initializeUserHeadings, initializeUserHeadings, removeCommand, resetUserHeadings, setItemsProvider, setLocale, setSelectedItem, suppressColumns, suppressProperty, toXhtml, toXhtml
public MyNotificationsReport(Connector con)
public boolean implicitlyAddRefreshCommand()
AbstractReport
implicitlyAddRefreshCommand
in interface ReportInterface
implicitlyAddRefreshCommand
in class AbstractReport
public Item getItem(java.lang.Object object) throws java.lang.Exception
AbstractReport
getItem
in interface ItemsProvider
getItem
in class AbstractReport
java.lang.Exception
public int getNotReadNotificationsCount() throws java.lang.Exception
java.lang.Exception
public java.lang.String getTitle(java.util.Locale locale) throws java.lang.Exception
RegistryObjectReport
getTitle
in interface ReportInterface
getTitle
in class RegistryObjectReport
java.lang.Exception
public java.lang.String getDescription(java.util.Locale locale) throws java.lang.Exception
RegistryObjectReport
getDescription
in interface ReportInterface
getDescription
in class RegistryObjectReport
java.lang.Exception
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.
public java.util.Collection prepareItems() throws java.lang.Exception
AbstractReport
prepareItems
in interface ItemsProvider
prepareItems
in class AbstractReport
java.lang.Exception
public boolean supportsDelayedRead()
supportsDelayedRead
in interface ItemsProvider
supportsDelayedRead
in class AbstractReport
public java.lang.String getImageURL() throws java.lang.Exception
RegistryObjectReport
getImageURL
in interface ReportInterface
getImageURL
in class RegistryObjectReport
java.lang.Exception