Interface GroupLoader


public interface GroupLoader
Author:
npiedeloup
  • Method Details

    • getGroupsCount

      long getGroupsCount()
      Returns:
      the number of groups.
    • getGroup

      AccountGroup getGroup(io.vertigo.datamodel.data.model.UID<AccountGroup> groupURI)
      Gets the group defined by an URI.
      Parameters:
      groupURI - the group URI
      Returns:
      the group
    • getGroupURIs

      Set<io.vertigo.datamodel.data.model.UID<AccountGroup>> getGroupURIs(io.vertigo.datamodel.data.model.UID<Account> accountURI)
      Parameters:
      accountURI - the account defined by its URI
      Returns:
      Set of groups of this account
    • getAccountURIs

      Set<io.vertigo.datamodel.data.model.UID<Account>> getAccountURIs(io.vertigo.datamodel.data.model.UID<AccountGroup> groupURI)
      Lists the accounts for a defined group.
      Parameters:
      groupURI - the group URI
      Returns:
      the list of acccounts.