DescriptorBean, ListerMBean, NameListerMBean, SettableBean, StandardInterfaceGroupEditorMBean, GroupMemberListerMBean, GroupUserListerMBean, MemberGroupListerMBeanpublic interface GroupReaderMBean extends NameListerMBean
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getGroupDescription(java.lang.String groupName) |
Gets a group's description.
|
boolean |
groupExists(java.lang.String groupName) |
Indicates whether the specified group exists.
|
boolean |
isMember(java.lang.String parentGroupName,
java.lang.String memberUserOrGroupName,
boolean recursive) |
Indicates whether a user or group is a member of the group that you specify.
|
java.lang.String |
listGroups(java.lang.String groupNameWildcard,
int maximumToReturn) |
Searches for a user name that matches a pattern.
|
addPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListeneradvance, close, haveCurrentgetCurrentNamegetNamejava.lang.String listGroups(java.lang.String groupNameWildcard,
int maximumToReturn)
throws InvalidParameterException
Searches for a user name that matches a pattern.
This method returns a cursor that you can pass to the methods from
weblogic.management.utils.NameListerMBean
(which this MBean extends) to iterate through the returned list.
This method does not sort the results.
groupNameWildcard - - The pattern for which this method searches.
The pattern can end with an * (asterisk) as a wildcard, which matches any string of characters.
The search is not case-sensitive.
For example, a pattern of abc matches exactly one group name that contains only abc,
a pattern of ab* matches all group names that start with ab,
and a pattern of * matches all group names.
maximumToReturn - - The maximum number of group names that this method returns.
If there are more matches than this maximum, then the returned results
are arbitrary because this method does not sort results.
If the parameter is set to 0 there is no maximum and all results are returned.InvalidParameterExceptionboolean groupExists(java.lang.String groupName)
throws InvalidParameterException
groupName - - The name that this method evaluates.InvalidParameterExceptionjava.lang.String getGroupDescription(java.lang.String groupName)
throws NotFoundException,
InvalidParameterException
groupName - - The name of an existing group.NotFoundExceptionInvalidParameterExceptionboolean isMember(java.lang.String parentGroupName,
java.lang.String memberUserOrGroupName,
boolean recursive)
throws NotFoundException,
InvalidParameterException
parentGroupName - - The existing group within which this method searches for membership.memberUserOrGroupName - - The user or group name for which this method searches.recursive - - If set to true, the criteria for membership extends
to any groups within the group that is specified by parentGroupName.
If this argument is set to false, then this method checks only for
direct membership within the parentGroupName.
NotFoundExceptionInvalidParameterException