Class RestPermittedGroup

java.lang.Object
com.atlassian.crowd.plugin.rest.entity.RestPermittedGroup
All Implemented Interfaces:
DirectoryGroup, PermittedGroup

public class RestPermittedGroup extends Object implements PermittedGroup
  • Constructor Details

  • Method Details

    • getPermission

      public UserPermission getPermission()
      Description copied from interface: PermittedGroup
      A UserPermission granted to this DirectoryGroup
      Specified by:
      getPermission in interface PermittedGroup
      Returns:
      the permission
    • getDirectoryId

      public Long getDirectoryId()
      Description copied from interface: DirectoryGroup
      ID of the directory this group belongs to
      Specified by:
      getDirectoryId in interface DirectoryGroup
      Returns:
      the directory id
    • getDirectoryName

      public String getDirectoryName()
      Optional. The directoryName will be provided to distinguish between directories for a user. It is not provided if there is only 1 directory mapping, as it is redundant.
      Specified by:
      getDirectoryName in interface DirectoryGroup
      Returns:
      the directory name
    • getGroupName

      public String getGroupName()
      Description copied from interface: DirectoryGroup
      The name of this group
      Specified by:
      getGroupName in interface DirectoryGroup
      Returns:
      the group name