Interface GroupLoader
-
public interface GroupLoader
- Author:
- npiedeloup
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Set<io.vertigo.datamodel.structure.model.UID<Account>>
getAccountURIs(io.vertigo.datamodel.structure.model.UID<AccountGroup> groupURI)
Lists the accounts for a defined group.AccountGroup
getGroup(io.vertigo.datamodel.structure.model.UID<AccountGroup> groupURI)
Gets the group defined by an URI.long
getGroupsCount()
Set<io.vertigo.datamodel.structure.model.UID<AccountGroup>>
getGroupURIs(io.vertigo.datamodel.structure.model.UID<Account> accountURI)
-
-
-
Method Detail
-
getGroupsCount
long getGroupsCount()
- Returns:
- the number of groups.
-
getGroup
AccountGroup getGroup(io.vertigo.datamodel.structure.model.UID<AccountGroup> groupURI)
Gets the group defined by an URI.- Parameters:
groupURI
- the group URI- Returns:
- the group
-
getGroupURIs
Set<io.vertigo.datamodel.structure.model.UID<AccountGroup>> getGroupURIs(io.vertigo.datamodel.structure.model.UID<Account> accountURI)
- Parameters:
accountURI
- the account defined by its URI- Returns:
- Set of groups of this account
-
getAccountURIs
Set<io.vertigo.datamodel.structure.model.UID<Account>> getAccountURIs(io.vertigo.datamodel.structure.model.UID<AccountGroup> groupURI)
Lists the accounts for a defined group.- Parameters:
groupURI
- the group URI- Returns:
- the list of acccounts.
-
-