org.jasig.portal.channels
Class CHeader

java.lang.Object
  extended by org.jasig.portal.channels.BaseChannel
      extended by org.jasig.portal.channels.CHeader
All Implemented Interfaces:
ICacheable, IChannel

Deprecated. All IChannel implementations should be migrated to portlets

@Deprecated
public class CHeader
extends BaseChannel
implements ICacheable

This channel provides content for a page header. It is indended to be included in a layout folder of type "header". Most stylesheets will render the content of such header channels consistently on every page.

Version:
$Revision: 19776 $
Author:
Peter Kharchenko, pkharchenko@interactivebusiness.com, Ken Weiner, kweiner@unicon.net, Bernie Durfee, bdurfee@interactivebusiness.com

Field Summary
 
Fields inherited from class org.jasig.portal.channels.BaseChannel
runtimeData, staticData
 
Fields inherited from interface org.jasig.portal.ICacheable
CHANNEL_CACHE_KEY_INSTANCE_SCOPE, CHANNEL_CACHE_KEY_SCOPE_PARAM_NAME, CHANNEL_CACHE_KEY_SYSTEM_SCOPE
 
Constructor Summary
CHeader()
          Deprecated.  
 
Method Summary
 ChannelCacheKey generateKey()
          Deprecated. ICacheable method - generates cache key
static String getDate(String format)
          Deprecated. Gets the current date/time with specified format
 boolean isCacheValid(Object validity)
          Deprecated. ICacheable method - checks validity of cache
 void renderXML(ContentHandler out)
          Deprecated. Render method.
 
Methods inherited from class org.jasig.portal.channels.BaseChannel
getRuntimeProperties, receiveEvent, setRuntimeData, setStaticData, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CHeader

public CHeader()
Deprecated. 
Method Detail

getDate

public static String getDate(String format)
Deprecated. 
Gets the current date/time with specified format

Parameters:
format - the format string
Returns:
a formatted date and time string

generateKey

public ChannelCacheKey generateKey()
Deprecated. 
ICacheable method - generates cache key

Specified by:
generateKey in interface ICacheable
Returns:
key the cache key

isCacheValid

public boolean isCacheValid(Object validity)
Deprecated. 
ICacheable method - checks validity of cache

Specified by:
isCacheValid in interface ICacheable
Parameters:
validity - the validity object
Returns:
cacheValid true if cache is still valid, otherwise false

renderXML

public void renderXML(ContentHandler out)
               throws PortalException
Deprecated. 
Render method.

Specified by:
renderXML in interface IChannel
Overrides:
renderXML in class BaseChannel
Parameters:
out - the content handler
Throws:
PortalException


Copyright © 2010 Jasig. All Rights Reserved.