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:
  • Field Details

    • LOG

      protected static final org.slf4j.Logger LOG
  • Constructor Details

    • DefaultFD2UserGroupProvider

      public DefaultFD2UserGroupProvider(IFormRenderContext renderCtx)
    • DefaultFD2UserGroupProvider

      public DefaultFD2UserGroupProvider(Mandant mandant, Locale locale)
  • Method Details

    • createUserGroupJSON

      public com.alibaba.fastjson.JSONArray createUserGroupJSON()
      Specified by:
      createUserGroupJSON in interface IFD2UserGroupProvider
      Returns:
      A JSON array of all user groups available for the current client. Contains JSONObjects 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, use id instead.