LPS-44216 Add util methods equivalent to the existing ones for preferences but using PortletSettings instead