Interface MergedList.EntryProvider

  • All Known Implementing Classes:
    MergedListEntryProviderBase, MergedListEntryProviderFixedListWrapper
    Enclosing class:
    MergedList

    public static interface MergedList.EntryProvider
    This interface is used to describe a generic list entry provider so that a variety of list entries can be used. This currently serves merged sites for the schedule and merged channels for announcements.
    • Method Detail

      • getIterator

        Iterator getIterator()
        Gets an iterator for the channels, calendars, etc.
      • allowGet

        boolean allowGet​(String ref)
        See if we can do a "get" on the calendar, channel, etc.
      • getContext

        String getContext​(Object obj)
        Generically access the context of the resource provided by the getIterator() call.
        Returns:
        The context.
      • getReference

        String getReference​(Object obj)
        Generically access the reference of the resource provided by the getIterator() call.
      • getProperties

        ResourceProperties getProperties​(Object obj)
        Generically access the resource's properties.
        Returns:
        The resource's properties.
      • isUserChannel

        boolean isUserChannel​(Object channel)
      • isSpecialSite

        boolean isSpecialSite​(Object channel)