public interface RolloutManager
| Modifier and Type | Interface and Description |
|---|---|
static class |
RolloutManager.RolloutParams
Parameters for rollouts, with default values
|
static interface |
RolloutManager.RolloutProgress
Used to report ongoing progress of a rollout
|
static class |
RolloutManager.Trigger
Trigger type that defines when a rollout should happen.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isExcludedNode(Node node)
|
boolean |
isExcludedNodeType(java.lang.String nodeType)
Returns true if a
NodeType
is configured as excluded in the RolloutManager configuration |
boolean |
isExcludedPageProperty(java.lang.String propertyName)
Returns if a property is defined as excluded in the
RolloutManager configuration for a page. |
boolean |
isExcludedParagraphProperty(java.lang.String propertyName)
Returns if a property is defined as excluded in the
RolloutManager configuration for a paragraph. |
boolean |
isExcludedProperty(boolean isPage,
java.lang.String propertyName)
Returns if a property is defined as excluded in the
RolloutManager configuration. |
boolean |
isExcludedProperty(java.lang.String propertyName)
Deprecated.
Use #isExcludedPageProperty instead.
|
boolean |
isReservedProperty(java.lang.String propertyName)
Returns if a property is a MSM reserved property
|
void |
rollout(ResourceResolver resolver,
LiveRelationship relation,
boolean reset)
Rollout the content for one relation ship.
|
void |
rollout(ResourceResolver resolver,
LiveRelationship relation,
boolean reset,
boolean autoSave)
Rollout the content for one relation ship.
|
void |
rollout(RolloutManager.RolloutParams params)
Execute a rollout on all live copies of the
main page. |
void |
updateRolloutInfo(Node node,
boolean deepUpdate,
boolean autoSave)
Update rollout info on the
node. |
void rollout(RolloutManager.RolloutParams params) throws WCMException
main page.params - combined rollout parametersWCMException - when rollout failsvoid rollout(ResourceResolver resolver, LiveRelationship relation, boolean reset) throws WCMException
resolver - resource resolverrelation - relation to rolloutreset - if true rollout is run in reset mode, Live Copy is completely resetWCMException - if an error during this operation occurs.void rollout(ResourceResolver resolver, LiveRelationship relation, boolean reset, boolean autoSave) throws WCMException
resolver - resource resolverrelation - relation to rolloutreset - if true rollout is run in reset mode, Live Copy is completely resetautoSave - if true session is saved once the rollout is finishedWCMException - if an error during this operation occurs.void updateRolloutInfo(Node node, boolean deepUpdate, boolean autoSave) throws WCMException
node. To use after a rollout operation.node - Node to updatedeepUpdate - Children of the node can be updated by setting
deepUpdate to true.autoSave - Save modificationsWCMException - if an error during this operation occurs.boolean isExcludedProperty(java.lang.String propertyName)
RolloutManager configuration.
Excluded properties include reserved properties.propertyName - repository property name.boolean isExcludedProperty(boolean isPage,
java.lang.String propertyName)
RolloutManager configuration.
If isPage is true, checks in page exclusion list. Otherwise, check in paragraph exclusion list
Excluded properties include reserved properties.isPage - Page propertypropertyName - repository property name.boolean isExcludedPageProperty(java.lang.String propertyName)
RolloutManager configuration for a page.
Excluded properties include reserved properties.propertyName - repository property name.boolean isExcludedParagraphProperty(java.lang.String propertyName)
RolloutManager configuration for a paragraph.
Excluded properties include reserved properties.propertyName - repository property name.boolean isExcludedNodeType(java.lang.String nodeType)
NodeType
is configured as excluded in the RolloutManager configurationnodeType - name of
the Repository NodeType.boolean isExcludedNode(Node node) throws RepositoryException
Node will not take part in a
roll out.Node's PrimaryNodeType or one of
its mixin NodeTypes is excluded,
this method must return true.protected Nodesnode - Node to check.RepositoryException - if an read/write error during this operation occurs.isExcludedNodeType(String)boolean isReservedProperty(java.lang.String propertyName)
propertyName - repository property name.Copyright © 2010 - 2023 Adobe. All Rights Reserved