Package com.day.cq.wcm.api.msm
Interface LiveAction
Deprecated.
Represent an rollout action. Action is executed by
RolloutManager through the ActionManager.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(ResourceResolver resolver, LiveRelationship relation, ActionConfig config, boolean autoSave) Deprecated.Executes action.voidexecute(ResourceResolver resolver, LiveRelationship relation, ActionConfig config, boolean autoSave, boolean isResetRollout) Deprecated.Executes action.getName()Deprecated.Returns name of current action.Deprecated.Returns the global parameter name of current action.String[]Deprecated.Returns names of the properties defined for this action.intgetRank()Deprecated.Returns execution rank of the action: actions are executed by ascending ranks
-
Method Details
-
getName
String getName()Deprecated.Returns name of current action. Name is used to persist action in the repository.- Returns:
- action name
-
execute
void execute(ResourceResolver resolver, LiveRelationship relation, ActionConfig config, boolean autoSave) throws WCMException Deprecated.Executes action. Is called by the Rollout Manager.- Parameters:
resolver- resource resolverrelation- live relationship concerned by action.config- action configautoSave- Save modifications- Throws:
WCMException- if an error occurs- See Also:
-
execute
void execute(ResourceResolver resolver, LiveRelationship relation, ActionConfig config, boolean autoSave, boolean isResetRollout) throws WCMException Deprecated.Executes action. Is called by the Rollout Manager.- Parameters:
resolver- resource resolverrelation- live relationship concerned by action.config- action configautoSave- Save modificationsisResetRollout- True if rollout is run in reset mode- Throws:
WCMException- if an error occurs- See Also:
-
getRank
int getRank()Deprecated.Returns execution rank of the action: actions are executed by ascending ranks- Returns:
- action rank
-
getPropertiesNames
String[] getPropertiesNames()Deprecated.Returns names of the properties defined for this action.- Returns:
- array of parameters names
-
getParameterName
String getParameterName()Deprecated.Returns the global parameter name of current action. Parameter name is used in requests.- Returns:
- action parameter name
-
LiveActioninstead