LPS-41894 Source formatting
LPS-41894 SF
LPS-42074 Fine tuning portlet publish when in global scope (no layouts and on control panel)
LPS-38733 Only update the version if the record has changed, added a case to the DLFileVersionTest and consolidate some of the logic into Fields.
LPS-38733 Don't link the entire class, just the methods
LPS-38733 Source formatting
LPS-38733 SF
LPS-41894 Remove unused code
LPS-42075 We should set the locale in the session only when the user is signed in. If the user is not signed in we shouldn't update the locale of the session because if we do it there is no way a guest user can switch the language using the language portlet (if he adds the locale in the url is fine because it doesn't go through the i18nFilter). For a signed in user we can set the locale in the session because when the user switches the language using the language portlet his preferred language is updated in his profile.
Test Fixes - Page.macro - macros
Test Fixes - Page.macro - tests
LPS-41900 Uses DLFileEntryMetadataLocalServiceUtil to get the metadatas because we need to obtain the tikarawmetadata too (and that's not in the fileentrytype)
LPS-41900 We should always extract the ddmContent because the basic document also have tika metadata (although it doesnt have fields for the document type)
LPS-41900 We don't need search by each tika field because we are indexing all the content of ddmStructure fields in ddmContent
LPS-42044 - actions, functions, paths
LPS-42044 - tests
LPS-42044 SF
LPS-42009 - actions, functions, paths
LPS-42009 - macros
LPS-42009 - tests