|
||||||||||
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.CHeader
public class CHeader
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.
Field Summary | |
---|---|
private static org.apache.commons.logging.Log |
log
|
private static java.lang.String |
sslLocation
|
Fields inherited from class org.jasig.portal.channels.BaseChannel |
---|
runtimeData, staticData |
Constructor Summary | |
---|---|
CHeader()
|
Method Summary | |
---|---|
private boolean |
canUserPublish()
Checks user permissions to see if the user is authorized to publish channels |
ChannelCacheKey |
generateKey()
ICacheable method - generates cache key |
static java.lang.String |
getDate(java.lang.String format)
Gets the current date/time with specified format |
private org.w3c.dom.Document |
getUserXML()
Returns the DOM object associated with the user |
boolean |
isCacheValid(java.lang.Object validity)
ICacheable method - checks validity of cache |
void |
renderXML(org.xml.sax.ContentHandler out)
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 |
Field Detail |
---|
private static final org.apache.commons.logging.Log log
private static final java.lang.String sslLocation
Constructor Detail |
---|
public CHeader()
Method Detail |
---|
private boolean canUserPublish()
public static java.lang.String getDate(java.lang.String format)
format
- the format string
private org.w3c.dom.Document getUserXML()
public ChannelCacheKey generateKey()
generateKey
in interface ICacheable
public boolean isCacheValid(java.lang.Object validity)
isCacheValid
in interface ICacheable
validity
- the validity object
true
if cache is still valid, otherwise false
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 |