LPS-39399 Apply trashed-model to entities
LPS-39399 Remove isInTrash from workflowed-model because it's not necessary since we have trashed-model interface
LPS-39399 Fix BaseIndexer
LPS-39399 Fix TrashImpl
LPS-39399 Fix current isInTrashContainer implementations
LPS-39399 Add isTrashEntry() and getTrashEntry() to trash handlers and TrashEntry
LPS-39399 Add method to trash handlers to get the parent entity
LPS-39399 Generated
LPS-39399 Add @Override
LPS-39399 Fix warnings
LPS-39399 Rename, easier on the eyes
Revert "LPS-40048 Keep previous logic in place. Removing the ThreadLocal has changed it"

This reverts commit 32a57bb660e7c7f501b19a30b94d467c018404cc.
LPS-40048 Fix the root problem, this problem was introduced when we created PortalPreferencesLocalServiceImpl, PortalPreferences should never ever have a strict mode. The whole if block should never exist, it was blindly copied from PortletPreferencesLocalServiceImpl.