Class StarredChanges.Create
- java.lang.Object
-
- com.google.gerrit.server.restapi.account.StarredChanges.Create
-
- All Implemented Interfaces:
RestCollectionCreateView<AccountResource,AccountResource.StarredChange,StarredChanges.EmptyInput>
,RestCollectionView<AccountResource,AccountResource.StarredChange,StarredChanges.EmptyInput>
,RestView<AccountResource.StarredChange>
- Enclosing class:
- StarredChanges
public static class StarredChanges.Create extends Object implements RestCollectionCreateView<AccountResource,AccountResource.StarredChange,StarredChanges.EmptyInput>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Response<?>
apply(AccountResource rsrc, IdString id, StarredChanges.EmptyInput in)
Process the view operation by creating the resource.
-
-
-
Method Detail
-
apply
public Response<?> apply(AccountResource rsrc, IdString id, StarredChanges.EmptyInput in) throws RestApiException, com.google.gwtorm.server.OrmException, IOException
Description copied from interface:RestCollectionCreateView
Process the view operation by creating the resource.- Specified by:
apply
in interfaceRestCollectionCreateView<AccountResource,AccountResource.StarredChange,StarredChanges.EmptyInput>
- Parameters:
rsrc
- parent resource of the resource that should be createdin
- input after parsing from request.- Returns:
- result to return to the client. Use
BinaryResult
to avoid automatic conversion to JSON. - Throws:
RestApiException
- if the resource creation is rejectedcom.google.gwtorm.server.OrmException
IOException
-
-