|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bea.ales.management.GroupManager
This class manages groups in a specified directory.
Directory.getGroupManager()
Method Summary | |
Group |
create(java.lang.String name)
Create a group. |
Group |
get(java.lang.String name)
Get a group with the specified name. |
GroupQueryResult |
getGroups(java.lang.String filter)
Find all groups whose names match the specified filter. |
void |
remove(java.util.Collection groupNames,
boolean isCascade)
Remove all the groups in the given Collection of group names. |
void |
remove(Group groupIn,
boolean isCascade)
Delete a group. |
void |
remove(java.lang.String grpName,
boolean isCascade)
Delete a group by name. |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Method Detail |
public Group create(java.lang.String name) throws ManagementException
name
- name of group. This is a short name without ALES prefix.public void remove(Group groupIn, boolean isCascade) throws ManagementException
groupIn
- the group to be deleted.isCascade
- if true, then all policies associated with the group
will also be deleted.public void remove(java.lang.String grpName, boolean isCascade) throws ManagementException
grpName
- name of thegroup to be deleted. The name is short name,
without ALES prefix.isCascade
- if true, then all policies associated with the group
will also be deleted.public void remove(java.util.Collection groupNames, boolean isCascade) throws ManagementException
Collection
of group names. RBAC_Context
associated with the Directory
, a
local transaction for the remove operation for all the groups is started.
groupNames
- The Collection
of group name String
s to remove. The current
identity must have privilege to remove all the groups in this Collection
or else this method will not remove ANY groups.isCascade
- Should the remove operation work in cascade mode? If true removes groups and all
associated policy data from the system.public Group get(java.lang.String name) throws ManagementException
name
- name of group(short name, without ALES prefix).public GroupQueryResult getGroups(java.lang.String filter) throws ManagementException
filter
- name pattern to match.GroupQueryResult
contains all group found.GroupQueryResult
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |