com.centrasite.control.types
Class RepositoryOverviewReport

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

public class RepositoryOverviewReport
extends AbstractReport


Field Summary
 
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
RepositoryOverviewReport(RepositoryFolderItem parentFolder)
           
 
Method Summary
 void addPathForRefresh(java.lang.String path)
           
 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.util.Collection getItems()
          Provide items to be rendered
 com.softwareag.cis.plugin.command.Command getOnSelectCommand(Item item)
          Obtain the command to be executed when selecting a row in the report
 java.lang.String getTitle(java.util.Locale locale)
          Get title of report
 boolean implicitlyAddSaveReportCommand()
          Check whether the standard "Save Report" command shall implicitly be added to this report's toolbar.
 void setItem(Item item)
          Set the Item to get the report on
 
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, getPropertyAccessor, getPropertyAccessorFlags, getRows, getSelectedItem, getToolbarCommands, hasPropertyAccessorWithFlag, hasUserConfiguration, implicitlyAddRefreshCommand, 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
 

Constructor Detail

RepositoryOverviewReport

public RepositoryOverviewReport(RepositoryFolderItem parentFolder)
Method Detail

addPathForRefresh

public void addPathForRefresh(java.lang.String path)

getDescription

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

Throws:
java.lang.Exception

getImageURL

public java.lang.String getImageURL()
                             throws java.lang.Exception
Description copied from interface: ReportInterface
Get URL of icon

Returns:
null if no image available
Throws:
java.lang.Exception

getTitle

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

Throws:
java.lang.Exception

getItems

public java.util.Collection getItems()
                              throws java.lang.Exception
Description copied from class: AbstractReport
Provide items to be rendered

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

setItem

public void setItem(Item item)
Description copied from interface: ReportInterface
Set the Item to get the report on

Specified by:
setItem in interface ReportInterface
Overrides:
setItem in class AbstractReport

getOnSelectCommand

public com.softwareag.cis.plugin.command.Command getOnSelectCommand(Item item)
Description copied from class: AbstractReport
Obtain the command to be executed when selecting a row in the report

Specified by:
getOnSelectCommand in interface ReportInterface
Overrides:
getOnSelectCommand in class AbstractReport
Returns:
the command to be executed; null if no command to be executed

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.

implicitlyAddSaveReportCommand

public boolean implicitlyAddSaveReportCommand()
Description copied from class: AbstractReport
Check whether the standard "Save Report" command shall implicitly be added to this report's toolbar. Default implementation returns true.

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