public class ListMembers extends java.lang.Object implements RestReadView<GroupResource>
Modifier | Constructor and Description |
---|---|
protected |
ListMembers(GroupCache groupCache,
GroupDetailFactory.Factory groupDetailFactory,
AccountLoader.Factory accountLoaderFactory) |
Modifier and Type | Method and Description |
---|---|
java.util.List<AccountInfo> |
apply(AccountGroup.UUID groupId) |
java.util.List<AccountInfo> |
apply(AccountGroup group) |
java.util.List<AccountInfo> |
apply(GroupResource resource)
Process the view operation by reading from the resource.
|
ListMembers |
setRecursive(boolean recursive) |
@Inject protected ListMembers(GroupCache groupCache, GroupDetailFactory.Factory groupDetailFactory, AccountLoader.Factory accountLoaderFactory)
public ListMembers setRecursive(boolean recursive)
public java.util.List<AccountInfo> apply(GroupResource resource) throws MethodNotAllowedException, com.google.gwtorm.server.OrmException
RestReadView
apply
in interface RestReadView<GroupResource>
resource
- resource to read.BinaryResult
to avoid automatic conversion
to JSON.MethodNotAllowedException
com.google.gwtorm.server.OrmException
public java.util.List<AccountInfo> apply(AccountGroup group) throws com.google.gwtorm.server.OrmException
com.google.gwtorm.server.OrmException
public java.util.List<AccountInfo> apply(AccountGroup.UUID groupId) throws com.google.gwtorm.server.OrmException
com.google.gwtorm.server.OrmException