org.jasig.portal.layout.dlm
Class UserPrefsHandler
java.lang.Object
org.jasig.portal.layout.dlm.UserPrefsHandler
public class UserPrefsHandler
- extends java.lang.Object
Applies user changes that are part of the uPortal User Preferences
storage (not part of the layout structure) to the user's plf prior to
persisting.
- Since:
- uPortal 2.5
- Version:
- $Revision: 1.3 $ $Date: 2005/05/02 03:09:22 $
Field Summary |
static java.lang.String |
RCS_ID
|
Method Summary |
static void |
setUserPreference(org.w3c.dom.Element compViewNode,
java.lang.String attributeName,
IPerson person)
Records changes made to element attributes that are defined as being
part of a user's user preferences object and not part of the layout. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RCS_ID
public static final java.lang.String RCS_ID
- See Also:
- Constant Field Values
UserPrefsHandler
public UserPrefsHandler()
setUserPreference
public static void setUserPreference(org.w3c.dom.Element compViewNode,
java.lang.String attributeName,
IPerson person)
throws java.lang.Exception
- Records changes made to element attributes that are defined as being
part of a user's user preferences object and not part of the layout.
These attributes are specified in the .sdf files for the structure and
theme stylesheets. The value is not stored in the layout but the loading
of user prefs joins to a layout struct and hence that struct must exist
in the layout. This call gets that node into the PLF if not there
already and prevents it from being removed if no other changes were made
to it or its children by the user.
- Throws:
java.lang.Exception