org.jasig.portal.channels.jspSample
Class Controller

java.lang.Object
  extended by org.jasig.portal.channels.jspSample.Controller
All Implemented Interfaces:
IController, ICacheable

Deprecated. All IChannel implementations should be migrated to portlets

@Deprecated
public class Controller
extends Object
implements IController

Channel that portrays usage of the JSP channel type.

Author:
Mark Boyd

Field Summary
static String RCS_ID
          Deprecated.  
 
Fields inherited from interface org.jasig.portal.channels.jsp.IController
JSP_DEPLOY_PATH
 
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
Controller()
          Deprecated.  
 
Method Summary
 ChannelCacheKey generateKey()
          Deprecated. Returns our cache key used to determine cache status.
 Map getJspMap()
          Deprecated. Return a map jsp pages and their keys.
 String getJspToRender()
          Deprecated. Return the key of the jsp to render.
 boolean isCacheValid(Object validity)
          Deprecated. Tests to see if our validity object has changed and if so then the cache is stale.
 Map processRuntimeData(ChannelRuntimeData drd, HttpSession s)
          Deprecated. Return our map of objects made available to the jsp.
 void receiveEvent(PortalEvent pe)
          Deprecated. Record in our list that a new event has occurred.
 void setStaticData(ChannelStaticData csd)
          Deprecated. Set up cache key and the map of objects that will appear on the request.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RCS_ID

public static final String RCS_ID
Deprecated. 
See Also:
Constant Field Values
Constructor Detail

Controller

public Controller()
Deprecated. 
Method Detail

setStaticData

public void setStaticData(ChannelStaticData csd)
Deprecated. 
Set up cache key and the map of objects that will appear on the request.

Specified by:
setStaticData in interface IController
See Also:
IController.getJspToRender()

processRuntimeData

public Map processRuntimeData(ChannelRuntimeData drd,
                              HttpSession s)
Deprecated. 
Return our map of objects made available to the jsp.

Specified by:
processRuntimeData in interface IController

getJspMap

public Map getJspMap()
Deprecated. 
Return a map jsp pages and their keys. Which one should be used will be indicated for a rendering cycle via the getJspToRender() method.

Specified by:
getJspMap in interface IController

getJspToRender

public String getJspToRender()
Deprecated. 
Return the key of the jsp to render. Only one in this simple channel.

Specified by:
getJspToRender in interface IController

receiveEvent

public void receiveEvent(PortalEvent pe)
Deprecated. 
Record in our list that a new event has occurred.

Specified by:
receiveEvent in interface IController
See Also:
IController.receiveEvent(org.jasig.portal.PortalEvent)

generateKey

public ChannelCacheKey generateKey()
Deprecated. 
Returns our cache key used to determine cache status.

Specified by:
generateKey in interface ICacheable
See Also:
ICacheable.generateKey()

isCacheValid

public boolean isCacheValid(Object validity)
Deprecated. 
Tests to see if our validity object has changed and if so then the cache is stale.

Specified by:
isCacheValid in interface ICacheable
See Also:
ICacheable.isCacheValid(java.lang.Object)


Copyright © 2010 Jasig. All Rights Reserved.