|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.esupportail.portal.channels.CWebdav.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 org.apache.commons.logging.Log |
log
Logger object |
Constructor Summary | |
PortalGroupsManagement()
|
Method Summary | |
static java.util.Vector |
getGroupHierarchy(org.jasig.portal.groups.EntityGroupImpl group)
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 org.apache.commons.logging.Log log
Constructor Detail |
public PortalGroupsManagement()
Method Detail |
public static java.lang.String getGroupName(java.lang.String groupKey) throws org.jasig.portal.groups.GroupsException
groupKey
- the group key
org.jasig.portal.groups.GroupsException
public static java.util.Vector getGroupHierarchy(org.jasig.portal.groups.EntityGroupImpl group) throws org.jasig.portal.groups.GroupsException
group
- the group to explore
org.jasig.portal.groups.GroupsException
private static void recurGroupHierarchy(org.jasig.portal.groups.IGroupMember igm, java.util.Vector v) throws org.jasig.portal.groups.GroupsException
igm
- the group member objectv
- the vector we want to set
org.jasig.portal.groups.GroupsException
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 org.jasig.portal.groups.GroupsException
igm
- a group in its IGroupMember formv
- vector set in recursivity
org.jasig.portal.groups.GroupsException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |