Package com.day.cq.wcm.msm.api
Interface ActionManager
Deprecated.
Provides a service to manage live actions
-
Method Summary
Modifier and TypeMethodDescriptionvoidexecuteAction(ResourceResolver resolver, LiveRelationship relation, ActionConfig config, boolean autoSave) Deprecated.Execute action defined by config.voidexecuteAction(ResourceResolver resolver, LiveRelationship relation, ActionConfig config, boolean autoSave, boolean isResetRollout) Deprecated.Execute action defined by config.voidexecuteActions(ResourceResolver resolver, LiveRelationship relation, RolloutManager.Trigger trigger, boolean autoSave) Deprecated.Execute actions found in relationship.voidexecuteActions(ResourceResolver resolver, LiveRelationship relation, RolloutManager.Trigger trigger, boolean autoSave, boolean isResetRollout) Deprecated.Execute actions found in relationship.Deprecated.getActionsConfig(Node root) Deprecated.Returns a set ofActionConfigstore under the defined root.getActionsConfig(Resource root) Deprecated.Returns a set ofActionConfigstore under the defined root.Deprecated.Returns all registred actions.
-
Method Details
-
getRegistredActions
Map<String,LiveAction> getRegistredActions()Deprecated.Returns all registred actions.- Returns:
- map of pairs (action name, LiveAction).
-
getAction
Deprecated. -
executeActions
void executeActions(ResourceResolver resolver, LiveRelationship relation, RolloutManager.Trigger trigger, boolean autoSave) throws WCMException Deprecated.Execute actions found in relationship. Only registered actions will be executed.- Parameters:
resolver- resource resolverrelation- live relationshipautoSave- Save modifications- Throws:
WCMException- occurs if one action is not registered or if action execution throws an exception- See Also:
-
executeActions
void executeActions(ResourceResolver resolver, LiveRelationship relation, RolloutManager.Trigger trigger, boolean autoSave, boolean isResetRollout) throws WCMException Deprecated.Execute actions found in relationship. Only registered actions will be executed.- Parameters:
resolver- resource resolverrelation- live relationshipautoSave- Save modificationsisResetRollout- True if rollout is run in reset mode- Throws:
WCMException- occurs if one action is not registered or if action execution throws an exception- See Also:
-
executeAction
void executeAction(ResourceResolver resolver, LiveRelationship relation, ActionConfig config, boolean autoSave) throws WCMException Deprecated.Execute action defined by config. Note that actions found in relationship are not executed. Only a registered action will be executed.- Parameters:
resolver- resource resolverrelation- live relationshipconfig- defines actions to executeautoSave- Save modifications- Throws:
WCMException- occurs if one action is not registered or if action execution throws an exception- See Also:
-
executeAction
void executeAction(ResourceResolver resolver, LiveRelationship relation, ActionConfig config, boolean autoSave, boolean isResetRollout) throws WCMException Deprecated.Execute action defined by config. Note that actions found in relationship are not executed. Only a registered action will be executed.- Parameters:
resolver- resource resolverrelation- live relationshipconfig- defines actions to executeautoSave- Save modificationsisResetRollout- True if rollout is run in reset mode- Throws:
WCMException- occurs if one action is not registered or if action execution throws an exception- See Also:
-
getActionsConfig
Deprecated.Returns a set ofActionConfigstore under the defined root.- Parameters:
root- The root to read the action configs- Returns:
- A set of
ActionConfig, or an empty set if not config found - Throws:
RepositoryException- may occur while reading the repository.
-
getActionsConfig
Deprecated.Returns a set ofActionConfigstore under the defined root.- Parameters:
root- The root to read the action configs- Returns:
- A set of
ActionConfig, or an empty set if not config found - Throws:
RepositoryException- may occur while reading the repository.
-
RolloutConfig