Package africa.absa.inception.security
Class UserDirectories
java.lang.Object
africa.absa.inception.security.UserDirectories
- All Implemented Interfaces:
Serializable
The UserDirectories class holds the results of a request to retrieve a list of user
directories.
- Author:
- Marcus Portmann
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs 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
Modifier and TypeMethodDescriptionReturns the optional filter that was applied to the user directories.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 user directories.getTotal()Returns the total number of user directories.Returns the user directories.
-
Constructor Details
-
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 Details
-
getFilter
Returns the optional filter that was applied to the user directories.- Returns:
- the optional filter that was applied to the user directories
-
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 user directories.- Returns:
- the optional sort direction that was applied to the user directories
-
getTotal
Returns the total number of user directories.- Returns:
- the total number of user directories
-
getUserDirectories
Returns the user directories.- Returns:
- the user directories
-