In com.day.cq.wcm.msm.api.RolloutManager, updateRolloutInfo method as per documentation it says Update rollout info on the node
.
Can I know what are the properties in the node it is updating?
Solved! Go to Solution.
Views
Replies
Total Likes
Hi Arun
I found in the implementation class what the method it is doing.
Page rolloutthispage = pageManager.getPage("/content/geometrixx/en/toolbar"); //source page RolloutManager.RolloutParams rolloutparams = new RolloutManager.RolloutParams(); rolloutparams.master = rolloutthispage; rolloutparams.isDeep = true; //rolloutmanager is an OSGI service so using here sling.getService to have a reference com.day.cq.wcm.msm.api.RolloutManager rolloutManager = sling.getService(com.day.cq.wcm.msm.api.RolloutManager.class); rolloutManager.rollout(rolloutparams);
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
Page rolloutthispage = pageManager.getPage("/content/livecopy/en/toolbar"); //livecopy page com.day.cq.wcm.msm.api.RolloutManager rolloutManager = sling.getService(com.day.cq.wcm.msm.api.RolloutManager.class); rolloutManager.updateRolloutInfo(rolloutthispage.adaptTo(Node.class),true,true);
Hi Arun
I did the same But one thing I need to know is which all properties are created or updated on the node after updateRollOutinfo.I am not able to find the exact implementation class to check those. If you can let me know, it would be helpful.
Thanks
Dillibabu
Hi,
I did not find the documentation about it.
You can decompile this bundle and check the exact implementation to know more in details.
Hi Arun
I found in the implementation class what the method it is doing.
Views
Likes
Replies
Views
Likes
Replies
Views
Like
Replies
Views
Likes
Replies