public class PutBranch extends java.lang.Object implements RestModifyView<BranchResource,BranchInput>
Constructor and Description |
---|
PutBranch() |
Modifier and Type | Method and Description |
---|---|
BranchInfo |
apply(BranchResource rsrc,
BranchInput input)
Process the view operation by altering the resource.
|
public BranchInfo apply(BranchResource rsrc, BranchInput input) throws ResourceConflictException
RestModifyView
apply
in interface RestModifyView<BranchResource,BranchInput>
rsrc
- 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.