QuickActionDefaults Class
Represents an abstract Apex class that provides the context for running the standard Email Action on Case Feed and the container of the Email Message fields for the action payload. You can override the target fields before the standard Email Action is rendered.
You cannot extend this abstract class. You can use the getter methods when using it in the context of QuickAction.QuickActionDefaultsHandler. Salesforce provides a class that extends this class (See QuickAction.SendEmailQuickActionDefaults.)
The following are methods for QuickActionDefaults.
-
Returns the name of the standard Email Action on Case Feed (Case.Email).
-
Returns the type of the standard Email Action on Case Feed (Email).
-
The ID of the context related to the standard Email Action on Case Feed (Case ID).
-
The target object of the standard Email Action on Case Feed (EmailMessage).
Returns the name of the standard Email Action on Case Feed (Case.Email).
public String getActionName()
Type: String
Returns the type of the standard Email Action on Case Feed (Email).
public String getActionType()
Type: String
The ID of the context related to the standard Email Action on Case Feed (Case ID).
public Id getContextId()
Type: Id
The target object of the standard Email Action on Case Feed (EmailMessage).
public SObject getTargetSObject()
Type: SObject