|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.internet2.middleware.grouper.GroupCopy
public class GroupCopy
Use this class to copy a group to another stem.
Constructor Summary | |
---|---|
GroupCopy(Group group,
Stem stem)
Create a new instance of this class if you would like to specify specific options for a group copy. |
Method Summary | |
---|---|
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(java.lang.String value)
Optionally set a new display extension for the group. |
GroupCopy |
setExtension(java.lang.String value)
Optionally set a new extension for the group. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GroupCopy(Group group, Stem stem)
group
- Group to copystem
- Stem where group should be copiedMethod Detail |
---|
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(java.lang.String value)
value
-
public GroupCopy setDisplayExtension(java.lang.String value)
value
-
public Group save() throws GroupAddException, InsufficientPrivilegeException
GroupAddException
InsufficientPrivilegeException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |