public interface GroupEditorMBean extends GroupReaderMBean, GroupRemoverMBean
Modifier and Type | Method and Description |
---|---|
void |
addMemberToGroup(String groupName,
String memberUserOrGroupName)
Adds a user or group (member) to a group.
|
void |
createGroup(String groupName,
String description)
Creates a group.
|
void |
removeMemberFromGroup(String groupName,
String memberUserOrGroupName)
Removes a user or group (member) from a group.
|
void |
setGroupDescription(String groupName,
String description)
Sets the description for an existing group.
|
getGroupDescription, groupExists, isMember, listGroups
getCurrentName
advance, close, haveCurrent
getName
addPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListener
removeGroup
void createGroup(String groupName, String description) throws AlreadyExistsException, InvalidParameterException
groupName
- - The name of the new group. The name cannot be the name
of an existing user or group. The Authentication provider determines syntax
requirements for the group name.description
- - The description of the group.AlreadyExistsException
InvalidParameterException
void setGroupDescription(String groupName, String description) throws NotFoundException, InvalidParameterException
groupName
- - The name of an existing group.description
- - The description of the group.NotFoundException
InvalidParameterException
void addMemberToGroup(String groupName, String memberUserOrGroupName) throws NotFoundException, InvalidParameterException
groupName
- - The name of an existing group to which this method adds a member.memberUserOrGroupName
- - The name of the member, which must be an existing user or group.NotFoundException
InvalidParameterException
void removeMemberFromGroup(String groupName, String memberUserOrGroupName) throws NotFoundException, InvalidParameterException
groupName
- - The name of an existing group from which this method removes a member.memberUserOrGroupName
- - The name of the member, which must be an existing user or group.NotFoundException
InvalidParameterException