Package africa.absa.inception.security
Class Groups
java.lang.Object
africa.absa.inception.security.Groups
- All Implemented Interfaces:
Serializable
The Groups class holds the results of a request to retrieve a list of groups.
- Author:
- Marcus Portmann
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the optional filter that was applied to the groups.Returns the groups.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 groups.getTotal()Returns the total number of groups.Returns the ID for the user directory the groups are associated with.
-
Constructor Details
-
Groups
public Groups()Constructs a new Groups. -
Groups
public Groups(UUID userDirectoryId, List<Group> groups, long total, String filter, africa.absa.inception.core.sorting.SortDirection sortDirection, Integer pageIndex, Integer pageSize) Constructs a new Groups.- Parameters:
userDirectoryId- the ID for the user directory the groups are associated withgroups- the groupstotal- the total number of groupsfilter- the optional filter that was applied to the groupssortDirection- the optional sort direction that was applied to the groupspageIndex- the optional page indexpageSize- the optional page size
-
-
Method Details
-
getFilter
Returns the optional filter that was applied to the groups.- Returns:
- the optional filter that was applied to the groups
-
getGroups
Returns the groups.- Returns:
- the groups
-
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 groups.- Returns:
- the optional sort direction that was applied to the groups
-
getTotal
Returns the total number of groups.- Returns:
- the total number of groups
-
getUserDirectoryId
Returns the ID for the user directory the groups are associated with.- Returns:
- the ID for the user directory the groups are associated with
-