Class GroupMembers

java.lang.Object
africa.absa.inception.security.GroupMembers
All Implemented Interfaces:
Serializable

public class GroupMembers extends Object implements Serializable
The GroupMembers class holds the results of a request to retrieve a list of group members.
Author:
Marcus Portmann
See Also:
  • Constructor Details

    • GroupMembers

      public GroupMembers()
      Constructs a new GroupMembers.
    • GroupMembers

      public GroupMembers(UUID userDirectoryId, String groupName, List<GroupMember> groupMembers, long total, String filter, africa.absa.inception.core.sorting.SortDirection sortDirection, Integer pageIndex, Integer pageSize)
      Constructs a new GroupMembers.
      Parameters:
      userDirectoryId - the ID for the user directory the group members are associated with
      groupName - the name of the group the group members are associated with
      groupMembers - the group members
      total - the total number of group members
      filter - the optional filter that was applied to the group members
      sortDirection - the optional sort direction that was applied to the group members
      pageIndex - the optional page index
      pageSize - the optional page size
  • Method Details

    • getFilter

      public String getFilter()
      Returns the optional filter that was applied to the group members.
      Returns:
      the optional filter that was applied to the group members
    • getGroupMembers

      public List<GroupMember> getGroupMembers()
      Returns the group members.
      Returns:
      the group members
    • getGroupName

      public String getGroupName()
      Returns the name of the group the group members are associated with.
      Returns:
      the name of the group the group members are associated with
    • getPageIndex

      public Integer getPageIndex()
      Returns the optional page index.
      Returns:
      the optional page index
    • getPageSize

      public Integer getPageSize()
      Returns the optional page size.
      Returns:
      the optional page size
    • getSortDirection

      public africa.absa.inception.core.sorting.SortDirection getSortDirection()
      Returns the optional sort direction that was applied to the group members.
      Returns:
      the optional sort direction that was applied to the group members
    • getTotal

      public Long getTotal()
      Returns the total number of group members.
      Returns:
      the total number of group members
    • getUserDirectoryId

      public UUID getUserDirectoryId()
      Returns the ID for the user directory the group members are associated with.
      Returns:
      the ID for the user directory the group members are associated with