public interface UiAction<R extends RestResource> extends RestView<R>
Modifier and Type | Interface and Description |
---|---|
static class |
UiAction.Description
Describes an action invokable through the web interface.
|
Modifier and Type | Method and Description |
---|---|
UiAction.Description |
getDescription(R resource)
Get the description of the action customized for the resource.
|
UiAction.Description getDescription(R resource)
resource
- 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)
.