|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.crowd.util.NestingHelper
public class NestingHelper
Encapsulates nasty logic related to making sure that all membership information returned to client applications is nesting-aware. The methods are named to match where they're called from in the GroupManager & GroupMembershipsManager.
Takes care of gettting information in & out of the caches.
Constructor Summary | |
---|---|
NestingHelper()
|
Method Summary | |
---|---|
static java.util.List |
getAllGroupNames(SOAPNestableGroup[] allGroups,
BasicCache cache)
Takes a list of all groups, along with their direct children, and returns a list of group names. |
static java.util.List |
getAllGroupsForUser(java.util.List directGroups,
BasicCache cache)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NestingHelper()
Method Detail |
---|
public static java.util.List getAllGroupNames(SOAPNestableGroup[] allGroups, BasicCache cache)
GroupMembershipManager.getMemberships(String)
.
allGroups
- The result of a call to SecurityServerClient.findAllGroupRelationships()
.cache
- The GroupCache to add the name & relationship data to.
public static java.util.List getAllGroupsForUser(java.util.List directGroups, BasicCache cache)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |