public interface Group extends Accessor, Accessible, PermissionScope, Named, ItemHolder
| Modifier and Type | Interface and Description |
|---|---|
static class |
Group.Impl
Implementation of complex methods.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
ADMIN_GROUP_IDENTIFIER |
static String |
ADMIN_GROUP_NAME |
static String |
ANONYMOUS_GROUP_IDENTIFIER |
CHILD_COUNT| Modifier and Type | Method and Description |
|---|---|
void |
addMember(Accessor accessor)
Adds a Accessor as a member to this Group, so it has the permissions of the Group.
|
Iterable<Accessible> |
getAllUserProfileMembers()
Get all members of this group, including members of
groups within this group.
|
int |
getChildCount()
Get the number of items within this group.
|
Iterable<Group> |
getGroups()
Fetch the groups to which this group belongs.
|
Iterable<Accessor> |
getMembers()
Get members of this group.
|
Iterable<Accessible> |
getMembersAsEntities()
TODO FIXME use this in case we need AccesibleEnity's instead of Accessors,
|
void |
removeMember(Accessor accessor)
Removes a member from this group.
|
addPermissionGrant, getAllParents, getParents, getPermissionGrants, isAdmin, isAnonymousaddAccessor, getAccessors, getHistory, getLatestEvent, getPermissionScope, getPermissionScopes, hasAccessRestriction, removeAccessor, setPermissionScopegetPermissionGrantsgetAllContainedItems, getContainedItems, getPermissionGrants, getPermissionScopes, idPathgetIdentifieras, getId, getProperty, getProperty, getPropertyKeys, getTypestatic final String ADMIN_GROUP_IDENTIFIER
static final String ANONYMOUS_GROUP_IDENTIFIER
static final String ADMIN_GROUP_NAME
Iterable<Group> getGroups()
Iterable<Accessible> getMembersAsEntities()
Iterable<Accessor> getMembers()
int getChildCount()
getChildCount in interface ItemHoldervoid addMember(Accessor accessor)
accessor - a user or group framevoid removeMember(Accessor accessor)
accessor - a user or group frameIterable<Accessible> getAllUserProfileMembers()
Copyright © 2018 The European Holocaust Research Infrastructure (EHRI). All rights reserved.