Package com.day.cq.wcm.api.msm
Interface LiveAction
-
@Deprecated public interface LiveAction
Deprecated.since 5.3 useLiveAction
insteadRepresent an rollout action. Action is executed byRolloutManager
through theActionManager
.- See Also:
RolloutManager
,ActionManager
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description void
execute(ResourceResolver resolver, LiveRelationship relation, ActionConfig config, boolean autoSave)
Deprecated.Executes action.void
execute(ResourceResolver resolver, LiveRelationship relation, ActionConfig config, boolean autoSave, boolean isResetRollout)
Deprecated.Executes action.java.lang.String
getName()
Deprecated.Returns name of current action.java.lang.String
getParameterName()
Deprecated.Returns the global parameter name of current action.java.lang.String[]
getPropertiesNames()
Deprecated.Returns names of the properties defined for this action.int
getRank()
Deprecated.Returns execution rank of the action: actions are executed by ascending ranks
-
-
-
Method Detail
-
getName
java.lang.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:
ActionManager.executeActions(org.apache.sling.api.resource.ResourceResolver, LiveRelationship, boolean)
,ActionManager.executeAction(org.apache.sling.api.resource.ResourceResolver, LiveRelationship, ActionConfig, boolean)
-
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:
ActionManager.executeActions(org.apache.sling.api.resource.ResourceResolver, LiveRelationship, boolean, boolean)
,ActionManager.executeAction(org.apache.sling.api.resource.ResourceResolver, LiveRelationship, ActionConfig, boolean, boolean)
-
getRank
int getRank()
Deprecated.Returns execution rank of the action: actions are executed by ascending ranks- Returns:
- action rank
-
getPropertiesNames
java.lang.String[] getPropertiesNames()
Deprecated.Returns names of the properties defined for this action.- Returns:
- array of parameters names
-
getParameterName
java.lang.String getParameterName()
Deprecated.Returns the global parameter name of current action. Parameter name is used in requests.- Returns:
- action parameter name
-
-