public class PutProject extends java.lang.Object implements RestModifyView<ProjectResource,ProjectInput>
Constructor and Description |
---|
PutProject() |
Modifier and Type | Method and Description |
---|---|
Response<?> |
apply(ProjectResource resource,
ProjectInput input)
Process the view operation by altering the resource.
|
public Response<?> apply(ProjectResource resource, ProjectInput input) throws ResourceConflictException
RestModifyView
apply
in interface RestModifyView<ProjectResource,ProjectInput>
resource
- resource to modify.input
- input after parsing from request.BinaryResult
to avoid automatic conversion
to JSON.ResourceConflictException
- the resource state does not permit this view to make the
changes at this time.