com.atlassian.crowd.integration.atlassianuser
Class UserGroupSnapshot
java.lang.Object
com.atlassian.crowd.integration.atlassianuser.UserGroupSnapshot
public class UserGroupSnapshot
- extends java.lang.Object
Constructor Summary |
UserGroupSnapshot()
|
UserGroupSnapshot(java.util.Collection<com.atlassian.user.User> users)
|
UserGroupSnapshot(java.util.Collection<com.atlassian.user.User> users,
java.util.Map<java.lang.String,java.util.Collection<java.lang.String>> groupMembers)
|
UserGroupSnapshot(java.util.Collection<com.atlassian.user.User> users,
java.util.Map<java.lang.String,java.util.Collection<java.lang.String>> groupMembers,
java.util.Map<java.lang.String,java.util.Collection<java.lang.String>> groupChildGroups)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserGroupSnapshot
public UserGroupSnapshot()
UserGroupSnapshot
public UserGroupSnapshot(java.util.Collection<com.atlassian.user.User> users)
UserGroupSnapshot
public UserGroupSnapshot(java.util.Collection<com.atlassian.user.User> users,
java.util.Map<java.lang.String,java.util.Collection<java.lang.String>> groupMembers)
UserGroupSnapshot
public UserGroupSnapshot(java.util.Collection<com.atlassian.user.User> users,
java.util.Map<java.lang.String,java.util.Collection<java.lang.String>> groupMembers,
java.util.Map<java.lang.String,java.util.Collection<java.lang.String>> groupChildGroups)
getUser
public com.atlassian.user.User getUser(java.lang.String username)
getUserNames
public java.util.Collection<java.lang.String> getUserNames()
getUsers
public java.util.Collection<com.atlassian.user.User> getUsers()
copy
public static com.atlassian.user.User copy(com.atlassian.user.User u)
getGroup
public com.atlassian.user.Group getGroup(java.lang.String groupName)
getGroups
public java.util.Collection<com.atlassian.user.Group> getGroups()
getGroups
public java.util.Collection<com.atlassian.user.Group> getGroups(com.atlassian.user.User user)
getMemberNames
public java.util.Collection<java.lang.String> getMemberNames(com.atlassian.user.Group group)
hasMembership
public boolean hasMembership(com.atlassian.user.Group group,
com.atlassian.user.User user)
withUser
public UserGroupSnapshot withUser(java.lang.String name)
withoutUser
public UserGroupSnapshot withoutUser(java.lang.String name)
withUser
public UserGroupSnapshot withUser(com.atlassian.user.User user)
withGroup
public UserGroupSnapshot withGroup(java.lang.String groupName)
withoutGroup
public UserGroupSnapshot withoutGroup(java.lang.String groupName)
withGroupMembership
public UserGroupSnapshot withGroupMembership(com.atlassian.user.Group group,
com.atlassian.user.User user)
withoutGroupMembership
public UserGroupSnapshot withoutGroupMembership(com.atlassian.user.Group group,
com.atlassian.user.User user)
Copyright © 2012 Atlassian. All Rights Reserved.