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:
Shawn O. Pearce
2008-12-30 08:55:40 -08:00
parent 9a7a375f79
commit ebb6378cac
7 changed files with 177 additions and 9 deletions

View File

@@ -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;
}