|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
Nested Class Summary |
Nested classes inherited from class com.bea.control.Control |
com.bea.control.Control.Callback |
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 |
public 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 rolepublic 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 rolepublic ProfileWrapper createGroup(String name) throws P13nControlException
P13nControlException
- if name is invalid or if group already
exists or caller is not in allowed rolepublic List getAllGroupNames() throws P13nControlException
P13nControlException
- if remote errors from the GroupManager EJBpublic 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 rolepublic List getGroupNamesForUser(String username) throws P13nControlException
username
- the user to query
P13nControlException
- if remote errors from the GroupManager EJBpublic 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 rolepublic 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 rolepublic String getParentGroupName(String groupname) throws P13nControlException
groupname
- the group to query
P13nControlException
- if runtime errors occur or caller is not
in allowed rolepublic List getTopLevelGroupNames() throws P13nControlException
P13nControlException
- if runtime errors occur or caller is
not in allowed rolepublic List getUsernamesForGroup(String groupname) throws P13nControlException
P13nControlException
- if runtime errorspublic 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 occurpublic boolean groupExists(String group) throws P13nControlException
P13nControlException
- if runtime errorspublic boolean isDeletableGroup(String groupName) throws P13nControlException
P13nControlException
- if runtime errors or caller is not in allowed rolepublic 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 rolepublic boolean isMember(String groupname, String username) throws P13nControlException
groupname
- the group to queryusername
- the user to look for
P13nControlException
- if runtime errorspublic void removeGroup(String groupname) throws P13nControlException
P13nControlException
- if the group is protected and cannot be deleted
or caller is not in allowed rolepublic 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 rolepublic 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
|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |