@Test public void isMemberContextGroupId() throws SQLException, AuthorizeException, EPersonDeletionException, IOException { EPerson ePerson = null; try { ePerson = createEPersonAndAddToGroup("isMemberContextGroupId@dspace.org", level2Group); assertTrue(groupService.isMember(context, ePerson, topGroup.getName())); assertTrue(groupService.isMember(context, ePerson, level1Group.getName())); assertTrue(groupService.isMember(context, ePerson, level2Group.getName())); } finally { if (ePerson != null) { context.turnOffAuthorisationSystem(); ePersonService.delete(context, ePerson); } } }
@Override public String getName() { return name; }
Group extends DSpaceObject implements DSpaceObjectLegacySupport { @Override public String getName() { return name; } }
Group extends DSpaceObject implements DSpaceObjectLegacySupport { @Override public String getName() { return name; } protected  Group(); }
Group extends DSpaceObject implements DSpaceObjectLegacySupport { @Override public String getName() { return name; } protected  Group(); List<EPerson> getMembers(); List<Group> getMemberGroups(); @Override boolean equals(Object obj); @Override int hashCode(); @Override int getType(); @Override String getName(); boolean isGroupsChanged(); void clearGroupsChanged(); @Override Integer getLegacyId(); List<WorkspaceItem> getSupervisedItems(); Boolean isPermanent(); }
Group extends DSpaceObject implements DSpaceObjectLegacySupport { @Override public String getName() { return name; } protected  Group(); List<EPerson> getMembers(); List<Group> getMemberGroups(); @Override boolean equals(Object obj); @Override int hashCode(); @Override int getType(); @Override String getName(); boolean isGroupsChanged(); void clearGroupsChanged(); @Override Integer getLegacyId(); List<WorkspaceItem> getSupervisedItems(); Boolean isPermanent(); @Transient
    static final String ANONYMOUS; @Transient
    static final String ADMIN; }