Class UserSettings
java.lang.Object
org.opencastproject.adminui.usersettings.UserSettings
A class used to store all of the key-value pairs that denotes the user's settings.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.UserSettings(Map<String, Collection<UserSetting>> userSettings) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddUserSetting(UserSetting userSetting) intgetLimit()intintgetTotal()voidsetLimit(int limit) voidsetOffset(int offset) voidsetTotal(int total) voidsetUserSettings(Map<String, Collection<UserSetting>> userSettings) org.opencastproject.util.Jsons.ObjtoJson()
-
Constructor Details
-
UserSettings
public UserSettings()Default constructor. -
UserSettings
-
-
Method Details
-
getUserSettingsMap
-
getUserSettingsCollection
-
setUserSettings
-
addUserSetting
-
getTotal
public int getTotal() -
setTotal
public void setTotal(int total) -
getLimit
public int getLimit() -
setLimit
public void setLimit(int limit) -
getOffset
public int getOffset() -
setOffset
public void setOffset(int offset) -
toJson
public org.opencastproject.util.Jsons.Obj toJson()- Returns:
- The JSON representation of these user settings.
-