Package africa.absa.inception.security
Class Groups
- java.lang.Object
-
- africa.absa.inception.security.Groups
-
- All Implemented Interfaces:
Serializable
public class Groups extends Object implements Serializable
The Groups class holds the results of a request to retrieve a list of groups.- Author:
- Marcus Portmann
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetFilter()Returns the optional filter that was applied to the groups.List<Group>getGroups()Returns the groups.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 groups.LonggetTotal()Returns the total number of groups.UUIDgetUserDirectoryId()Returns the Universally Unique Identifier (UUID) for the user directory the groups are associated with.
-
-
-
Constructor Detail
-
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 Universally Unique Identifier (UUID) 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 Detail
-
getFilter
public String getFilter()
Returns the optional filter that was applied to the groups.- Returns:
- the optional filter that was applied to the groups
-
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 groups.- Returns:
- the optional sort direction that was applied to the groups
-
getTotal
public Long getTotal()
Returns the total number of groups.- Returns:
- the total number of groups
-
getUserDirectoryId
public UUID getUserDirectoryId()
Returns the Universally Unique Identifier (UUID) for the user directory the groups are associated with.- Returns:
- the Universally Unique Identifier (UUID) for the user directory the groups are associated with
-
-