Bug 534417 (RHQ-1215)

Summary: create an object facade to the user preferences
Product: [Other] RHQ Project Reporter: Joseph Marques <jmarques>
Component: Core UIAssignee: Joseph Marques <jmarques>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 1.1Keywords: SubTask
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
URL: http://jira.rhq-project.org/browse/RHQ-1215
Whiteboard:
Fixed In Version: 1.2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 534227    

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