Interface SettingService
- All Superinterfaces:
- com.google.gwt.user.client.rpc.RemoteService
- All Known Implementing Classes:
- SettingServiceImpl
@RemoteServiceRelativePath("setting")
public interface SettingService
extends com.google.gwt.user.client.rpc.RemoteService
The client side stub for the Settings Service. This service allows the
 management of various application settings.
- Since:
- 6.0
- Author:
- Matteo Caruso - LogicalDOC
- 
Nested Class SummaryNested Classes
- 
Method SummaryModifier and TypeMethodDescriptionLoad the auditing settingsloadConverterParameters(String converter) Loads the parameters of a specified converterLoads email settings (SMTP connection)Load the GUI settingsLoads web services, webDav and other protocol settingsLoads the complete settings setloadSettingsByNames(List<String> names) Loads a set of settings valuesloadWebserviceStats(Long tenantId) Loads the usage stats of the webserviceremoveStore(int storeId) Tries to delete a store and fails in case at least one folder is using it and also if the store is marked as the default write onevoidsaveEmailSettings(GUIEmailSettings settings) Saves email settings (SMTP connection)voidsaveExtensionAliases(String extension, String aliases) Persists new aliases for the given extensionvoidsaveFirewallSettings(List<GUIParameter> settings) Saves settings related to the firewallvoidsaveRegistration(String name, String email, String organization, String website) Saves the registration settingsvoidsaveSettings(List<GUIParameter> settings) Saves settingsvoidsaveStoreSettings(List<GUIParameter> settings) Saves settings related to the storebooleanTests the SMTP connectionTests the connection to a proxybooleantestStore(int id) Tests a store (read/write access)
- 
Method Details- 
loadProtocolSettingsLoads web services, webDav and other protocol settings- Returns:
- the protocol settings
- Throws:
- ServerException- an error happened in the server application
 
- 
loadSettingsLoads the complete settings set- Returns:
- all the settings
- Throws:
- ServerException- an error happened in the server application
 
- 
loadSettingsByNamesLoads a set of settings values- Parameters:
- names- The setting names to be retrieved
- Returns:
- The array of settings
- Throws:
- ServerException- an error happened in the server application
 
- 
saveRegistrationvoid saveRegistration(String name, String email, String organization, String website) throws ServerException Saves the registration settings- Parameters:
- name- person name
- email- email contact
- organization- organization name
- website- the corporate website
- Throws:
- ServerException- an error happened in the server application
 
- 
saveSettingsSaves settings- Parameters:
- settings- the settings to save
- Throws:
- ServerException- an error happened in the server application
 
- 
loadEmailSettingsLoads email settings (SMTP connection)- Returns:
- the mail server settings
- Throws:
- ServerException- an error happened in the server application
 
- 
testEmailTests the SMTP connection- Parameters:
- email- email address to test(it will receive a test message)
- Returns:
- True only if the email was sent
- Throws:
- ServerException- an error happened in the server application
 
- 
testStoreTests a store (read/write access)- Parameters:
- id- identifier of the store to test
- Returns:
- True only if the store has read/write permission
- Throws:
- ServerException- an error happened in the server application
 
- 
saveStoreSettingsSaves settings related to the store- Parameters:
- settings- the store settings
- Throws:
- ServerException- an error happened in the server application
 
- 
saveFirewallSettingsSaves settings related to the firewall- Parameters:
- settings- the firewall settings
- Throws:
- ServerException- an error happened in the server application
 
- 
removeStoreTries to delete a store and fails in case at least one folder is using it and also if the store is marked as the default write one- Parameters:
- storeId- identifier of the store to remove
- Returns:
- list of paths using the store
- Throws:
- ServerException- an error happened in the server application
 
- 
saveEmailSettingsSaves email settings (SMTP connection)- Parameters:
- settings- the SMTP settings
- Throws:
- ServerException- an error happened in the server application
 
- 
loadGUISettingsLoad the GUI settings- Returns:
- the User Interface settings
- Throws:
- ServerException- an error happened in the server application
 
- 
loadAuditingSettingsLoad the auditing settings- Returns:
- the User Interface settings
- Throws:
- ServerException- an error happened in the server application
 
- 
loadConverterParametersLoads the parameters of a specified converter- Parameters:
- converter- name of the converter
- Returns:
- the configuration parameters of the converter
- Throws:
- ServerException- an error happened in the server application
 
- 
loadWebserviceStatsLoads the usage stats of the webservice- Parameters:
- tenantId- identifier of the tenant to consider
- Returns:
- all the stats
- Throws:
- ServerException- an error happened in the server application
 
- 
saveExtensionAliasesPersists new aliases for the given extension- Parameters:
- extension- the main file extension
- aliases- comma-separated set of aliases
- Throws:
- ServerException- an error happened in the server application
 
- 
testProxyTests the connection to a proxy- Parameters:
- host- the proxy host name
- port- the proxy port
- username- the username to connect to the proxy
- password- the password to connect to the proxy
- Returns:
- if the connection has been succesful or not
- Throws:
- ServerException- an error happened in the server application
 
 
-