com.centrasite.control.types
Class NotificationSettings

java.lang.Object
  extended by com.centrasite.control.discovery.AbstractReport
      extended by com.centrasite.control.types.RegistryObjectReport
          extended by com.centrasite.control.types.NotificationSettings
All Implemented Interfaces:
ItemsProvider, ReportInterface

public class NotificationSettings
extends RegistryObjectReport

Model for upper table in "My Notifications" screen


Field Summary
static java.lang.String CONTEXT
           
 
Fields inherited from interface com.centrasite.control.ReportInterface
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 Summary
NotificationSettings(Connector con)
           
 
Method Summary
 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.util.Collection getItems()
          Get items for report
 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
 
Methods inherited from class com.centrasite.control.types.RegistryObjectReport
getConnector, getImageURL, save, setItem
 
Methods inherited from class com.centrasite.control.discovery.AbstractReport
addAccessor, addAccessor, addDynamicColumns, appendUserHeading, clearCommands, duplicate, endProcess, execute, getAccessor, getAllHeadings, getAllHeadingsNotPartOfColumn, getCommands, getFixedColumnHeadings, getHeadings, getHeadingsNotPartOfColumn, getId, getItem, getItem, getLocale, getNonEmptyTitle, getOnSelectCommand, getPropertyAccessor, getPropertyAccessorFlags, getRows, getSelectedItem, getToolbarCommands, hasPropertyAccessorWithFlag, hasUserConfiguration, implicitlyAddSaveReportCommand, implicitlyAddSelectColumnsCommand, initializeUserHeadings, initializeUserHeadings, prepareItems, removeCommand, resetUserHeadings, setItemsProvider, setLocale, setSelectedItem, supportsDelayedRead, suppressColumns, suppressProperty, toXhtml, toXhtml
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONTEXT

public static final java.lang.String CONTEXT
Constructor Detail

NotificationSettings

public NotificationSettings(Connector con)
Method Detail

implicitlyAddRefreshCommand

public boolean implicitlyAddRefreshCommand()
Description copied from class: AbstractReport
Check whether the standard "Refresh" command shall implicitly be added to this report's toolbar

Specified by:
implicitlyAddRefreshCommand in interface ReportInterface
Overrides:
implicitlyAddRefreshCommand in class AbstractReport
Returns:
true if to be added, false otherwise

getItems

public java.util.Collection getItems()
                              throws java.lang.Exception
Description copied from class: RegistryObjectReport
Get items for report

Specified by:
getItems in interface ItemsProvider
Overrides:
getItems in class RegistryObjectReport
Throws:
java.lang.Exception

getTitle

public java.lang.String getTitle(java.util.Locale locale)
                          throws java.lang.Exception
Description copied from class: RegistryObjectReport
Get title of report

Specified by:
getTitle in interface ReportInterface
Overrides:
getTitle in class RegistryObjectReport
Throws:
java.lang.Exception

getDescription

public java.lang.String getDescription(java.util.Locale locale)
                                throws java.lang.Exception
Description copied from class: RegistryObjectReport
Get description of report

Specified by:
getDescription in interface ReportInterface
Overrides:
getDescription in class RegistryObjectReport
Throws:
java.lang.Exception

getContextMenuCommands

public java.util.List getContextMenuCommands(Item item)
Description copied from interface: ReportInterface
Obtain the commands list to be displayed on context menu request.

Specified by:
getContextMenuCommands in interface ReportInterface
Overrides:
getContextMenuCommands in class AbstractReport
Returns:
Copy of this item commands collection.
See Also:
Can be overridden by implementors in order to provide custom list of commands.