Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-7152

Add nuxeo-platform-userpreferences

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.5
    • Component/s: None

      Description

      Add a UserPreferencesService service that wraps LocalConfigurationService to store user preferences.
      It uses LocalConfigurations on the user personnal workspace.

      It has two methods :

          SimpleUserPreferences getSimpleUserPreferences(CoreSession session)
                  throws ClientException;
      

      Returns a wrapper of SimpleLocalConfiguration to manage simple key/value preferences.

          <T extends UserPreferences> T getUserPreferences(CoreSession session,
                  Class<T> configurationClass, String configurationFacet)
                  throws ClientException;
      

      This is when we need more complex preferences.

      The interface UserPreferences extends LocalConfiguration so the definition process is the same: an adapter implementing an interface extending UserPreferences. This what we'll use in nuxeo-user-profile.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                qlamerand Quentin Lamerand
                Reporter:
                qlamerand Quentin Lamerand
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day
                  1d