public class Unignore extends java.lang.Object implements RestModifyView<ChangeResource,Input>, UiAction<ChangeResource>
UiAction.Description
Modifier and Type | Method and Description |
---|---|
Response<java.lang.String> |
apply(ChangeResource rsrc,
Input input)
Process the view operation by altering the resource.
|
UiAction.Description |
getDescription(ChangeResource rsrc)
Get the description of the action customized for the resource.
|
public UiAction.Description getDescription(ChangeResource rsrc)
UiAction
getDescription
in interface UiAction<ChangeResource>
rsrc
- the resource the view would act upon if the action is invoked by the client.
Information from the resource can be used to customize the description.id
and method
properties. If null the action will assumed unavailable and not presented. This is usually
the same as setVisible(false)
.public Response<java.lang.String> apply(ChangeResource rsrc, Input input) throws com.google.gwtorm.server.OrmException, StarredChangesUtil.IllegalLabelException
RestModifyView
apply
in interface RestModifyView<ChangeResource,Input>
rsrc
- resource to modify.input
- input after parsing from request.BinaryResult
to avoid automatic conversion
to JSON.com.google.gwtorm.server.OrmException
StarredChangesUtil.IllegalLabelException