Package africa.absa.inception.security
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GroupMembers()Constructs a new GroupMembers.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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetFilter()Returns the optional filter that was applied to the group members.List<GroupMember>getGroupMembers()Returns the group members.StringgetGroupName()Returns the name of the group the group members are associated with.IntegergetPageIndex()Returns the optional page index.IntegergetPageSize()Returns the optional page size.africa.absa.inception.core.sorting.SortDirectiongetSortDirection()Returns the optional sort direction that was applied to the group members.LonggetTotal()Returns the total number of group members.UUIDgetUserDirectoryId()Returns the Universally Unique Identifier (UUID) for the user directory the group members are associated with.
-
-
-
Constructor Detail
-
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 Universally Unique Identifier (UUID) for the user directory the group members are associated withgroupName- the name of the group the group members are associated withgroupMembers- the group memberstotal- the total number of group membersfilter- the optional filter that was applied to the group memberssortDirection- the optional sort direction that was applied to the group memberspageIndex- the optional page indexpageSize- the optional page size
-
-
Method Detail
-
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 Universally Unique Identifier (UUID) for the user directory the group members are associated with.- Returns:
- the Universally Unique Identifier (UUID) for the user directory the group members are associated with
-
-