Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
val allGroupsState: PaginationState<Int, Group>

allGroupsState -> the state used to manage the pagination for the retrieveAllGroups method

Link copied to clipboard

allGroupsStateFilters -> the filters to apply to the allGroupsState list

Link copied to clipboard
val myGroupsState: PaginationState<Int, Group>

myGroupsState -> the state used to manage the pagination for the retrieveMyGroups method

Link copied to clipboard

myGroupsStateFilters -> the filters to apply to the myGroupsState list

Link copied to clipboard
val roleFilters: SnapshotStateList<<Error class: unknown class>>

roleFilters -> the roles used as filters to apply to the allGroupsState list

Functions

Link copied to clipboard
open override fun areFiltersSet(allItems: Boolean): Boolean

Method to check whether the filters have been set

Link copied to clipboard
open override fun clearFilters(allItems: Boolean)

Method to clear filters have been set

Link copied to clipboard
open fun deleteGroup(group: Group, onDelete: () -> Unit, onFailure: (JsonObject) -> Unit)

Method to delete a group

Link copied to clipboard
open override fun filterItems(allItems: Boolean, filters: MutableState<String>, onFiltersSet: () -> Unit)

Method to filter the items list

Link copied to clipboard
fun manageRoleFilter(role: <Error class: unknown class>)

Method to manage the roleFilters list

Link copied to clipboard

Method to refresh the myGroupsState and the allGroupsState after a group deleted

Link copied to clipboard

Method to reset as default the roleFilters list

Link copied to clipboard
open override fun retryRetrieveLists()

Method to retry the retrieving of the lists data