Class DefaultFD2UserGroupProvider
- java.lang.Object
-
- de.xima.fc.web.common.fd2.provider.DefaultFD2UserGroupProvider
-
- All Implemented Interfaces:
IFD2UserGroupProvider
,Serializable
public class DefaultFD2UserGroupProvider extends Object implements IFD2UserGroupProvider
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected static org.slf4j.Logger
LOG
-
Constructor Summary
Constructors Constructor Description DefaultFD2UserGroupProvider(Mandant mandant, Locale locale)
DefaultFD2UserGroupProvider(IFormRenderContext renderCtx)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.alibaba.fastjson.JSONArray
createUserGroupJSON()
-
-
-
Constructor Detail
-
DefaultFD2UserGroupProvider
public DefaultFD2UserGroupProvider(IFormRenderContext renderCtx)
-
-
Method Detail
-
createUserGroupJSON
public com.alibaba.fastjson.JSONArray createUserGroupJSON()
- Specified by:
createUserGroupJSON
in interfaceIFD2UserGroupProvider
- Returns:
- A JSON array of all user groups available for the current client. Contains
JSONObject
s with the following key-value pairs:- id (string): The ID of the user group, i.e. the UUID, prefixed with
[!]
for the inverse condition. - name (string): The name of the user group.
- altId (string): The legacy ID of the user group, i.e. the name of the user group, prefixed with
[!]
for the inverse condition. This is deprecated, useid
instead.
- id (string): The ID of the user group, i.e. the UUID, prefixed with
-
-