public interface LiveAction extends JSONItem
LiveActionFactory
that provide instances of LiveActions set-up with given configuration.
LiveActionFactory
,
RolloutManager
Modifier and Type | Method and Description |
---|---|
void |
execute(ResourceResolver resolver,
LiveRelationship relation,
ActionConfig config,
boolean autoSave)
Deprecated.
|
void |
execute(ResourceResolver resolver,
LiveRelationship relation,
ActionConfig config,
boolean autoSave,
boolean isResetRollout)
Deprecated.
|
void |
execute(Resource source,
Resource target,
LiveRelationship relation,
boolean autoSave,
boolean isResetRollout)
Executes action.
|
java.lang.String |
getName()
Returns name of current action.
|
java.lang.String |
getParameterName()
Deprecated.
since 5.5
|
java.lang.String[] |
getPropertiesNames()
Deprecated.
since 5.5
|
int |
getRank()
Deprecated.
since 5.5 the Rank is defined by the order in the
RolloutConfig |
java.lang.String |
getTitle()
Deprecated.
since 5.5
|
void |
write(JSONWriter out)
Deprecated.
since 5.5
|
java.lang.String getName()
void execute(Resource source, Resource target, LiveRelationship relation, boolean autoSave, boolean isResetRollout) throws WCMException
RolloutManager
.LiveRelationships
that are inactive.source
- The Resource to roll-out. This may bee null
target
- The Resource to receive modification. This may bee null
relation
- LiveRelationship between the two given ResourcesautoSave
- Save modificationsisResetRollout
- True if rollout is run in reset modeWCMException
- if an error occursRolloutManager.rollout(com.day.cq.wcm.msm.api.RolloutManager.RolloutParams)
@Deprecated void execute(ResourceResolver resolver, LiveRelationship relation, ActionConfig config, boolean autoSave) throws WCMException
execute(org.apache.sling.api.resource.Resource, org.apache.sling.api.resource.Resource, LiveRelationship, boolean, boolean)
instead.resolver
- resource resolverrelation
- live relationship concerned by action.config
- action configautoSave
- Save modificationsWCMException
- if an error occursActionManager.executeAction(org.apache.sling.api.resource.ResourceResolver, LiveRelationship, ActionConfig, boolean)
@Deprecated void execute(ResourceResolver resolver, LiveRelationship relation, ActionConfig config, boolean autoSave, boolean isResetRollout) throws WCMException
execute(org.apache.sling.api.resource.Resource, org.apache.sling.api.resource.Resource, LiveRelationship, boolean, boolean)
instead.resolver
- resource resolverrelation
- live relationship concerned by action.config
- action configautoSave
- Save modificationsisResetRollout
- True if rollout is run in reset modeWCMException
- if an error occursActionManager.executeAction(org.apache.sling.api.resource.ResourceResolver, LiveRelationship, ActionConfig, boolean, boolean)
@Deprecated java.lang.String getTitle()
@Deprecated int getRank()
RolloutConfig
@Deprecated java.lang.String[] getPropertiesNames()
@Deprecated java.lang.String getParameterName()
@Deprecated void write(JSONWriter out) throws JSONException
JSONItem
write
in interface JSONItem
out
- json writerJSONException
- if a JSON error occursCopyright © 2010 - 2020 Adobe. All Rights Reserved