com.day.cq.wcm.msm.api.ActionManager
instead@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,
boolean autoSave)
Deprecated.
Execute actions found in relationship.
|
void |
executeActions(ResourceResolver resolver,
LiveRelationship relation,
boolean autoSave,
boolean isResetRollout)
Deprecated.
Execute actions found in relationship.
|
ActionConfig |
getActionConfig(Node node,
boolean inherited)
Deprecated.
Returns an ActionConfig object from a resource node.
|
ActionConfig |
getActionConfig(Resource resource,
boolean inherited)
Deprecated.
Returns an ActionConfig object from a resource.
|
java.util.Set<ActionConfig> |
getActionsConfig(Node node,
java.lang.String resourceNodeType,
java.lang.String actionNodeName,
boolean inherited)
Deprecated.
Returns all ActionConfig objects from a node.
|
java.util.Set<ActionConfig> |
getActionsConfig(Resource resource,
java.lang.String resourceNodeType,
java.lang.String actionNodeName,
boolean inherited)
Deprecated.
Returns all ActionConfig objects from a resource.
|
boolean |
isActionUpdated(SlingHttpServletRequest request,
LiveRelationship relation)
Deprecated.
Determines if at least one action config defined in relation has been updated in request.
|
void |
registerAcion(LiveAction action)
Deprecated.
Registers a LiveAction in the ActionManager.
|
void |
unregisterAcion(LiveAction action)
Deprecated.
Unregisters a LiveAction from the ActionManager.
|
void |
writeConfigFromRequest(SlingHttpServletRequest request,
Node actionsNode)
Deprecated.
Write config from request to a node.
|
void registerAcion(LiveAction action)
action
- action to regitervoid unregisterAcion(LiveAction action)
action
- action to unregitervoid executeActions(ResourceResolver resolver, LiveRelationship relation, 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, 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)
ActionConfig getActionConfig(Resource resource, boolean inherited) throws RepositoryException
resource
- base to generate an action configinherited
- Mark action config as inheritedRepositoryException
- occurs while reading the repositoryActionConfig getActionConfig(Node node, boolean inherited) throws RepositoryException
node
- base to generate an action configinherited
- Mark action config as inheritedRepositoryException
- occurs while reading the repositoryjava.util.Set<ActionConfig> getActionsConfig(Resource resource, java.lang.String resourceNodeType, java.lang.String actionNodeName, boolean inherited) throws RepositoryException
resourceNodeType
resource type and reads actions under actionNodeName
child node.resource
- base to generate an action configresourceNodeType
- node type to check on the resourceactionNodeName
- name of node containing actionsinherited
- Mark action config as inheritedRepositoryException
- occurs while reading the repositoryjava.util.Set<ActionConfig> getActionsConfig(Node node, java.lang.String resourceNodeType, java.lang.String actionNodeName, boolean inherited) throws RepositoryException
resourceNodeType
resource type and reads actions under actionNodeName
child node.node
- base to generate an action configresourceNodeType
- node type to check on the resourceactionNodeName
- name of node containing actionsinherited
- Mark action config as inheritedRepositoryException
- occurs while reading the repositoryvoid writeConfigFromRequest(SlingHttpServletRequest request, Node actionsNode) throws WCMException
request
- the requestactionsNode
- the action node to writeWCMException
- if an error occursboolean isActionUpdated(SlingHttpServletRequest request, LiveRelationship relation) throws WCMException
request
- the requestrelation
- live relationshipWCMException
- if an error occurs"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"