org.sakaiproject.util
Class MergedListEntryProviderBase

java.lang.Object
  extended by org.sakaiproject.util.MergedListEntryProviderBase
All Implemented Interfaces:
MergedList.EntryProvider

public abstract class MergedListEntryProviderBase
extends Object
implements MergedList.EntryProvider

Collects common functionality between MergedListEntry providers.


Constructor Summary
MergedListEntryProviderBase()
           
 
Method Summary
 Iterator getIterator()
          Gets an iterator for the channels, calendars, etc.
 org.sakaiproject.site.api.Site getSite(Object channel)
           
 String getSiteUserId(Object channel)
           
 boolean isSpecialSite(Object channel)
           
 boolean isUserChannel(Object channel)
           
abstract  Object makeObjectFromSiteId(String siteId)
          Make a channel/calendar/etc.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.sakaiproject.util.MergedList.EntryProvider
allowGet, getContext, getProperties, getReference
 

Constructor Detail

MergedListEntryProviderBase

public MergedListEntryProviderBase()
Method Detail

isUserChannel

public boolean isUserChannel(Object channel)
Specified by:
isUserChannel in interface MergedList.EntryProvider

isSpecialSite

public boolean isSpecialSite(Object channel)
Specified by:
isSpecialSite in interface MergedList.EntryProvider

getSiteUserId

public String getSiteUserId(Object channel)
Specified by:
getSiteUserId in interface MergedList.EntryProvider

getSite

public org.sakaiproject.site.api.Site getSite(Object channel)
Specified by:
getSite in interface MergedList.EntryProvider

getIterator

public Iterator getIterator()
Description copied from interface: MergedList.EntryProvider
Gets an iterator for the channels, calendars, etc.

Specified by:
getIterator in interface MergedList.EntryProvider

makeObjectFromSiteId

public abstract Object makeObjectFromSiteId(String siteId)
Make a channel/calendar/etc. in an generic way.



Copyright © 2003-2012 University of Michigan. All Rights Reserved.