|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RolloutManager
Provides a service for managing MSM rollouts.
| Nested Class Summary | |
|---|---|
static class |
RolloutManager.Trigger
Trigger type that defines when a rollout should happen. |
| Method Summary | |
|---|---|
boolean |
isExcludedNode(Node node)
Returns if one of the node types or mixins is defined as excluded in the RolloutManager configuration |
boolean |
isExcludedNodeType(String nodeType)
Returns if a node type is defined as excluded in the RolloutManager configuration |
boolean |
isExcludedProperty(String propertyName)
Returns if a property is defined as excluded in the RolloutManager configuration |
void |
rollout(Page master,
boolean isDeep,
RolloutManager.Trigger trigger,
String[] targets)
Execute a rollout on all the found live copies of the master page. |
void |
rollout(Page master,
RolloutManager.Trigger trigger,
String[] targets,
String[] paragraphs)
Execute a rollout of of the paragraph to all live copies of
the of master page. |
void |
rollout(Page master,
RolloutManager.Trigger trigger,
String[] targets,
String[] paragraphs,
boolean delete)
Execute a rollout of of the paragraph to all live copies of
the of master page. |
void |
rollout(org.apache.sling.api.resource.ResourceResolver resolver,
LiveRelationship relation)
Rollout the content for one relation ship. |
void |
updateRolloutInfo(Node node,
boolean deepUpdate,
boolean autoSave)
Update rollout info on the node. |
| Method Detail |
|---|
void rollout(Page master,
boolean isDeep,
RolloutManager.Trigger trigger,
String[] targets)
throws WCMException
master page.
master - master page to rollouttrigger - rollout triggertargets - paths of live copies to update. null for all.isDeep - if true all child pages are updated, too.
WCMException - if an error during this operation occurs.
void rollout(Page master,
RolloutManager.Trigger trigger,
String[] targets,
String[] paragraphs)
throws WCMException
paragraph to all live copies of
the of master page.
master - Master page to rolloutparagraphs - (absolute) paths of paragraphstrigger - rollout triggertargets - paths of live copies to update. null for all.
WCMException - if an error during this operation occurs.
void rollout(Page master,
RolloutManager.Trigger trigger,
String[] targets,
String[] paragraphs,
boolean delete)
throws WCMException
paragraph to all live copies of
the of master page. If delete is true,
the paragraph is deleted and then rolledout.
master - Master page to rolloutparagraphs - (absolute) paths of paragraphstrigger - rollout triggertargets - paths of live copies to update. null for all.delete - true if paragraph should be deleted
WCMException - if an error during this operation occurs.
void rollout(org.apache.sling.api.resource.ResourceResolver resolver,
LiveRelationship relation)
throws WCMException
resolver - resource resolverrelation - relation to rollout
WCMException - 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 modifications
WCMException - if an error during this operation occurs.boolean isExcludedProperty(String propertyName)
RolloutManager configuration
propertyName - repository property name.
boolean isExcludedNodeType(String nodeType)
RolloutManager configuration
nodeType - repository node type.
boolean isExcludedNode(Node node)
throws RepositoryException
RolloutManager configuration
node - node to check.
RepositoryException - if an read/write error during this operation occurs.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||