|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jasig.portal.channels.BaseChannel
org.jasig.portal.channels.iccdemo.CHistory
public class CHistory
A channel showing a list of history URLs, as a part of the inter-channel communication demo.
Field Summary | |
---|---|
private static org.apache.commons.logging.Log |
log
|
private boolean |
passExternally
|
(package private) HistoryRecord |
records
|
private static java.lang.String |
sslLocation
|
private static java.lang.String |
urlselectorFname
|
private static java.lang.String |
viewerFname
|
Fields inherited from class org.jasig.portal.channels.BaseChannel |
---|
runtimeData, staticData |
Constructor Summary | |
---|---|
CHistory()
|
Method Summary | |
---|---|
private java.lang.Object |
getBoundObject(java.lang.String channelSubscribeId)
A utility method to determine an object bound to the "chan-obj" branch for a particular channel id. |
private java.lang.String |
getChannelId(java.lang.String fname)
A utility method for obtaining a channelSubscribeId given a channel fname |
private org.w3c.dom.Document |
getUserXML()
|
void |
renderXML(org.xml.sax.ContentHandler out)
Render method. |
void |
setRuntimeData(ChannelRuntimeData rd)
Passes ChannelRuntimeData to the channel. |
void |
setStaticData(ChannelStaticData sd)
Passes ChannelStaticData to the channel. |
private void |
setViewerURL(java.lang.String url)
A utility method that communicates the new url to the viewer channel |
Methods inherited from class org.jasig.portal.channels.BaseChannel |
---|
getRuntimeProperties, receiveEvent, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private static final org.apache.commons.logging.Log log
private static final java.lang.String sslLocation
private static final java.lang.String viewerFname
private static final java.lang.String urlselectorFname
private boolean passExternally
HistoryRecord records
Constructor Detail |
---|
public CHistory()
Method Detail |
---|
public void setStaticData(ChannelStaticData sd) throws PortalException
IChannel
setStaticData
in interface IChannel
setStaticData
in class BaseChannel
sd
- channel static data
PortalException
ChannelStaticData
private org.w3c.dom.Document getUserXML()
public void setRuntimeData(ChannelRuntimeData rd) throws PortalException
IChannel
setRuntimeData
in interface IChannel
setRuntimeData
in class BaseChannel
rd
- channel runtime data
PortalException
ChannelRuntimeData
private void setViewerURL(java.lang.String url)
url
- a String
valueprivate java.lang.String getChannelId(java.lang.String fname)
fname
- a String
value
null
if no channel with given fname was foundprivate java.lang.Object getBoundObject(java.lang.String channelSubscribeId)
channelSubscribeId
- a String
value of the channel who's object we're looking for
Object
value bound to that jndi location (or null
if channel didn't bind anything)public void renderXML(org.xml.sax.ContentHandler out) throws PortalException
renderXML
in interface IChannel
renderXML
in class BaseChannel
out
- the content handler
PortalException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |