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, listGroupsgetCurrentNameadvance, close, haveCurrentgetNameaddPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListenerremoveGroupvoid 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.AlreadyExistsExceptionInvalidParameterExceptionvoid setGroupDescription(String groupName, String description) throws NotFoundException, InvalidParameterException
groupName - - The name of an existing group.description - - The description of the group.NotFoundExceptionInvalidParameterExceptionvoid 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.NotFoundExceptionInvalidParameterExceptionvoid 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.NotFoundExceptionInvalidParameterException