|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.internet2.middleware.grouper.StemCopy
public class StemCopy
Use this class to copy a stem to another stem.
Constructor Summary | |
---|---|
StemCopy(Stem stemToCopy,
Stem destinationStem)
Create a new instance of this class if you would like to specify specific options for a stem copy. |
Method Summary | |
---|---|
StemCopy |
copyAttributes(boolean value)
Whether to copy attributes. |
StemCopy |
copyGroupAsPrivilege(boolean value)
Whether to copy privileges where groups are a member. |
StemCopy |
copyListGroupAsMember(boolean value)
Whether to copy list memberships where groups are a member. |
StemCopy |
copyListMembersOfGroup(boolean value)
Whether to copy the list memberships of groups. |
StemCopy |
copyPrivilegesOfGroup(boolean value)
Whether to copy privileges of groups. |
StemCopy |
copyPrivilegesOfStem(boolean value)
Whether to copy privileges of stems. |
Stem |
save()
Copy the stem using the options set in this class. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StemCopy(Stem stemToCopy, Stem destinationStem)
stemToCopy
- the stem to copydestinationStem
- the destination stem for the copyMethod Detail |
---|
public StemCopy copyPrivilegesOfStem(boolean value)
value
-
public StemCopy copyPrivilegesOfGroup(boolean value)
value
-
public StemCopy copyGroupAsPrivilege(boolean value)
value
-
public StemCopy copyListMembersOfGroup(boolean value)
value
-
public StemCopy copyListGroupAsMember(boolean value)
value
-
public StemCopy copyAttributes(boolean value)
value
-
public Stem save() throws StemAddException, InsufficientPrivilegeException
StemAddException
InsufficientPrivilegeException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |