Package edu.internet2.middleware.grouper
Class GroupMove
java.lang.Object
edu.internet2.middleware.grouper.GroupMove
Use this class to move a group to another stem.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionassignAlternateName
(boolean value) Whether to add the current name of the group to the group's alternate names list.void
save()
Move the group using the options set in this class.
-
Constructor Details
-
GroupMove
Create a new instance of this class if you would like to specify specific options for a group move. After setting the options, call save().- Parameters:
group
- Group to movestem
- Stem where group should be moved
-
-
Method Details
-
assignAlternateName
Whether to add the current name of the group to the group's alternate names list. Certain operations like group name queries (GroupFinder.findByName()) will find groups by their current and alternate names. Currently, Grouper only supports one alternate name per group, so if groups are moved/renamed multiple times, only the last name will be kept as an alternate name. Default is true.- Parameters:
value
-- Returns:
- GroupMove
-
save
Move the group using the options set in this class.
-