|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 rolevoid 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 roleProfileWrapper 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 roleList getAllGroupNames() throws P13nControlException
P13nControlException
- if remote errors from the GroupManager EJBList getChildGroupNames(String groupname) throws P13nControlException
groupname
- the group to query
P13nControlException
- if remote errors from the GroupManager EJB
or caller is not in allowed roleList getGroupNamesForUser(String username) throws P13nControlException
username
- the user to query
P13nControlException
- if remote errors from the GroupManager EJBProfileWrapper 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 roleProfileManager 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 roleString getParentGroupName(String groupname) throws P13nControlException
groupname
- the group to query
P13nControlException
- if runtime errors occur or caller is not
in allowed roleList getTopLevelGroupNames() throws P13nControlException
P13nControlException
- if runtime errors occur or caller is
not in allowed roleboolean groupExists(String group) throws P13nControlException
name
- the group name to check
P13nControlException
- if runtime errorsboolean isDeletableGroup(String groupName) throws P13nControlException
P13nControlException
- if runtime errors or caller is not in allowed roleboolean 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 roleboolean isMember(String groupname, String username) throws P13nControlException
groupname
- the group to queryusername
- the user to look for
P13nControlException
- if runtime errorsvoid 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 rolevoid 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 rolevoid 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 roleList getUsernamesForGroup(String groupname) throws P13nControlException
P13nControlException
- if runtime errorsList 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 © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |