I am using com.day.cq.wcm.msm.api.RolloutManager to rollout a page .
What is the actual functionality of RolloutManager.rollout(ResourceResolver, LiveRelationShip,false) . Currently I am using this method to rollout the pages of livecopy based on blue print. But whats happening is when we are rolling out a parent page its child pages are also getting rolled out. We dont want the child pages to get rolled out when a parent page is rolled out .
Any suggestions please.
Thanks yogesh for reply. Actually we found a solution for restricting rollout to only mentioned page but not its child pages. We are using
we are giving params to disable the rollout for child pages.
RolloutManager.RolloutParams params = new RolloutManager.RolloutParams();
likewise the other params which we needed.
I will look and try your approach also.