|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jasig.portal.ChannelManager
@Deprecated public class ChannelManager
ChannelManager shall have the burden of squeezing content out of channels.
Validation and timeouts, these two are needed for smooth operation of the portal sometimes channels will timeout with information retrieval then the content should be skipped.
| Field Summary | |
|---|---|
static String |
channelAddressingPathElement
Deprecated. |
| Constructor Summary | |
|---|---|
ChannelManager(IUserPreferencesManager manager,
HttpSession httpSession)
Deprecated. Creates a new ChannelManager instance. |
|
| Method Summary | |
|---|---|
void |
channelAdded(LayoutEvent ev)
Deprecated. |
void |
channelDeleted(LayoutMoveEvent ev)
Deprecated. |
void |
channelMoved(LayoutMoveEvent ev)
Deprecated. |
void |
channelUpdated(LayoutEvent ev)
Deprecated. |
void |
commitToRenderingChannelSet()
Deprecated. A method to notify ChannelManager that the channel set for
the current rendering cycle is complete. |
boolean |
doChannelAction(HttpServletRequest request,
HttpServletResponse response,
String channelSubscribeId,
boolean noTimeout)
Deprecated. |
void |
finishedRenderingCycle()
Deprecated. Clean up after a rendering round. |
void |
finishedSession(HttpSession session)
Deprecated. Handle end-of-session cleanup |
void |
folderAdded(LayoutEvent ev)
Deprecated. |
void |
folderDeleted(LayoutMoveEvent ev)
Deprecated. |
void |
folderMoved(LayoutMoveEvent ev)
Deprecated. |
void |
folderUpdated(LayoutEvent ev)
Deprecated. |
static long |
getActiveRenderers()
Deprecated. |
IChannel |
getChannelInstance(HttpServletRequest request,
HttpServletResponse response,
String channelSubscribeId)
Deprecated. Obtain an instance of a channel. |
String |
getChannelTarget()
Deprecated. |
String |
getChannelTitle(String channelSubscribeId)
Deprecated. Get the dynamic channel title for a given channelSubscribeID. |
static long |
getMaxRenderThreads()
Deprecated. |
String |
getSerializerName()
Deprecated. Sets the serializer name. |
String |
getSubscribeId(String fname)
Deprecated. |
IChannel |
instantiateChannel(HttpServletRequest request,
HttpServletResponse response,
String channelSubscribeId)
Deprecated. Instantiates a channel given just the channel subscribe Id. |
boolean |
isCharacterCaching()
Deprecated. Specifies if this particular rendering cycle is using character caching. |
void |
layoutLoaded()
Deprecated. |
void |
layoutSaved()
Deprecated. |
void |
outputChannel(HttpServletRequest request,
HttpServletResponse response,
String channelSubscribeId,
ContentHandler contentHandler)
Deprecated. Outputs a channel in to a given content handler. |
void |
passPortalEvent(HttpServletRequest request,
HttpServletResponse response,
String channelSubscribeId,
PortalEvent le)
Deprecated. Passes a layout-level event to a channel. |
void |
removeChannel(HttpServletRequest request,
HttpServletResponse response,
String channelSubscribeId)
Deprecated. Removes channel instance from the internal caches. |
void |
setChannelInstance(String channelSubscribeId,
IChannel channelInstance)
Deprecated. Directly places a channel instance into the hashtable of active channels. |
void |
setCharacterCaching(boolean setting)
Deprecated. Specify that the current rendering cycle should be using (or not) character caching. |
void |
setLocaleManager(LocaleManager lm)
Deprecated. |
void |
setSerializerName(String serializerName)
Deprecated. Setter method for the serializer name. |
void |
setUPElement(UPFileSpec uPElement)
Deprecated. Specify UPFileSpec object that will be
used to construct file portion of the context path
in the auto-generated URLs, also known as the baseActionURL. |
IChannelRenderer |
startChannelRendering(HttpServletRequest request,
HttpServletResponse response,
String channelSubscribeId)
Deprecated. Initiate channel rendering cycle. |
void |
startRenderingCycle(HttpServletRequest request,
HttpServletResponse response,
UPFileSpec uPElement)
Deprecated. Signals the start of a new rendering cycle. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String channelAddressingPathElement
| Constructor Detail |
|---|
public ChannelManager(IUserPreferencesManager manager,
HttpSession httpSession)
ChannelManager instance.
manager - an IUserPreferencesManager value| Method Detail |
|---|
public static long getActiveRenderers()
public static long getMaxRenderThreads()
public void setChannelInstance(String channelSubscribeId,
IChannel channelInstance)
public void commitToRenderingChannelSet()
ChannelManager that the channel set for
the current rendering cycle is complete.
Note: This information is used to identify relevant channel communication dependencies
public void finishedRenderingCycle()
public void finishedSession(HttpSession session)
public void outputChannel(HttpServletRequest request,
HttpServletResponse response,
String channelSubscribeId,
ContentHandler contentHandler)
CachingSerializer, the method
will take care of character cache compilation and store cache
in the tables.
channelSubscribeId - a String valuecontentHandler - a ContentHandler value
public IChannel instantiateChannel(HttpServletRequest request,
HttpServletResponse response,
String channelSubscribeId)
throws PortalException
channelSubscribeId - a channel instance Id in the userLayout
IChannel object
PortalException
public void passPortalEvent(HttpServletRequest request,
HttpServletResponse response,
String channelSubscribeId,
PortalEvent le)
channelSubscribeId - the channel subscribe idle - the portal event
public IChannel getChannelInstance(HttpServletRequest request,
HttpServletResponse response,
String channelSubscribeId)
channelSubscribeId - a String value
IChannel object
public void removeChannel(HttpServletRequest request,
HttpServletResponse response,
String channelSubscribeId)
channelSubscribeId - a String value
public void startRenderingCycle(HttpServletRequest request,
HttpServletResponse response,
UPFileSpec uPElement)
request - a HttpServletRequest valueresponse - a HttpServletResponse valueuPElement - an UPFileSpec valuepublic boolean isCharacterCaching()
boolean valuepublic void setCharacterCaching(boolean setting)
setting - a boolean valuepublic void setUPElement(UPFileSpec uPElement)
UPFileSpec object that will be
used to construct file portion of the context path
in the auto-generated URLs, also known as the baseActionURL.
uPElement - an UPFileSpec value
public boolean doChannelAction(HttpServletRequest request,
HttpServletResponse response,
String channelSubscribeId,
boolean noTimeout)
throws PortalException
PortalException
public IChannelRenderer startChannelRendering(HttpServletRequest request,
HttpServletResponse response,
String channelSubscribeId)
throws PortalException
channelSubscribeId - a String value
IChannelRenderer value
PortalException - if an error occurspublic String getChannelTarget()
public void channelAdded(LayoutEvent ev)
channelAdded in interface LayoutEventListenerpublic void channelUpdated(LayoutEvent ev)
channelUpdated in interface LayoutEventListenerpublic void channelMoved(LayoutMoveEvent ev)
channelMoved in interface LayoutEventListenerpublic void channelDeleted(LayoutMoveEvent ev)
channelDeleted in interface LayoutEventListenerpublic void folderAdded(LayoutEvent ev)
folderAdded in interface LayoutEventListenerpublic void folderUpdated(LayoutEvent ev)
folderUpdated in interface LayoutEventListenerpublic void folderMoved(LayoutMoveEvent ev)
folderMoved in interface LayoutEventListenerpublic void folderDeleted(LayoutMoveEvent ev)
folderDeleted in interface LayoutEventListenerpublic void layoutLoaded()
layoutLoaded in interface LayoutEventListenerpublic void layoutSaved()
layoutSaved in interface LayoutEventListenerpublic void setLocaleManager(LocaleManager lm)
public String getChannelTitle(String channelSubscribeId)
channelSubscribeId -
IllegalArgumentException - if channelSubcribeId is null
IllegalStateException - if
public String getSubscribeId(String fname)
throws PortalException
PortalExceptionpublic String getSerializerName()
public void setSerializerName(String serializerName)
serializerName -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||