Add transactional getMembers() method to PrivateGroupManager.

This commit is contained in:
akwizgran
2021-01-27 15:12:29 +00:00
committed by Torsten Grote
parent c62a57e8b2
commit f2eca0fdb6
2 changed files with 33 additions and 28 deletions

View File

@@ -129,6 +129,12 @@ public interface PrivateGroupManager {
*/
Collection<GroupMember> getMembers(GroupId g) throws DbException;
/**
* Returns all members of the given private group.
*/
Collection<GroupMember> getMembers(Transaction txn, GroupId g)
throws DbException;
/**
* Returns true if the given author is a member of the given private group.
*/