Package africa.absa.inception.security
Class UserDirectories
- java.lang.Object
-
- africa.absa.inception.security.UserDirectories
-
- All Implemented Interfaces:
Serializable
public class UserDirectories extends Object implements Serializable
The UserDirectories class holds the results of a request to retrieve a list of user directories.- Author:
- Marcus Portmann
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UserDirectories()Constructs a new UserDirectories.UserDirectories(List<UserDirectory> userDirectories, long total, String filter, africa.absa.inception.core.sorting.SortDirection sortDirection, Integer pageIndex, Integer pageSize)Constructs a new UserDirectories.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetFilter()Returns the optional filter that was applied to the user directories.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 user directories.LonggetTotal()Returns the total number of user directories.List<UserDirectory>getUserDirectories()Returns the user directories.
-
-
-
Constructor Detail
-
UserDirectories
public UserDirectories()
Constructs a new UserDirectories.
-
UserDirectories
public UserDirectories(List<UserDirectory> userDirectories, long total, String filter, africa.absa.inception.core.sorting.SortDirection sortDirection, Integer pageIndex, Integer pageSize)
Constructs a new UserDirectories.- Parameters:
userDirectories- the user directoriestotal- the total number of user directoriesfilter- the optional filter that was applied to the user directoriessortDirection- the optional sort direction that was applied to the user directoriespageIndex- the optional page indexpageSize- the optional page size
-
-
Method Detail
-
getFilter
public String getFilter()
Returns the optional filter that was applied to the user directories.- Returns:
- the optional filter that was applied to the user directories
-
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 user directories.- Returns:
- the optional sort direction that was applied to the user directories
-
getTotal
public Long getTotal()
Returns the total number of user directories.- Returns:
- the total number of user directories
-
getUserDirectories
public List<UserDirectory> getUserDirectories()
Returns the user directories.- Returns:
- the user directories
-
-