|
||||||||||
| 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.adminnav.AdminNavChannel
@Deprecated public class AdminNavChannel
This channel is a wrapper around an implementation that provides urls (links) to other channels. Typically, this is by functional name so that when selected those channels are rendered in focus mode. Links are added dynamically by calling the addLink() method which is delegated to the plugged-in implementation. CHeader channel presents the "Channel Admin" link which brings this channel into focused mode when selected. CHeader delegates to canAccess() to determine if there is any content within this channel that is accessible to the current user. If so then it will render the ChannelAdmin link. Similarly, when the implementation renders it should only present those links to channels for which the current user has authorization. Localization of link labels is supported through instances of ILabelResolver passed in at link registration time. A channel can provide links to this channel by calling their ChannelRuntimeData.getFnameActionURL() passing the functional name of this channel "admin_navigation_links".
| Field Summary |
|---|
| Fields inherited from class org.jasig.portal.channels.BaseChannel |
|---|
log, 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 | |
|---|---|
AdminNavChannel()
Deprecated. |
|
| Method Summary | |
|---|---|
static boolean |
canAccess(IAuthorizationPrincipal ap)
Deprecated. Delegates to the plugged-in model to answer if the user represented by the passed-in authorization principal has access to this channel. |
ChannelCacheKey |
generateKey()
Deprecated. Delegates to the plugged-in implementation to generate a key as part of its implementation of the ICacheable interface. |
static ILinkRegistrar |
getLinkRegistrar()
Deprecated. Returns an object that can be used to add links at runtime to the underlying administrative navigational links model. |
boolean |
isCacheValid(Object validity)
Deprecated. Delegates to the plugged-in implementation to determine using the passed-in validity object if cached output can be reused as part of its implementation of the ICacheable interface. |
void |
renderXML(ContentHandler out)
Deprecated. Render the links. |
void |
setRuntimeData(ChannelRuntimeData rd)
Deprecated. Checks to see if the rendering document needs to be updated for the user's locale. |
void |
setStaticData(ChannelStaticData sd)
Deprecated. Passes the passed-in channel static configuration information to the plugged-in model. |
| 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 |
| Constructor Detail |
|---|
public AdminNavChannel()
| Method Detail |
|---|
public void setRuntimeData(ChannelRuntimeData rd)
throws PortalException
setRuntimeData in interface IChannelsetRuntimeData in class BaseChannelrd - channel runtime data
PortalExceptionChannelRuntimeData
public void renderXML(ContentHandler out)
throws PortalException
renderXML in interface IChannelrenderXML in class BaseChannelout - stream that handles output
PortalExceptionpublic static boolean canAccess(IAuthorizationPrincipal ap)
public static ILinkRegistrar getLinkRegistrar()
public ChannelCacheKey generateKey()
generateKey in interface ICacheableICacheable.generateKey()public boolean isCacheValid(Object validity)
isCacheValid in interface ICacheableICacheable.isCacheValid(java.lang.Object)
public void setStaticData(ChannelStaticData sd)
throws PortalException
setStaticData in interface IChannelsetStaticData in class BaseChannelsd - channel static data
PortalExceptionChannelStaticData
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||