Get the description of the action customized for the resource.
Parameters:
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.
Returns:
a description of the action. The server will populate the id and method
properties. If null the action will assumed unavailable and not presented. This is usually
the same as setVisible(false).