LPS-45935 Since getPortletPreferences method might create a preference object, use that to set the xml to and update the entity. The other updatePortletPreferences was doing essentially a similar operation.
LPS-45935 According to Shuyang the TransactionalCallbackAwareETL is something we shouldn't use, plus in this case the transactional stuff is causing StaleObjectStateExceptions. Since the groups are properly cleared in the tearDown removing @Transactional
LPS-46822 fix tests
LPS-46822 SF
LPS-46896 Force to generate new structure key when data strategy is "add as new"
LPS-46896 Use the same pattern for DDMTemplate, be more strict and always generate new template key when "add as new" data strategy
LPS-46896 Remove unused method
LPS-47039 Removes the workflowDefinitionLinks of a folder when we are removing it
LPS-47039 Contemplate the three different types of restrictions
LPS-47039 We should not have restrictions in folder when the restriction type is inherited or workflow, because in both cases we inherit the restrictions from the parent folder
LPS-47039 If the containerModelId == -1, means the article is restore to the same folder, then the containerModelId should be the article folder
LPS-47039 Test - check if the ddmstructure restrictions are deleted correctly
LPS-47039 Sort
LPS-47039 Can't we use fetch like in line 202?
LPS-47038 Fix Windows
LPS-46822 SF
LPS-46822 SF
LPS-46748 SF
LPS-47071 SF
LPS-47025 remove Liferay Sync logic out of DLFileEntryLocalService