public class PutDescription extends RetryingRestModifyView<RevisionResource,DescriptionInput,Response<java.lang.String>> implements UiAction<RevisionResource>
UiAction.Description
Modifier and Type | Method and Description |
---|---|
protected Response<java.lang.String> |
applyImpl(BatchUpdate.Factory updateFactory,
RevisionResource rsrc,
DescriptionInput input) |
UiAction.Description |
getDescription(RevisionResource rsrc)
Get the description of the action customized for the resource.
|
apply
protected Response<java.lang.String> applyImpl(BatchUpdate.Factory updateFactory, RevisionResource rsrc, DescriptionInput input) throws UpdateException, RestApiException, PermissionBackendException
applyImpl
in class RetryingRestModifyView<RevisionResource,DescriptionInput,Response<java.lang.String>>
UpdateException
RestApiException
PermissionBackendException
public UiAction.Description getDescription(RevisionResource rsrc)
UiAction
getDescription
in interface UiAction<RevisionResource>
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)
.