[TECH SUPPORT] LPS-33193 LayoutLocalServiceImpl.updatePriority performance issue when parent layout has lots of children layouts

Hi Tamás,

Resolution
1. Update only those pages that have been changed
2. Instead of updating the the records one by one, use a bulk approach (shift the priorities using one single DML statement)

Please review my changes.

Thanks,
Ákos