Class 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 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 directories
        total - the total number of user directories
        filter - the optional filter that was applied to the user directories
        sortDirection - the optional sort direction that was applied to the user directories
        pageIndex - the optional page index
        pageSize - 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