Package africa.absa.inception.security
Class GroupMembers
java.lang.Object
africa.absa.inception.security.GroupMembers
- All Implemented Interfaces:
Serializable
The GroupMembers class holds the results of a request to retrieve a list of group members.
- Author:
- Marcus Portmann
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs 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
Modifier and TypeMethodDescriptionReturns the optional filter that was applied to the group members.Returns the group members.Returns the name of the group the group members are associated with.Returns the optional page index.Returns the optional page size.africa.absa.inception.core.sorting.SortDirectionReturns the optional sort direction that was applied to the group members.getTotal()Returns the total number of group members.Returns the ID for the user directory the group members are associated with.
-
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 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 Details
-
getFilter
Returns the optional filter that was applied to the group members.- Returns:
- the optional filter that was applied to the group members
-
getGroupMembers
Returns the group members.- Returns:
- the group members
-
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
Returns the optional page index.- Returns:
- the optional page index
-
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
Returns the total number of group members.- Returns:
- the total number of group members
-
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
-