Package com.day.cq.wcm.api.msm
Interface RolloutManager
Deprecated.
Provides a service for managing MSM rollouts.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumDeprecated.Trigger type that defines when a rollout should happen. -
Method Summary
Modifier and TypeMethodDescriptionbooleanisExcludedNode(Node node) Deprecated.Returns if one of the node types or mixins is defined as excluded in theRolloutManagerconfigurationbooleanisExcludedNodeType(String nodeType) Deprecated.Returns if a node type is defined as excluded in theRolloutManagerconfigurationbooleanisExcludedPageProperty(String propertyName) Deprecated.Returns if a property is defined as excluded in theRolloutManagerconfiguration for a page.booleanisExcludedParagraphProperty(String propertyName) Deprecated.Returns if a property is defined as excluded in theRolloutManagerconfiguration for a paragraph.booleanisExcludedProperty(boolean isPage, String propertyName) Deprecated.Returns if a property is defined as excluded in theRolloutManagerconfiguration.booleanisExcludedProperty(String propertyName) Deprecated.Use #isExcludedPageProperty instead.booleanisReservedProperty(String propertyName) Deprecated.Returns if a property is a MSM reserved propertyvoidrollout(Page master, boolean isDeep, RolloutManager.Trigger trigger, boolean reset, String[] targets) Deprecated.Execute a rollout on all the found live copies of themasterpage.voidrollout(Page master, boolean isDeep, RolloutManager.Trigger trigger, String[] targets) Deprecated.Execute a rollout on all the found live copies of themasterpage.voidrollout(Page master, RolloutManager.Trigger trigger, boolean reset, String[] targets, String[] paragraphs) Deprecated.Execute a rollout of theparagraphto all live copies of the ofmasterpage.voidrollout(Page master, RolloutManager.Trigger trigger, boolean reset, String[] targets, String[] paragraphs, boolean delete) Deprecated.Execute a rollout of theparagraphto all live copies of the ofmasterpage.voidrollout(Page master, RolloutManager.Trigger trigger, String[] targets, String[] paragraphs) Deprecated.Execute a rollout of theparagraphto all live copies of the ofmasterpage.voidrollout(Page master, RolloutManager.Trigger trigger, String[] targets, String[] paragraphs, boolean delete) Deprecated.Execute a rollout of theparagraphto all live copies of the ofmasterpage.voidrollout(ResourceResolver resolver, LiveRelationship relation) Deprecated.Rollout the content for one relation ship.voidrollout(ResourceResolver resolver, LiveRelationship relation, boolean reset) Deprecated.Rollout the content for one relation ship.voidupdateRolloutInfo(Node node, boolean deepUpdate, boolean autoSave) Deprecated.Update rollout info on thenode.
-
Method Details
-
rollout
void rollout(Page master, boolean isDeep, RolloutManager.Trigger trigger, String[] targets) throws WCMException Deprecated.Execute a rollout on all the found live copies of themasterpage.- Parameters:
master- master page to rolloutisDeep- iftrueall child pages are updated, too.trigger- rollout triggertargets- paths of live copies to update.nullfor all.- Throws:
WCMException- if an error during this operation occurs.
-
rollout
void rollout(Page master, boolean isDeep, RolloutManager.Trigger trigger, boolean reset, String[] targets) throws WCMException Deprecated.Execute a rollout on all the found live copies of themasterpage.- Parameters:
master- master page to rolloutisDeep- iftrueall child pages are updated, too.trigger- rollout triggerreset- iftruerollout is run in reset mode, Live Copy is completely resettargets- paths of live copies to update.nullfor all.- Throws:
WCMException- if an error during this operation occurs.
-
rollout
void rollout(Page master, RolloutManager.Trigger trigger, String[] targets, String[] paragraphs) throws WCMException Deprecated.Execute a rollout of theparagraphto all live copies of the ofmasterpage.- Parameters:
master- Master page to rollouttrigger- rollout triggertargets- paths of live copies to update.nullfor all.paragraphs- (absolute) paths of paragraphs- Throws:
WCMException- if an error during this operation occurs.
-
rollout
void rollout(Page master, RolloutManager.Trigger trigger, boolean reset, String[] targets, String[] paragraphs) throws WCMException Deprecated.Execute a rollout of theparagraphto all live copies of the ofmasterpage.- Parameters:
master- Master page to rollouttrigger- rollout triggerreset- iftruerollout is run in reset mode, Live Copy is completely resettargets- paths of live copies to update.nullfor all.paragraphs- (absolute) paths of paragraphs- Throws:
WCMException- if an error during this operation occurs.
-
rollout
void rollout(Page master, RolloutManager.Trigger trigger, String[] targets, String[] paragraphs, boolean delete) throws WCMException Deprecated.Execute a rollout of theparagraphto all live copies of the ofmasterpage. Ifdeleteistrue, the paragraph is deleted and then rolledout.- Parameters:
master- Master page to rollouttrigger- rollout triggertargets- paths of live copies to update.nullfor all.paragraphs- (absolute) paths of paragraphsdelete-trueif paragraph should be deleted- Throws:
WCMException- if an error during this operation occurs.
-
rollout
void rollout(Page master, RolloutManager.Trigger trigger, boolean reset, String[] targets, String[] paragraphs, boolean delete) throws WCMException Deprecated.Execute a rollout of theparagraphto all live copies of the ofmasterpage. Ifdeleteistrue, the paragraph is deleted and then rolledout.- Parameters:
master- Master page to rollouttrigger- rollout triggerreset- iftruerollout is run in reset mode, Live Copy is completely resettargets- paths of live copies to update.nullfor all.paragraphs- (absolute) paths of paragraphsdelete-trueif paragraph should be deleted- Throws:
WCMException- if an error during this operation occurs.
-
rollout
Deprecated.Rollout the content for one relation ship.- Parameters:
resolver- resource resolverrelation- relation to rollout- Throws:
WCMException- if an error during this operation occurs.
-
rollout
void rollout(ResourceResolver resolver, LiveRelationship relation, boolean reset) throws WCMException Deprecated.Rollout the content for one relation ship.- Parameters:
resolver- resource resolverrelation- relation to rolloutreset- iftruerollout is run in reset mode, Live Copy is completely reset- Throws:
WCMException- if an error during this operation occurs.
-
updateRolloutInfo
Deprecated.Update rollout info on thenode. To use after a rollout operation.- Parameters:
node- Node to updatedeepUpdate- Children of the node can be updated by settingdeepUpdateto true.autoSave- Save modifications- Throws:
WCMException- if an error during this operation occurs.
-
isExcludedProperty
Deprecated.Use #isExcludedPageProperty instead.Returns if a property is defined as excluded in theRolloutManagerconfiguration. Excluded properties include reserved properties.- Parameters:
propertyName- repository property name.- Returns:
- true if excluded. False otherwise.
-
isExcludedProperty
Deprecated.Returns if a property is defined as excluded in theRolloutManagerconfiguration. IfisPageis true, checks in page exclusion list. Otherwise, check in paragraph exclusion list Excluded properties include reserved properties.- Parameters:
isPage- Page propertypropertyName- repository property name.- Returns:
- true if excluded. False otherwise.
-
isExcludedPageProperty
Deprecated.Returns if a property is defined as excluded in theRolloutManagerconfiguration for a page. Excluded properties include reserved properties.- Parameters:
propertyName- repository property name.- Returns:
- true if excluded. False otherwise.
-
isExcludedParagraphProperty
Deprecated.Returns if a property is defined as excluded in theRolloutManagerconfiguration for a paragraph. Excluded properties include reserved properties.- Parameters:
propertyName- repository property name.- Returns:
- true if excluded. False otherwise.
-
isExcludedNodeType
Deprecated.Returns if a node type is defined as excluded in theRolloutManagerconfiguration- Parameters:
nodeType- repository node type.- Returns:
- true if excluded. False otherwise.
-
isExcludedNode
Deprecated.Returns if one of the node types or mixins is defined as excluded in theRolloutManagerconfiguration- Parameters:
node- node to check.- Returns:
- true if excluded. False otherwise.
- Throws:
RepositoryException- if an read/write error during this operation occurs.
-
isReservedProperty
Deprecated.Returns if a property is a MSM reserved property- Parameters:
propertyName- repository property name.- Returns:
- true if reserved. False otherwise.
-
RolloutManagerinstead