Sphyrnidae Common Library  2.0.1
Shared Utilities/Library
User Preferences

Overview

A user preference is a setting which is a collection user-specific settings. This allows each user in your system to have a unique batch of settings to customize your website to their desires. For example, default number of rows to show in a particular grid. Perhaps display properties, custom ordering, etc.

To understand how this is designed and how you can customize this solution, please refer to setting.

Interfaces:

  1. IUserPreferenceSettings
  2. IUserPreferenceServices

Implementations:

  1. UserPreferenceSettings: This is an abstract class. Default inherited class is UserPreferenceSettingsDefault. You may wish to inherit and implement
  2. UserPreferenceServices

Other:

  1. You can view an alternative implementation which actually uses a webservice to lookup these settings: SphyrnidaeUserPreferenceSettings. Note this implementation gathers customer-specific features and will email out any exceptions that occurred
  2. SettingsUserPreference: Static class which you should use to gather any user preferences.

Where Used

None

Examples

Please reference Settings Example for a detailed review of all customizations.