@Override public Settings getSettings() throws SettingsException { CompanyServiceSettingsLocator companyServiceSettingsLocator = new CompanyServiceSettingsLocator( getCompanyId(_groupId), _settingsId, _configurationPid); Settings groupConfigurationBeanSettings = _settingsLocatorHelper.getGroupConfigurationBeanSettings( _groupId, _configurationPid, companyServiceSettingsLocator.getSettings()); return _settingsLocatorHelper.getGroupPortletPreferencesSettings( _groupId, _settingsId, groupConfigurationBeanSettings); }
public void reset(String key) { ModifiableSettings modifiableSettings = _settings.getModifiableSettings(); modifiableSettings.reset(key); }
public void setValue(String key, String value) { ModifiableSettings modifiableSettings = _settings.getModifiableSettings(); modifiableSettings.setValue(key, value); }
public void setValues(String key, String[] values) { ModifiableSettings modifiableSettings = _settings.getModifiableSettings(); modifiableSettings.setValues(key, values); }
@Override public ModifiableSettings setValues(ModifiableSettings modifiableSettings) { for (String key : modifiableSettings.getModifiedKeys()) { String[] values = modifiableSettings.getValues( key, StringPool.EMPTY_ARRAY); if (values.length == 1) { setValue(key, values[0]); } else { setValues(key, values); } } return this; }
public static Settings getGroupConfigurationBeanSettings( long groupId, String configurationPid, Settings parentSettings) { return getSettingsLocatorHelper().getGroupConfigurationBeanSettings( groupId, configurationPid, parentSettings); }
public static Settings getPortletInstanceConfigurationBeanSettings( String portletId, String configurationPid, Settings parentSettings) { return getSettingsLocatorHelper(). getPortletInstanceConfigurationBeanSettings( portletId, configurationPid, parentSettings); }
public Settings getPortletInstancePortletPreferencesSettings( long companyId, long plid, String portletId, Settings parentSettings) { return getSettingsLocatorHelper(). getPortletInstancePortletPreferencesSettings( companyId, plid, portletId, parentSettings); }
public static ArchivedSettings getPortletInstanceArchivedSettings( long groupId, String portletId, String name) throws SettingsException { return getSettingsFactory().getPortletInstanceArchivedSettings( groupId, portletId, name); }
public static Settings getCompanyPortletPreferencesSettings( long companyId, String settingsId, Settings parentSettings) { return getSettingsLocatorHelper().getCompanyPortletPreferencesSettings( companyId, settingsId, parentSettings); }
public Settings getPortalPreferencesSettings( long companyId, Settings parentSettings) { return getSettingsLocatorHelper().getPortalPreferencesSettings( companyId, parentSettings); }
public static Settings getSettings(SettingsLocator settingsLocator) throws SettingsException { return getSettingsFactory().getSettings(settingsLocator); }
public static List<ArchivedSettings> getPortletInstanceArchivedSettingsList( long groupId, String portletId) { return getSettingsFactory().getPortletInstanceArchivedSettingsList( groupId, portletId); }
public static void registerSettingsMetadata( Class<?> settingsClass, Object configurationBean, FallbackKeys fallbackKeys) { getSettingsFactory().registerSettingsMetadata( settingsClass, configurationBean, fallbackKeys); }
public static Settings getCompanyConfigurationBeanSettings( long companyId, String configurationPid, Settings parentSettings) { return getSettingsLocatorHelper().getCompanyConfigurationBeanSettings( companyId, configurationPid, parentSettings); }
public Settings getGroupPortletPreferencesSettings( long groupId, String settingsId, Settings parentSettings) { return getSettingsLocatorHelper().getGroupPortletPreferencesSettings( groupId, settingsId, parentSettings); }
@Override public void reset() { for (String key : getModifiedKeys()) { reset(key); } }
public Settings getServerSettings(String settingsId) { return getSettingsLocatorHelper().getServerSettings(settingsId); }
/** * @deprecated As of Judson (7.1.x), replaced by {@link * #getConfigurationBeanSettings(String)} */ @Deprecated public Settings getConfigurationBeanSettings( String settingsId, Settings parentSettings) { return getSettingsLocatorHelper().getConfigurationBeanSettings( settingsId, parentSettings); }
@Override public Settings getSettings() throws SettingsException { return _settingsLocatorHelper.getConfigurationBeanSettings( _configurationPid); }