com.atlassian.user.impl.memory.provider
Class MemoryProvider
java.lang.Object
com.atlassian.user.impl.memory.provider.MemoryProvider
- public class MemoryProvider
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MemoryProvider
public MemoryProvider()
getUserNames
public Pager getUserNames()
getUsers
public Pager getUsers()
getUser
public User getUser(java.lang.String username)
getGroups
public Pager getGroups()
getGroups
public Pager getGroups(User user)
addGroup
public void addGroup(Group group)
throws EntityException
- Throws:
EntityException
removeGroup
public void removeGroup(Group group)
throws EntityException,
java.lang.IllegalArgumentException
- Throws:
EntityException
java.lang.IllegalArgumentException
getGroup
public Group getGroup(java.lang.String groupName)
addUser
public void addUser(User user)
removeUser
public void removeUser(User user)
throws EntityException
- Throws:
EntityException
addMembership
public void addMembership(Group group,
User user)
- This might have been done at a higher level but it will generally be done at the provider level,
for non-memory implementations. It's good practice to situate it here, in the prototype.
removeMembership
public void removeMembership(Group group,
User user)
getMemberNames
public Pager getMemberNames(Group group)
getExternalMembersNames
public Pager getExternalMembersNames(Group group)
getExternalMemberNames
public Pager getExternalMemberNames(Group group)
getExternalMembers
public Pager getExternalMembers(Group group)
getLocalMembersNames
public Pager getLocalMembersNames(Group group)
getLocalMemberNames
public Pager getLocalMemberNames(Group group)
getLocalMembers
public Pager getLocalMembers(Group group)
hasMembership
public boolean hasMembership(Group group,
User user)
Copyright © 2005-2007 Atlassian Software Systems Pty Ltd. All Rights Reserved.