org.jaffa.presentation.portlet.widgets.controller
Class UserGridManager
java.lang.Object
org.jaffa.presentation.portlet.widgets.controller.UserGridManager
- public class UserGridManager
- extends Object
manager class file for handling the UserGrid tags
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserGridManager
public UserGridManager()
getTableWidth
public String getTableWidth(String userId,
String userGridId)
- Return the width of the whole table as defined in the XML document.
If the document has aready be unmarshalled this won't try and do it again
- Parameters:
userId - user IDuserGridId - unique ID of the grid
- Returns:
- width of the table, null implies 100%
getColSettings
public Map getColSettings(String userId,
String userGridId)
- unmarchels any user settings stored in an XML file for the current user
configuration of this grid. Returns a null value if no file found.
Returns an "ORDERED" hash userSettings of the the columns being displayed and the
widths. The key is the the column name and the value is the column width.
In the event that the xml file is not found a default UserGrid file will
be loaded form a property configuration file like...
<@properties>/user/UGW_(uniqueID).xml
or default file
<@properties>/DEFAULT/UGW_(uniqueID).xml
- Parameters:
userId - user IDuserGridId - unique ID of the grid
- Returns:
- userGridSettings
Copyright © 2002-2004 JAFFA Project.