|
Copyright © 2008 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
@ControlInterface public interface GroupManager
Remote interface for the GroupManager session bean.
This class depends on the following EJB environment in the
ejb deployment descriptor:
This control is deprecated as of Portal 8.1.x. Each method will note the replacement control and method to use.
| Method Summary | |
|---|---|
void |
addGroupToGroup(String parentGroup,
String childGroup)
Deprecated As of Portal 8.1.x, use GroupProviderControl.addGroupToGroup(parentGroup, childGroup) |
void |
addUserToGroup(String groupname,
String username)
Deprecated As of Portal 8.1.x, use GroupProviderControl.addUserToGroup(groupname, username) |
ProfileWrapper |
createGroup(String name)
Deprecated As of Portal 8.1.x, use GroupProviderControl.createGroup(name) |
List |
getAllGroupNames()
Deprecated As of Portal 8.1.x, use GroupProviderControl.getAllGroupNames() |
List |
getChildGroupNames(String groupname)
Deprecated As of Portal 8.1.x, use GroupProviderControl.getChildGroupNames(groupname) |
List |
getGroupNamesForUser(String username)
Deprecated As of Portal 8.1.x, use GroupProviderControl.getGroupNamesForUser(username) |
ProfileWrapper |
getGroupProfile(String name)
Deprecated As of Portal 8.1.x, use UserProfileControl.getProfileForGroup(name) |
ProfileManager |
getGroupProfileManager(String name)
Deprecated Use ProfileControl.getGroupProfileManager(name) |
String |
getParentGroupName(String groupname)
Deprecated As of Portal 8.1.x, use GroupProviderControl.getParentGroupNames(groupname) |
List |
getTopLevelGroupNames()
Deprecated As of Portal 8.1.x, use GroupProviderControl.getTopLevelGroupNames() |
List |
getUsernamesForGroup(String groupname)
Deprecated As of Portal 8.1.x, use GroupProviderControl.getUsernamesForGroup(groupname) |
List |
getUsernamesForGroupLimited(String groupname,
String searchExpression,
int limit)
Deprecated As of Portal 8.1.x, use GroupProviderControl.getUsernamesForGroupLimited(groupname, searchExpression, limit) |
boolean |
groupExists(String group)
Deprecated As of Portal 8.1.x, use GroupProviderControl.groupExists(group) |
boolean |
isDeletableGroup(String groupName)
Determine if a group can be deleted. |
boolean |
isDescendent(String ancestor,
String descendent)
Deprecated As of Portal 8.1.x, use GroupProviderControl.isDescendent(ancestor, descendent) |
boolean |
isMember(String groupname,
String username)
Deprecated As of Portal 8.1.x, use GroupProviderControl.isMemberGroup(groupname, username, recurse) |
void |
removeGroup(String groupname)
Deprecated As of Portal 8.1.x, use GroupProviderControl.removeGroup(groupname) |
void |
removeGroupFromGroup(String parentGroup,
String childGroup)
Deprecated As of Portal 8.1.x, use GroupProviderControl.removeGroupFromGroup(parentGroup, childGroup) |
void |
removeUserFromGroup(String groupname,
String username)
Deprecated As of Portal 8.1.x, use GroupProviderControl.removeUserFromGroup(groupname, username) |
| Method Detail |
|---|
void addGroupToGroup(String parentGroup,
String childGroup)
throws P13nControlException
parentGroup - the name of the group to modifychildGroup - the name of the group to add
P13nControlException - if the child group cannot be added to the group
or caller is not in allowed role
void addUserToGroup(String groupname,
String username)
throws P13nControlException
groupname - the name of the group to modifyusername - the name of the user to add
P13nControlException - if the user cannot be added to the group
or caller is not in allowed role
ProfileWrapper createGroup(String name)
throws P13nControlException
the - name of the group to create
P13nControlException - if name is invalid or if group already
exists or caller is not in allowed role
List getAllGroupNames()
throws P13nControlException
P13nControlException - if remote errors from the GroupManager EJB
List getChildGroupNames(String groupname)
throws P13nControlException
groupname - the group to query
P13nControlException - if remote errors from the GroupManager EJB
or caller is not in allowed role
List getGroupNamesForUser(String username)
throws P13nControlException
username - the user to query
P13nControlException - if remote errors from the GroupManager EJB
ProfileWrapper getGroupProfile(String name)
throws P13nControlException
name - the name of the group to access
P13nControlException - if profile is not found or caller is not in
allowed role
ProfileManager getGroupProfileManager(String name)
throws P13nControlException
name - the name of the group to access
P13nControlException - if the group is not in the realm
or caller is not in allowed role
String getParentGroupName(String groupname)
throws P13nControlException
groupname - the group to query
P13nControlException - if runtime errors occur or caller is not
in allowed role
List getTopLevelGroupNames()
throws P13nControlException
P13nControlException - if runtime errors occur or caller is
not in allowed role
boolean groupExists(String group)
throws P13nControlException
name - the group name to check
P13nControlException - if runtime errors
boolean isDeletableGroup(String groupName)
throws P13nControlException
P13nControlException - if runtime errors or caller is not in allowed role
boolean isDescendent(String ancestor,
String descendent)
throws P13nControlException
ancestor - see if the other group is a descendent of this groupdescendent - see if this is a descendent of the other group
P13nControlException - if runtime errors or caller is not in allowed role
boolean isMember(String groupname,
String username)
throws P13nControlException
groupname - the group to queryusername - the user to look for
P13nControlException - if runtime errors
void removeGroup(String groupname)
throws P13nControlException
the - name of the group to remove
P13nControlException - if the group is protected and cannot be deleted
or caller is not in allowed role
void removeGroupFromGroup(String parentGroup,
String childGroup)
throws P13nControlException
parentGroup - the name of the group to modifychildGroup - the name of the group to remove
P13nControlException - if the group is not found
or caller is not in allowed role
void removeUserFromGroup(String groupname,
String username)
throws P13nControlException
groupname - the name of the group to modifyusername - the name of the user to remove
P13nControlException - if user or group is not found, or caller is
not in allowed role
List getUsernamesForGroup(String groupname)
throws P13nControlException
P13nControlException - if runtime errors
List getUsernamesForGroupLimited(String groupname,
String searchExpression,
int limit)
throws P13nControlException
groupname - the group to querysearchExpression - a wildcard expression to matchlimit - the maximum number of results to return
P13nControlException - if runtime errors occur
|
Copyright © 2008 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||