Class StaticUserPreferenceProvider.StaticUserPreference
- java.lang.Object
-
- org.ametys.runtime.parameter.Parameter<ParameterHelper.ParameterType>
-
- org.ametys.core.userpref.UserPreference
-
- org.ametys.plugins.core.impl.userpref.StaticUserPreferenceProvider.StaticUserPreference
-
- Enclosing class:
- StaticUserPreferenceProvider
class StaticUserPreferenceProvider.StaticUserPreference extends UserPreference
A user pref with additionnal static information such as workspace
-
-
Field Summary
Fields Modifier and Type Field Description protected Pattern
_workspace
-
Fields inherited from class org.ametys.core.userpref.UserPreference
_displayGroup, _managerRole, _multiple, _order, _private
-
-
Constructor Summary
Constructors Constructor Description StaticUserPreference()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Pattern
getWorkspace()
Get the workspace associated to this userpreference if anyvoid
setWorkspace(Pattern workspace)
-
Methods inherited from class org.ametys.core.userpref.UserPreference
getDisplayGroup, getManagerRole, getOrder, isMultiple, isPrivate, setDisplayGroup, setManagerRole, setMultiple, setOrder, setPrivate, toString
-
Methods inherited from class org.ametys.runtime.parameter.Parameter
getDefaultValue, getDescription, getEnumerator, getId, getLabel, getPluginName, getType, getValidator, getWidget, getWidgetParameters, setDefaultValue, setDescription, setEnumerator, setId, setLabel, setPluginName, setType, setValidator, setWidget, setWidgetParameters
-
-
-
-
Field Detail
-
_workspace
protected Pattern _workspace
-
-
Constructor Detail
-
StaticUserPreference
StaticUserPreference()
-
-
Method Detail
-
setWorkspace
public void setWorkspace(Pattern workspace)
-
getWorkspace
public Pattern getWorkspace()
Get the workspace associated to this userpreference if any- Returns:
- A pattern or null
-
-