com.centrasite.control.extpt.junit
Class AddRowToMyNotifications

java.lang.Object
  extended by com.centrasite.control.extpt.AbstractReportExtensionItemsProvider
      extended by com.centrasite.control.extpt.junit.AddRowToMyNotifications
All Implemented Interfaces:
ItemsProvider, ReportExtensionItemsProvider

public class AddRowToMyNotifications
extends AbstractReportExtensionItemsProvider

Sample implementaion of AbstractReportExtensionItemsProvider This adds two RegistryObjects to My Notifications -- Classification Schemes ContentType and CentraSiteFilterType


Constructor Summary
AddRowToMyNotifications()
           
 
Method Summary
 java.lang.String getChangedImageURL(Item item)
          Get icon to be used in "Changed" column for Item added due to extension
 java.util.Collection getItemsInternal()
          Get the Collection of items provided by the extension
 
Methods inherited from class com.centrasite.control.extpt.AbstractReportExtensionItemsProvider
getItem, getItems, isContributedItem, prepareItems, setConnector, supportsDelayedRead
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddRowToMyNotifications

public AddRowToMyNotifications()
Method Detail

getChangedImageURL

public java.lang.String getChangedImageURL(Item item)
Description copied from interface: ReportExtensionItemsProvider
Get icon to be used in "Changed" column for Item added due to extension

Returns:
the image URL for the given item, or null, if no image is to be shown

getItemsInternal

public java.util.Collection getItemsInternal()
Description copied from class: AbstractReportExtensionItemsProvider
Get the Collection of items provided by the extension

Returns:
the collection of items being contributed by this ReportExtensionItemsProvider