|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@Deprecated public interface ISpringPortletChannel
Defines a static version of a IChannel that also implements IPortletAdaptor, ICharacterChannel and IPrivilegedChannel, ICacheable.
| Method Summary | |
|---|---|
void |
action(ChannelStaticData channelStaticData,
PortalControlStructures portalControlStructures,
ChannelRuntimeData channelRuntimeData)
Deprecated. Handles an action request to the channel. |
ChannelCacheKey |
generateKey(ChannelStaticData channelStaticData,
PortalControlStructures portalControlStructures,
ChannelRuntimeData channelRuntimeData)
Deprecated. Called before isCacheValid(ChannelStaticData, PortalControlStructures, ChannelRuntimeData, Object) and
render(ChannelStaticData, PortalControlStructures, ChannelRuntimeData, PrintWriter) during the render
cycle. |
String |
getTitle(ChannelStaticData channelStaticData,
PortalControlStructures portalControlStructures,
ChannelRuntimeData channelRuntimeData)
Deprecated. Called after render(ChannelStaticData, PortalControlStructures, ChannelRuntimeData, PrintWriter), provides
the title to display for the channel for this rendering. |
void |
initSession(ChannelStaticData channelStaticData,
PortalControlStructures portalControlStructures)
Deprecated. Called when a session is created for a user of the channel described by the ChannelStaticData argument. |
boolean |
isCacheValid(ChannelStaticData channelStaticData,
PortalControlStructures portalControlStructures,
ChannelRuntimeData channelRuntimeData,
Object validity)
Deprecated. Called after generateKey(ChannelStaticData, PortalControlStructures, ChannelRuntimeData) and before
render(ChannelStaticData, PortalControlStructures, ChannelRuntimeData, PrintWriter) during the render
cycle. |
void |
portalEvent(ChannelStaticData channelStaticData,
PortalControlStructures portalControlStructures,
PortalEvent portalEvent)
Deprecated. Notification of a portal event. |
void |
prepareForRefresh(ChannelStaticData channelStaticData,
PortalControlStructures portalControlStructures,
ChannelRuntimeData channelRuntimeData)
Deprecated. Notification that the channel will be refreshed due to an error. |
void |
prepareForReset(ChannelStaticData channelStaticData,
PortalControlStructures portalControlStructures,
ChannelRuntimeData channelRuntimeData)
Deprecated. Notification that the channel will be reset due to an error. |
void |
render(ChannelStaticData channelStaticData,
PortalControlStructures portalControlStructures,
ChannelRuntimeData channelRuntimeData,
PrintWriter printWriter)
Deprecated. Called after generateKey(ChannelStaticData, PortalControlStructures, ChannelRuntimeData) and
render(ChannelStaticData, PortalControlStructures, ChannelRuntimeData, PrintWriter). |
| Method Detail |
|---|
void initSession(ChannelStaticData channelStaticData,
PortalControlStructures portalControlStructures)
channelStaticData - The data describing the channel the user session was created for.portalControlStructures - Information about the current request/response.
ChannelCacheKey generateKey(ChannelStaticData channelStaticData,
PortalControlStructures portalControlStructures,
ChannelRuntimeData channelRuntimeData)
isCacheValid(ChannelStaticData, PortalControlStructures, ChannelRuntimeData, Object) and
render(ChannelStaticData, PortalControlStructures, ChannelRuntimeData, PrintWriter) during the render
cycle. Responsible for generating a unique key that represents the state of the rendered channel for caching.
channelStaticData - The static description data for the channel.portalControlStructures - Information about the current request/response.channelRuntimeData - Portal provided information for the current request.
boolean isCacheValid(ChannelStaticData channelStaticData,
PortalControlStructures portalControlStructures,
ChannelRuntimeData channelRuntimeData,
Object validity)
generateKey(ChannelStaticData, PortalControlStructures, ChannelRuntimeData) and before
render(ChannelStaticData, PortalControlStructures, ChannelRuntimeData, PrintWriter) during the render
cycle. The validity object ChannelCacheKey.getKeyValidity() from the previous rendering is passed in
to provide a method for this channel to check if it is still valid.
channelStaticData - The static description data for the channel.portalControlStructures - Information about the current request/response.channelRuntimeData - Portal provided information for the current request.validity - The validity object from the previous rendering, used to check if the cached state is still valid.
true if the cache is still valid, false if not.
void render(ChannelStaticData channelStaticData,
PortalControlStructures portalControlStructures,
ChannelRuntimeData channelRuntimeData,
PrintWriter printWriter)
generateKey(ChannelStaticData, PortalControlStructures, ChannelRuntimeData) and
render(ChannelStaticData, PortalControlStructures, ChannelRuntimeData, PrintWriter). The channel should
render it's output to the provided PrintWriter and NOT to the response provided by PortalControlStructures.getHttpServletResponse().
channelStaticData - The static description data for the channel.portalControlStructures - Information about the current request/response.channelRuntimeData - Portal provided information for the current request.printWriter - The PrintWriter to write the output of the channel to.
String getTitle(ChannelStaticData channelStaticData,
PortalControlStructures portalControlStructures,
ChannelRuntimeData channelRuntimeData)
render(ChannelStaticData, PortalControlStructures, ChannelRuntimeData, PrintWriter), provides
the title to display for the channel for this rendering.
channelStaticData - The static description data for the channel.portalControlStructures - Information about the current request/response.channelRuntimeData - Portal provided information for the current request.
void action(ChannelStaticData channelStaticData,
PortalControlStructures portalControlStructures,
ChannelRuntimeData channelRuntimeData)
channelStaticData - The static description data for the channel.portalControlStructures - Information about the current request/response.channelRuntimeData - Portal provided information for the current request.
void portalEvent(ChannelStaticData channelStaticData,
PortalControlStructures portalControlStructures,
PortalEvent portalEvent)
channelStaticData - The static description data for the channel.portalControlStructures - Information about the current request/response, not all events are request driven so the control structures may only be partially populatedportalEvent - The portal event.
void prepareForRefresh(ChannelStaticData channelStaticData,
PortalControlStructures portalControlStructures,
ChannelRuntimeData channelRuntimeData)
channelStaticData - The static description data for the channel.portalControlStructures - Information about the current request/response.channelRuntimeData - Portal provided information for the current request.
void prepareForReset(ChannelStaticData channelStaticData,
PortalControlStructures portalControlStructures,
ChannelRuntimeData channelRuntimeData)
channelStaticData - The static description data for the channel.portalControlStructures - Information about the current request/response.channelRuntimeData - Portal provided information for the current request.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||