Class DefaultFD2UserGroupProvider
java.lang.Object
de.xima.fc.web.common.fd2.provider.DefaultFD2UserGroupProvider
- All Implemented Interfaces:
IFD2UserGroupProvider
,Serializable
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefaultFD2UserGroupProvider
(Mandant mandant, Locale locale) DefaultFD2UserGroupProvider
(IFormRenderContext renderCtx) -
Method Summary
-
Field Details
-
LOG
protected static final org.slf4j.Logger LOG
-
-
Constructor Details
-
DefaultFD2UserGroupProvider
-
DefaultFD2UserGroupProvider
-
-
Method Details
-
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
-