|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
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 requires that the GroupManager EJB has been deployed to the application. The GroupManager EJB is contained in p13n_ejb.jar, and is automatically deployed as part of a Portal application.
Security requirements: The caller must be in the role of "PortalSystemAdministrator" to invoke most of these methods
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 addP13nControlException
- 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 addP13nControlException
- 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 createP13nControlException
- 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 queryP13nControlException
- if remote errors from the GroupManager EJB or caller is not in allowed roleList getGroupNamesForUser(String username) throws P13nControlException
username
- the user to queryP13nControlException
- if remote errors from the GroupManager EJBProfileWrapper getGroupProfile(String name) throws P13nControlException
name
- the name of the group to accessP13nControlException
- if profile is not found or caller is not in allowed roleProfileManager getGroupProfileManager(String name) throws P13nControlException
name
- the name of the group to accessP13nControlException
- if the group is not in the realm or caller is not in allowed roleString getParentGroupName(String groupname) throws P13nControlException
groupname
- the group to queryP13nControlException
- 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 checkP13nControlException
- 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 groupP13nControlException
- 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 forP13nControlException
- if runtime errorsvoid removeGroup(String groupname) throws P13nControlException
the
- name of the group to removeP13nControlException
- 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 removeP13nControlException
- 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 removeP13nControlException
- 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 returnP13nControlException
- if runtime errors occur
|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2010, Oracle. All rights reserved.