public class ViewMetacardActionProvider extends AbstractMetacardActionProvider
| Modifier and Type | Field and Description |
|---|---|
static String |
DESCRIPTION |
static String |
TITLE |
| Constructor and Description |
|---|
ViewMetacardActionProvider(String id) |
| Modifier and Type | Method and Description |
|---|---|
protected Action |
createMetacardAction(String actionProviderId,
String title,
String description,
URL url)
Factory method that creates the proper
Action object from the information provided. |
protected URL |
getMetacardActionUrl(String metacardSource,
Metacard metacard)
|
canHandle, canHandleMetacard, getAction, getId, getMetacardAction, toStringpublic static final String TITLE
public static final String DESCRIPTION
public ViewMetacardActionProvider(String id)
protected URL getMetacardActionUrl(String metacardSource, Metacard metacard) throws Exception
AbstractMetacardActionProvidergetMetacardActionUrl in class AbstractMetacardActionProvidermetacardSource - source ID of the Metacardmetacard - Metacard for which a URL needs to be createdURL that will be used to create the ActionException - thrown if the URL couldn't be createdprotected Action createMetacardAction(String actionProviderId, String title, String description, URL url)
AbstractMetacardActionProviderAction object from the information provided.
Must be implemented by sub-classes.createMetacardAction in class AbstractMetacardActionProvideractionProviderId - Action IDtitle - Action titledescription - Action descriptionurl - Action urlAction object. Cannot be null.This work is licensed under a Creative Commons Attribution 4.0 International License.