|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.esupportail.portal.channels.CStockage.userManagement.PortalGroupsManagement
Id: PortalGroupsManagement.java,v 1.0 15 oct. 2004 Copyright (c) 2004 Esup Portail (www.esup-portail.org) Classes: PortalGroupsManagement Original Author: Yohan Colmant Manage the portal groups access. For example, if we want to know in which groups a specified user is.
Field Summary | |
protected static Log |
log
Logger object |
Constructor Summary | |
PortalGroupsManagement()
|
Method Summary | |
static java.util.Vector |
getGroupHierarchy(org.jasig.portal.groups.IEntityGroup group)
Get this group hierarchy |
static java.util.Vector |
getGroupHierarchy(java.lang.String groupKey)
Get this group hierarchy |
static java.lang.String |
getGroupName(java.lang.String groupKey)
Get the display name for the group key specified in parameter |
private static void |
getRecurContainingGroups(org.jasig.portal.groups.IGroupMember igm,
java.util.Vector v)
Get recursively the groups contening a given group, until the root element |
static java.util.Vector |
getUserGroupsKeys(java.lang.String userLogin)
Get the current user groups in the portal |
private static void |
recurGroupHierarchy(org.jasig.portal.groups.IGroupMember igm,
java.util.Vector v)
Set recursivly the group hierarchy |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static final Log log
Constructor Detail |
public PortalGroupsManagement()
Method Detail |
public static java.lang.String getGroupName(java.lang.String groupKey) throws ServerException
groupKey
- the group key
ServerException
public static java.util.Vector getGroupHierarchy(org.jasig.portal.groups.IEntityGroup group) throws ServerException
group
- the group to explore
ServerException
public static java.util.Vector getGroupHierarchy(java.lang.String groupKey) throws ServerException
groupKey
- the key of the group to explore
ServerException
private static void recurGroupHierarchy(org.jasig.portal.groups.IGroupMember igm, java.util.Vector v) throws ServerException
igm
- the group member objectv
- the vector we want to set
ServerException
public static java.util.Vector getUserGroupsKeys(java.lang.String userLogin)
userLogin
- the login of the user
private static void getRecurContainingGroups(org.jasig.portal.groups.IGroupMember igm, java.util.Vector v) throws ServerException
igm
- a group in its IGroupMember formv
- vector set in recursivity
ServerException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |