public class GetPureRevert extends java.lang.Object implements RestReadView<ChangeResource>
Modifier and Type | Method and Description |
---|---|
PureRevertInfo |
apply(ChangeResource rsrc)
Process the view operation by reading from the resource.
|
void |
setClaimedOriginal(java.lang.String claimedOriginal) |
public void setClaimedOriginal(java.lang.String claimedOriginal)
public PureRevertInfo apply(ChangeResource rsrc) throws ResourceConflictException, java.io.IOException, BadRequestException, AuthException
RestReadView
apply
in interface RestReadView<ChangeResource>
rsrc
- resource to read.BinaryResult
to avoid automatic conversion
to JSON.ResourceConflictException
- the resource state does not permit this view to make the
changes at this time.BadRequestException
- the request was incorrectly specified and cannot be handled by this
view.AuthException
- the client is not permitted to access this view.java.io.IOException