Package com.veeva.vault.sdk.api.document
Interface HyperlinkAction
- All Known Subinterfaces:
HyperlinkActionGoToPage,HyperlinkActionGoToPath,HyperlinkActionJavascript,HyperlinkActionUrl
public interface HyperlinkAction
Represents an action that can be performed when a user clicks on a rendition's link or bookmark.
-
Method Summary
Modifier and TypeMethodDescriptiongetType()Retrieves the type of the action.<T extends HyperlinkAction>
TgetTypedAction(Class<T> actionClass) Retrieves a subclass ofHyperlinkAction.
-
Method Details
-
getType
HyperlinkActionType getType()Retrieves the type of the action.- Returns:
- the
HyperlinkActionType
-
getTypedAction
Retrieves a subclass ofHyperlinkAction. This allows you to retrieve type-specific attributes of the given action. For example,HyperlinkActionGoToPage.- Parameters:
actionClass- a subclass ofHyperlinkAction- Returns:
- The action typed as the subclass
-