DescriptorBean, GroupReaderMBean, GroupRemoverMBean, ListerMBean, NameListerMBean, SettableBean, StandardInterfacepublic interface GroupEditorMBean extends GroupReaderMBean, GroupRemoverMBean
| Modifier and Type | Method | Description |
|---|---|---|
void |
addMemberToGroup(java.lang.String groupName,
java.lang.String memberUserOrGroupName) |
Adds a user or group (member) to a group.
|
void |
createGroup(java.lang.String groupName,
java.lang.String description) |
Creates a group.
|
void |
removeMemberFromGroup(java.lang.String groupName,
java.lang.String memberUserOrGroupName) |
Removes a user or group (member) from a group.
|
void |
setGroupDescription(java.lang.String groupName,
java.lang.String description) |
Sets the description for an existing group.
|
addPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListenergetGroupDescription, groupExists, isMember, listGroupsremoveGroupadvance, close, haveCurrentgetCurrentNamegetNamevoid createGroup(java.lang.String groupName,
java.lang.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(java.lang.String groupName,
java.lang.String description)
throws NotFoundException,
InvalidParameterException
groupName - - The name of an existing group.description - - The description of the group.NotFoundExceptionInvalidParameterExceptionvoid addMemberToGroup(java.lang.String groupName,
java.lang.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(java.lang.String groupName,
java.lang.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