LPS-36514 Fix tests. Revert commit 359dc34a454ed09ffe93786c89bf3aab05c4a6dc because this logic is not peformed by advanced permission checker (permission checker only checks for MANAGE_SUBSITE and MANAGE_SUBGROUP permission, but doesn't consider if the user is a SITE/ORGANIZATION ADMIN of ancestor groups)
LPS-36514 fix source formatting. When checking if a user is an admin of a site, we need to check either if we have MANAGE_SUBSITES in the parent sites or if we have MANAGE_SUBORGANIZATIONS in the parent organizations. We need this check for both of them.
LPS-36572 Revert "LPS-35226 Remove code that deletes social activities when entity is deleted"

This reverts commit 46063954b138e55aea87e04e62268f5255528429.
LPS-36572 Revert deprecating all delete methods

This reverts parts of commit 108db14e0193d7a274cc4c2157426810dbd7ddc1.
LPS-36572 Generated
LPS-35161 Display file info in portlet import
LPS-35161 Display number of importable elements in portlet import
LPS-35161 Remove unused code
LPS-35161 Extract import strategy from content dialog (cut and paste)
LPS-35161 Split the portlet import portlet in two steps
LPS-35161 SF
LPS-36331 Only include accepted elements in default search so elements in recycle bin are not returned
LPS-36331 this is equivalent because JournalIndexer will set it to approved if nothing is passed
LPS-36331 Update property documentation
LPS-36331 SF
LPS-36633 Do not rely on VerifyUuid and VerifyOrganization processes to create consistent sample data
LPS-36633 The inserted value variables were organized based on which one comes first, not alphabetically, keeping that pattern
LPS-36626 Changed condition to show the structureSelector
LPS-36626 Source formatting
LPS-36407 add method taking companyId