public class GroupCopy extends Object
| Constructor and Description |
|---|
GroupCopy(Group group,
Stem stem)
Create a new instance of this class if you would like to specify
specific options for a group copy.
|
| Modifier and Type | Method and Description |
|---|---|
GroupCopy |
copyAttributes(boolean value)
Whether to copy attributes.
|
GroupCopy |
copyGroupAsPrivilege(boolean value)
Whether to copy privileges where this group is a member.
|
GroupCopy |
copyListGroupAsMember(boolean value)
Whether to copy list memberships where this group is a member.
|
GroupCopy |
copyListMembersOfGroup(boolean value)
Whether to copy the list memberships of the group.
|
GroupCopy |
copyPrivilegesOfGroup(boolean value)
Whether to copy privileges of the group.
|
Group |
save()
Copy the group using the options set in this class.
|
GroupCopy |
setDisplayExtension(String value)
Optionally set a new display extension for the group.
|
GroupCopy |
setExtension(String value)
Optionally set a new extension for the group.
|
public GroupCopy copyPrivilegesOfGroup(boolean value)
value - public GroupCopy copyGroupAsPrivilege(boolean value)
value - public GroupCopy copyListMembersOfGroup(boolean value)
value - public GroupCopy copyListGroupAsMember(boolean value)
value - public GroupCopy copyAttributes(boolean value)
value - public GroupCopy setExtension(String value)
value - public GroupCopy setDisplayExtension(String value)
value - public Group save() throws GroupAddException, InsufficientPrivilegeException
GroupAddExceptionInsufficientPrivilegeExceptionCopyright © 2016 Internet2. All rights reserved.