Bug 534417 (RHQ-1215) - create an object facade to the user preferences
Summary: create an object facade to the user preferences
Keywords:
Status: CLOSED NEXTRELEASE
Alias: RHQ-1215
Product: RHQ Project
Classification: Other
Component: Core UI
Version: 1.1
Hardware: All
OS: All
medium
medium
Target Milestone: ---
: ---
Assignee: Joseph Marques
QA Contact:
URL: http://jira.rhq-project.org/browse/RH...
Whiteboard:
Depends On:
Blocks: RHQ-1043
TreeView+ depends on / blocked
 
Reported: 2008-12-04 20:11 UTC by Joseph Marques
Modified: 2009-11-10 21:22 UTC (History)
0 users

Fixed In Version: 1.2
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Joseph Marques 2008-12-04 20:11:00 UTC
the primary motivation behind this jira is to centralize the management and display of metric views.  instead of having to manipulate strings to get and set the view list for a given context as well as the count and ordering of the individual charts, there should be an abstract layer to make the conversion to JSF smoother.  not only will this hide the details of how the view preferences are persisted, but it will centralize and consolidate the logic for doing the manipulation between the object form and the persistence form of the data.

however, while i'm at it, i'm going to centralize all preferences in the system into a single facade.

Comment 1 Joseph Marques 2008-12-04 20:15:58 UTC
rev2198 - centralized reading/writing of all user preferences in the system; 
if a particular web context only needed one preference, it had a direct getter/setter; 
however, for more complex preferences (dashboard portlets, metric views), object facades exist with convenience methods as needed by the context; 

Comment 2 Joseph Marques 2008-12-07 02:26:39 UTC
rev2215 - more refactoring for user indicator chart view preferences; 

Comment 3 Red Hat Bugzilla 2009-11-10 20:28:15 UTC
This bug was previously known as http://jira.rhq-project.org/browse/RHQ-1215



Note You need to log in before you can comment on or make changes to this bug.