public static class ChangeEdits.Create extends java.lang.Object implements RestCollectionCreateView<ChangeResource,ChangeEditResource,ChangeEdits.Put.Input>
Modifier and Type | Method and Description |
---|---|
Response<?> |
apply(ChangeResource resource,
IdString id,
ChangeEdits.Put.Input input)
Process the view operation by creating the resource.
|
public Response<?> apply(ChangeResource resource, IdString id, ChangeEdits.Put.Input input) throws AuthException, ResourceConflictException, BadRequestException, java.io.IOException, PermissionBackendException
RestCollectionCreateView
apply
in interface RestCollectionCreateView<ChangeResource,ChangeEditResource,ChangeEdits.Put.Input>
resource
- parent resource of the resource that should be createdinput
- input after parsing from request.BinaryResult
to avoid automatic conversion
to JSON.AuthException
ResourceConflictException
BadRequestException
java.io.IOException
PermissionBackendException