Re: Dev - configurable custom views take 2
Posted by
Leon Torres-2 on
URL: http://ofbiz.116.s1.nabble.com/Dev-configurable-custom-views-take-2-tp167983p167991.html
Adrian Crum wrote:
> UserPreference
> - userLoginId*
> - userPrefItem
> - userPrefValue (String)
>
> And a service built on it:
>
> UserServices
> String getUserPreference(userLoginId, userPrefItem)
> Map getUserPreferencesLike(userLoginId, userPrefItem)
> String setUserPreference(userLoginId, userPrefItem, userPrefValue)
Hi, do you realize that the model we propose is exactly this? It's also a
superset. We have exactly those get/set methods in our implementation. You don't
have to use the extra fields in the ViewPrefType Entity, they are only metadata.
Both your proposal and the one posted by us are essentially a persistent hashmap
with two keys, the userLoginId and a String key. (We took out the fromDate and
thruDate.)
So pardon me if I don't understand your objections, which have appeared to have
caused the inclusion of this feature, no matter who's version, to be stalled.
- Leon
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev