RolloutConfig
@Deprecated
public interface ActionManager
Modifier and Type | Method and Description |
---|---|
void |
executeAction(ResourceResolver resolver,
LiveRelationship relation,
ActionConfig config,
boolean autoSave)
Deprecated.
Execute action defined by config.
|
void |
executeAction(ResourceResolver resolver,
LiveRelationship relation,
ActionConfig config,
boolean autoSave,
boolean isResetRollout)
Deprecated.
Execute action defined by config.
|
void |
executeActions(ResourceResolver resolver,
LiveRelationship relation,
RolloutManager.Trigger trigger,
boolean autoSave)
Deprecated.
Execute actions found in relationship.
|
void |
executeActions(ResourceResolver resolver,
LiveRelationship relation,
RolloutManager.Trigger trigger,
boolean autoSave,
boolean isResetRollout)
Deprecated.
Execute actions found in relationship.
|
LiveAction |
getAction(java.lang.String name)
Deprecated.
|
java.util.Set<ActionConfig> |
getActionsConfig(Node root)
Deprecated.
Returns a set of
ActionConfig store under the defined root. |
java.util.Set<ActionConfig> |
getActionsConfig(Resource root)
Deprecated.
Returns a set of
ActionConfig store under the defined root. |
java.util.Map<java.lang.String,LiveAction> |
getRegistredActions()
Deprecated.
Returns all registred actions.
|
java.util.Map<java.lang.String,LiveAction> getRegistredActions()
LiveAction getAction(java.lang.String name)
void executeActions(ResourceResolver resolver, LiveRelationship relation, RolloutManager.Trigger trigger, boolean autoSave) throws WCMException
resolver
- resource resolverrelation
- live relationshipautoSave
- Save modificationsWCMException
- occurs if one action is not registered or if action execution throws an exceptionLiveAction.execute(org.apache.sling.api.resource.ResourceResolver, LiveRelationship, ActionConfig, boolean)
void executeActions(ResourceResolver resolver, LiveRelationship relation, RolloutManager.Trigger trigger, boolean autoSave, boolean isResetRollout) throws WCMException
resolver
- resource resolverrelation
- live relationshipautoSave
- Save modificationsisResetRollout
- True if rollout is run in reset modeWCMException
- occurs if one action is not registered or if action execution throws an exceptionLiveAction.execute(org.apache.sling.api.resource.ResourceResolver, LiveRelationship, ActionConfig, boolean)
void executeAction(ResourceResolver resolver, LiveRelationship relation, ActionConfig config, boolean autoSave) throws WCMException
resolver
- resource resolverrelation
- live relationshipconfig
- defines actions to executeautoSave
- Save modificationsWCMException
- occurs if one action is not registered or if action execution throws an exceptionLiveAction.execute(org.apache.sling.api.resource.ResourceResolver, LiveRelationship, ActionConfig, boolean)
void executeAction(ResourceResolver resolver, LiveRelationship relation, ActionConfig config, boolean autoSave, boolean isResetRollout) throws WCMException
resolver
- resource resolverrelation
- live relationshipconfig
- defines actions to executeautoSave
- Save modificationsisResetRollout
- True if rollout is run in reset modeWCMException
- occurs if one action is not registered or if action execution throws an exceptionLiveAction.execute(org.apache.sling.api.resource.ResourceResolver, LiveRelationship, ActionConfig, boolean)
java.util.Set<ActionConfig> getActionsConfig(Resource root) throws RepositoryException
ActionConfig
store under the defined root.root
- The root to read the action configsActionConfig
, or an empty set if not config foundRepositoryException
- may occur while reading the repository.java.util.Set<ActionConfig> getActionsConfig(Node root) throws RepositoryException
ActionConfig
store under the defined root.root
- The root to read the action configsActionConfig
, or an empty set if not config foundRepositoryException
- may occur while reading the repository.Copyright © 2010 - 2020 Adobe. All Rights Reserved