public static com.dotcms.repackage.portlet.javax.portlet.PortletPreferences getDefaultPreferences(
      java.lang.String companyId, java.lang.String portletId)
      throws com.liferay.portal.PortalException, com.liferay.portal.SystemException {
    try {
      PortletPreferencesManager portletPreferencesManager =
          PortletPreferencesManagerFactory.getManager();

      return portletPreferencesManager.getDefaultPreferences(companyId, portletId);
    } catch (com.liferay.portal.PortalException pe) {
      throw pe;
    } catch (com.liferay.portal.SystemException se) {
      throw se;
    } catch (Exception e) {
      throw new com.liferay.portal.SystemException(e);
    }
  }