Uses of Class
org.exoplatform.commons.api.settings.data.Context
Packages that use Context
Package
Description
Provides the API for the Setting service.
Provides enum types and classes for key specifications in the Setting service.
-
Uses of Context in org.exoplatform.commons.api.settings
Methods in org.exoplatform.commons.api.settings that return types with arguments of type ContextModifier and TypeMethodDescriptionSettingService.getContextsByTypeAndScopeAndSettingName(String contextType, String scopeType, String scopeName, String settingName, int offset, int limit) Gets a list of names of contexts of a chosen type that have a setting associated to a dedicated scopeMethods in org.exoplatform.commons.api.settings with parameters of type ContextModifier and TypeMethodDescriptionSettingValue<?> Gets values associated with a specified composite key (context, scope, key) in the database.SettingService.getSettingsByContext(Context context) Get settings related to a scope and a contextvoidRemoves all values associated with a specified context from the database.voidRemoves all values associated with a specified context and scope from the database.voidRemoves a value associated with a specified composite key.voidSaves aContexton databasevoidSettingService.set(Context context, Scope scope, String key, SettingValue<?> value) Sets a value with the key that is composed by context, scope, key. -
Uses of Context in org.exoplatform.commons.api.settings.data
Fields in org.exoplatform.commons.api.settings.data declared as ContextModifier and TypeFieldDescriptionprotected ContextSettingContext.contextContext of the setting object.static final ContextContext.GLOBALGLOBAL: Settings should impact all users in the underlying scope.static final ContextContext.USERUSER: Each user should be able to save his own settings.Methods in org.exoplatform.commons.api.settings.data that return ContextModifier and TypeMethodDescriptionContext.clone()SettingContext.getContext()Gets a context object associated with the SettingContext object.Creates a context with a specified Id.Methods in org.exoplatform.commons.api.settings.data with parameters of type ContextModifier and TypeMethodDescriptionstatic StringTools.buildContextPath(Context context) Builds a path of a specified context in the database.static StringTools.buildScopePath(Context context, Scope scope) Builds a path of a specified scope in the database.Constructors in org.exoplatform.commons.api.settings.data with parameters of type ContextModifierConstructorDescriptionSettingContext(Context context) Creates a SettingContext object with a specified context type.SettingKey(Context context, Scope scope, String key) Creates a SettingKey with a composite value [context, scope, key].SettingScope(Context context, Scope scope) Creates a setting scope object with a composite key [context, scope].