Show the list of groups the user owns and can manage
Signed-off-by: Shawn O. Pearce <sop@google.com>
This commit is contained in:
@@ -17,6 +17,8 @@ package com.google.gerrit.client.reviewdb;
|
||||
import com.google.gwtorm.client.Access;
|
||||
import com.google.gwtorm.client.OrmException;
|
||||
import com.google.gwtorm.client.PrimaryKey;
|
||||
import com.google.gwtorm.client.Query;
|
||||
import com.google.gwtorm.client.ResultSet;
|
||||
import com.google.gwtorm.client.SecondaryKey;
|
||||
|
||||
public interface AccountGroupAccess extends
|
||||
@@ -26,4 +28,7 @@ public interface AccountGroupAccess extends
|
||||
|
||||
@SecondaryKey("name")
|
||||
AccountGroup get(AccountGroup.NameKey name) throws OrmException;
|
||||
|
||||
@Query("ORDER BY name")
|
||||
ResultSet<AccountGroup> all() throws OrmException;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user