org.jasig.portal.channels.support
Class TitledChannelRuntimeProperties

java.lang.Object
  extended by org.jasig.portal.ChannelRuntimeProperties
      extended by org.jasig.portal.channels.support.TitledChannelRuntimeProperties
All Implemented Interfaces:
IChannelTitle

Deprecated. All IChannel implementations should be migrated to portlets

@Deprecated
public final class TitledChannelRuntimeProperties
extends ChannelRuntimeProperties
implements IChannelTitle

ChannelRuntimeProperties subclass implementing IChannelTitle. This class is provided as a convenience to channel developers. No uPortal framework code should be written to expect this concrete implementation - the framework should only detect whether the ChannelRuntimeProperties it encounters implements IChannelTitle.


Field Summary
 
Fields inherited from class org.jasig.portal.ChannelRuntimeProperties
log
 
Constructor Summary
TitledChannelRuntimeProperties(String desiredTitle)
          Deprecated. TitledChannelRuntimeProperties requires that the desired channel title be provided at instantiation.
 
Method Summary
 String getChannelTitle()
          Deprecated. Get the desired channel title.
 
Methods inherited from class org.jasig.portal.ChannelRuntimeProperties
setWillRender, willRender
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TitledChannelRuntimeProperties

public TitledChannelRuntimeProperties(String desiredTitle)
Deprecated. 
TitledChannelRuntimeProperties requires that the desired channel title be provided at instantiation. A null desiredTitle will cause TitledChannelRuntimeProperties to return null on getTitle(), indicating that the channel doesn't have a desired title.

Parameters:
desiredTitle - desired channel title, or null if no preference
Method Detail

getChannelTitle

public String getChannelTitle()
Deprecated. 
Description copied from interface: IChannelTitle
Get the desired channel title. Returning null indicates that the channel is not specifying a dynamic title and will leave it up to "the uPortal framework" to provide a title for the channel.

Currently, the fallback behavior is to behave as if the channel hadn't provided an IDynamicChannelTitle at all and use the title specified at channel publication.

Specified by:
getChannelTitle in interface IChannelTitle
Returns:
desired dynamic channel title, or null if no dynamic title.


Copyright © 2010 Jasig. All Rights Reserved.