Interface ObjectLifecycleUserActionMetadata
public interface ObjectLifecycleUserActionMetadata
Provides methods to retrieve metadata fields for a specific object lifecycle user action.
-
Method Summary
Modifier and TypeMethodDescriptionRetrieves the fully qualified action name, in the format of:Objectaction.vobjectName.actionName
, orObjectlifecyclestateuseraction.vobjectName.stateName.actionName
.getLabel()
Retrieves the label value, in the current user's language, of this object lifecycle user action.getName()
Retrieves the component name of this object lifecycle user action.For object actions, retrieves the fully qualified Java class name of the configured RecordAction.getType()
Retrieves the type of this object lifecycle user action, or null if the action is an object action configured on all lifecycle states.Retrieves the user action name of this object lifecycle user action.Returns the name of the workflow associated with this user action, if this is a workflow user action.
-
Method Details
-
getLabel
String getLabel()Retrieves the label value, in the current user's language, of this object lifecycle user action. This value is the label that is visible to the user in the UI.- Returns:
- the non-null object lifecycle user action label.
-
getName
String getName()Retrieves the component name of this object lifecycle user action. e.g.Objectlifecyclestateuseraction
orObjectaction
.- Returns:
- the non-null object lifecycle user action component name.
-
getUserActionName
String getUserActionName()Retrieves the user action name of this object lifecycle user action. e.g.change_state_to_active_useraction__c
- Returns:
- the object lifecycle user action name.
-
getType
String getType()Retrieves the type of this object lifecycle user action, or null if the action is an object action configured on all lifecycle states. e.g.LIFECYCLE_RUN_WORKFLOW_ACTION
orLIFECYCLE_STATE_CHANGE_ACTION
for a run workflow or state change user action, orObjectaction.object__c.action__c
for an object action configured on a particular state.- Returns:
- the object lifecycle user action type, or null if the action is an object action configured on all lifecycle states.
-
getWorkflowName
String getWorkflowName()Returns the name of the workflow associated with this user action, if this is a workflow user action.- Returns:
- the name of the workflow associated with this user action, or null if this is not a workflow user action.
-
getRecordActionClassName
String getRecordActionClassName()For object actions, retrieves the fully qualified Java class name of the configured RecordAction.- Returns:
- the fully qualified Java class name of the configured RecordAction, or null if this is not an object action.
-
getFullyQualifiedActionName
String getFullyQualifiedActionName()Retrieves the fully qualified action name, in the format of:Objectaction.vobjectName.actionName
, orObjectlifecyclestateuseraction.vobjectName.stateName.actionName
.- Returns:
- the fully qualified action name.
-