org.jasig.portal.channels.UserPreferences
Class CUserPreferences

java.lang.Object
  extended by org.jasig.portal.channels.UserPreferences.CUserPreferences
All Implemented Interfaces:
IChannel, IPrivileged, IPrivilegedChannel

Deprecated. All IChannel implementations should be migrated to portlets

@Deprecated
public class CUserPreferences
extends Object
implements IPrivilegedChannel

CUserPreferences manages User Layout, user preferences and profiles.

Version:
$Revision: 19776 $
Author:
Peter Kharchenko, pkharchenko@unicon.net, Ken Weiner, kweiner@unicon.net

Field Summary
static int MANAGE_PREFERENCES
          Deprecated.  
static int MANAGE_PROFILES
          Deprecated.  
protected  IUserLayoutStore ulsdb
          Deprecated.  
 
Constructor Summary
CUserPreferences()
          Deprecated.  
 
Method Summary
protected  UserPreferences getCurrentUserPreferences()
          Deprecated.  
protected  UserProfile getEditedUserProfile()
          Deprecated.  
protected  ChannelRuntimeData getRuntimeData()
          Deprecated.  
 ChannelRuntimeProperties getRuntimeProperties()
          Deprecated. Returns channel runtime properties
protected  StylesheetSet getStylesheetSet()
          Deprecated.  
protected  IUserLayoutManager getUserLayoutManager()
          Deprecated.  
protected  UserPreferences getUserPreferencesFromStore(UserProfile profile)
          Deprecated.  
protected  IUserPreferencesManager getUserPreferencesManager()
          Deprecated.  
 void receiveEvent(PortalEvent ev)
          Deprecated. Processes layout-level events coming from the portal
 void renderXML(ContentHandler out)
          Deprecated. Output channel content to the portal
 void setPortalControlStructures(PortalControlStructures pcs)
          Deprecated. Passes portal control structure to the channel.
 void setRuntimeData(ChannelRuntimeData rd)
          Deprecated. CUserPreferences listens for an HttpRequestParameter "userPreferencesAction" and based on its value changes state between profile management and layout/stylesheet preferences.
 void setStaticData(ChannelStaticData sd)
          Deprecated. Receive static channel data from the portal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MANAGE_PREFERENCES

public static final int MANAGE_PREFERENCES
Deprecated. 
See Also:
Constant Field Values

MANAGE_PROFILES

public static final int MANAGE_PROFILES
Deprecated. 
See Also:
Constant Field Values

ulsdb

protected IUserLayoutStore ulsdb
Deprecated. 
Constructor Detail

CUserPreferences

public CUserPreferences()
                 throws PortalException
Deprecated. 
Throws:
PortalException
Method Detail

getUserPreferencesManager

protected IUserPreferencesManager getUserPreferencesManager()
Deprecated. 

getUserLayoutManager

protected IUserLayoutManager getUserLayoutManager()
Deprecated. 

getCurrentUserPreferences

protected UserPreferences getCurrentUserPreferences()
Deprecated. 

getRuntimeData

protected ChannelRuntimeData getRuntimeData()
Deprecated. 

getStylesheetSet

protected StylesheetSet getStylesheetSet()
Deprecated. 

setPortalControlStructures

public void setPortalControlStructures(PortalControlStructures pcs)
                                throws PortalException
Deprecated. 
Description copied from interface: IPrivileged
Passes portal control structure to the channel.

Specified by:
setPortalControlStructures in interface IPrivileged
Throws:
PortalException
See Also:
PortalControlStructures

getRuntimeProperties

public ChannelRuntimeProperties getRuntimeProperties()
Deprecated. 
Returns channel runtime properties

Specified by:
getRuntimeProperties in interface IChannel
Returns:
handle to runtime properties
See Also:
ChannelRuntimeProperties

receiveEvent

public void receiveEvent(PortalEvent ev)
Deprecated. 
Processes layout-level events coming from the portal

Specified by:
receiveEvent in interface IChannel
Parameters:
ev - a portal layout event
See Also:
PortalEvent

setStaticData

public void setStaticData(ChannelStaticData sd)
                   throws PortalException
Deprecated. 
Receive static channel data from the portal

Specified by:
setStaticData in interface IChannel
Parameters:
sd - static channel data
Throws:
PortalException
See Also:
ChannelStaticData

setRuntimeData

public void setRuntimeData(ChannelRuntimeData rd)
                    throws PortalException
Deprecated. 
CUserPreferences listens for an HttpRequestParameter "userPreferencesAction" and based on its value changes state between profile management and layout/stylesheet preferences.

Specified by:
setRuntimeData in interface IChannel
Parameters:
rd - handle to channel runtime data
Throws:
PortalException
See Also:
ChannelRuntimeData

renderXML

public void renderXML(ContentHandler out)
               throws PortalException
Deprecated. 
Output channel content to the portal

Specified by:
renderXML in interface IChannel
Parameters:
out - a sax document handler
Throws:
PortalException

getUserPreferencesFromStore

protected UserPreferences getUserPreferencesFromStore(UserProfile profile)
                                               throws Exception
Deprecated. 
Throws:
Exception

getEditedUserProfile

protected UserProfile getEditedUserProfile()
Deprecated. 


Copyright © 2010 Jasig. All Rights Reserved.