Control
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.
Control
, Control
, Serializable
Method Summary |
public void |
|
public void |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public boolean |
|
public boolean |
|
public boolean |
|
public boolean | |
public void |
|
public void |
|
public void |
|
Method Detail |
DEPRECATED As of Portal 8.1.x, use GroupProviderControl.addGroupToGroup(parentGroup, childGroup)
public void addGroupToGroup(Add a child group to a group Caller must be in the role of PortalSystemAdminstratorString
parentGroup,String
childGroup)
throwsP13nControlException
P13nControlException
DEPRECATED As of Portal 8.1.x, use GroupProviderControl.addUserToGroup(groupname, username)
public void addUserToGroup(Add a user to a group. Caller must be in the role of PortalSystemAdminstratorString
groupname,String
username)
throwsP13nControlException
P13nControlException
DEPRECATED As of Portal 8.1.x, use GroupProviderControl.createGroup(name)
publicCaller must be in the role of PortalSystemAdminstratorProfileWrapper
createGroup(String
name)
throwsP13nControlException
P13nControlException
DEPRECATED As of Portal 8.1.x, use GroupProviderControl.getAllGroupNames()
publicCaller must be in the role of PortalSystemAdminstratorList
getAllGroupNames()
throwsP13nControlException
P13nControlException
DEPRECATED As of Portal 8.1.x, use GroupProviderControl.getChildGroupNames(groupname)
publicCaller must be in the role of PortalSystemAdminstrator Retrieve a list of all children of a group.List
getChildGroupNames(String
groupname)
throwsP13nControlException
P13nControlException
DEPRECATED As of Portal 8.1.x, use GroupProviderControl.getGroupNamesForUser(username)
publicRetrieve a list of all groups that a user belongs to.List
getGroupNamesForUser(String
username)
throwsP13nControlException
P13nControlException
DEPRECATED As of Portal 8.1.x, use UserProfileControl.getProfileForGroup(name)
publicGet the profile for this group. Caller must be in the role of PortalSystemAdminstratorProfileWrapper
getGroupProfile(String
name)
throwsP13nControlException
P13nControlException
DEPRECATED Use ProfileControl.getGroupProfileManager(name)
publicReturns a profile manager that can be used to access a group's profile. If the requested group exists in the realm but does not have a profile yet, a new profile will be created at this time.ProfileManager
getGroupProfileManager(String
name)
throwsP13nControlException
P13nControlException
DEPRECATED As of Portal 8.1.x, use GroupProviderControl.getParentGroupNames(groupname)
publicRetrieve the parent of a group. Assumes that a group will only have one parent, as enforced by the GroupManager. If your realm has groups with more than one parent, the first one encountered will be returned. Caller must be in the role of PortalSystemAdminstratorString
getParentGroupName(String
groupname)
throwsP13nControlException
P13nControlException
DEPRECATED As of Portal 8.1.x, use GroupProviderControl.getTopLevelGroupNames()
publicRetrieve a list of groups that do not have parent groups. This will not return the built-in WLS "everyone" or "users" groups. Caller must be in the role of PortalSystemAdminstratorList
getTopLevelGroupNames()
throwsP13nControlException
P13nControlException
DEPRECATED As of Portal 8.1.x, use GroupProviderControl.getUsernamesForGroup(groupname)
publicList
getUsernamesForGroup(String
groupname)
throwsP13nControlException
P13nControlException
DEPRECATED As of Portal 8.1.x, use GroupProviderControl.getUsernamesForGroupLimited(groupname, searchExpression, limit)
publicRetrieve a list of users in a group, matching the provided wildcard expressionList
getUsernamesForGroupLimited(String
groupname,String
searchExpression, int limit)
throwsP13nControlException
P13nControlException
DEPRECATED As of Portal 8.1.x, use GroupProviderControl.groupExists(group)
public boolean groupExists(Determines if a group exists in the realm.String
group)
throwsP13nControlException
P13nControlException
public boolean isDeletableGroup(Determine if a group can be deleted. Caller must be in the role of PortalSystemAdminstratorString
groupName)
throwsP13nControlException
P13nControlException
DEPRECATED As of Portal 8.1.x, use GroupProviderControl.isDescendent(ancestor, descendent)
public boolean isDescendent(Determine if one group is a descendent of another. Caller must be in the role of PortalSystemAdminstratorString
ancestor,String
descendent)
throwsP13nControlException
P13nControlException
DEPRECATED As of Portal 8.1.x, use GroupProviderControl.isMemberGroup(groupname, username, recurse)
public boolean isMember(Determine if a user is a member of a group.String
groupname,String
username)
throwsP13nControlException
P13nControlException
DEPRECATED As of Portal 8.1.x, use GroupProviderControl.removeGroup(groupname)
public void removeGroup(Remove a group. This will remove the group from both the realm and the profile tables. Caller must be in the role of PortalSystemAdminstratorString
groupname)
throwsP13nControlException
P13nControlException
DEPRECATED As of Portal 8.1.x, use GroupProviderControl.removeGroupFromGroup(parentGroup, childGroup)
public void removeGroupFromGroup(Remove a child group from a group Caller must be in the role of PortalSystemAdminstratorString
parentGroup,String
childGroup)
throwsP13nControlException
P13nControlException
DEPRECATED As of Portal 8.1.x, use GroupProviderControl.removeUserFromGroup(groupname, username)
public void removeUserFromGroup(Remove a user from a group Caller must be in the role of PortalSystemAdminstratorString
groupname,String
username)
throwsP13nControlException
P13nControlException