java.lang.Object |
↳ |
com.atlassian.jira.crowd.embedded.ofbiz.OfBizDelegatingMembershipDao |
Class Overview
This class implements the MembershipDao from the Crowd Embedded SPI, but needs to delegate most work to the
internal DAO to avoid circular dependencies with the User & Groupp DAOs.
Summary
Public Methods |
BatchResult<String>
|
addAllUsersToGroup(long directoryId, Collection<String> userNames, String groupName)
|
void
|
addGroupToGroup(long directoryId, String child, String parent)
|
void
|
addUserToGroup(long directoryId, String user, String group)
|
void
|
flushCache()
|
boolean
|
isGroupDirectMember(long directoryId, String childGroup, String parentGroup)
|
boolean
|
isUserDirectMember(long directoryId, String userName, String groupName)
|
void
|
removeGroupFromGroup(long directoryId, String child, String parent)
|
void
|
removeUserFromGroup(long directoryId, String user, String group)
|
<T>
List<T>
|
search(long directoryId, MembershipQuery<T> query)
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
From interface
com.atlassian.crowd.embedded.spi.MembershipDao
BatchResult<String>
|
addAllUsersToGroup(long arg0, Collection<String> arg1, String arg2)
|
void
|
addGroupToGroup(long arg0, String arg1, String arg2)
|
void
|
addUserToGroup(long arg0, String arg1, String arg2)
|
boolean
|
isGroupDirectMember(long arg0, String arg1, String arg2)
|
boolean
|
isUserDirectMember(long arg0, String arg1, String arg2)
|
void
|
removeGroupFromGroup(long arg0, String arg1, String arg2)
|
void
|
removeUserFromGroup(long arg0, String arg1, String arg2)
|
<T>
List<T>
|
search(long arg0, MembershipQuery<T> arg1)
|
|
Public Constructors
public
OfBizDelegatingMembershipDao
(InternalMembershipDao membershipDao, UserDao userDao, GroupDao groupDao)
Public Methods
public
void
addGroupToGroup
(long directoryId, String child, String parent)
public
void
addUserToGroup
(long directoryId, String user, String group)
public
void
flushCache
()
public
boolean
isGroupDirectMember
(long directoryId, String childGroup, String parentGroup)
public
boolean
isUserDirectMember
(long directoryId, String userName, String groupName)
public
void
removeGroupFromGroup
(long directoryId, String child, String parent)
public
void
removeUserFromGroup
(long directoryId, String user, String group)
public
List<T>
search
(long directoryId, MembershipQuery<T> query)