@RemoteServiceRelativePath(value="setting")
public interface SettingService
extends com.google.gwt.user.client.rpc.RemoteService
Modifier and Type | Method and Description |
---|---|
GUIParameter[] |
computeStoragesSize(String sid)
Retrieves the size of all saved storages.
|
GUIParameter[] |
loadClientSettings(String sid)
Loads web services, webDav and other client-related settings
|
GUIEmailSettings |
loadEmailSettings(String sid)
Loads email settings (SMTP connection)
|
GUIParameter[] |
loadGUISettings(String sid)
Load the GUI settings
|
GUIParameter[] |
loadOcrSettings(String sid)
Loads the OCR settings
|
GUIParameter[] |
loadQuotaSettings(String sid)
Load the system quota setting
|
GUIParameter[][] |
loadRepositories(String sid)
Load the repositories paths.
|
GUIParameter[] |
loadSettings(String sid)
Loads the complete settings set
|
GUIParameter[] |
loadSettingsByNames(String sid,
String[] names)
Loads a set of settings values
|
void |
saveDashlets(String sid,
GUIDashlet[] dashlets)
Saves the dashlets configuration for the current user
|
void |
saveEmailSettings(String sid,
GUIEmailSettings settings)
Saves email settings (SMTP connection)
|
void |
saveQuotaSettings(String sid,
GUIParameter[] quotaSettings)
Saves system quota setting
|
void |
saveRepositories(String sid,
GUIParameter[][] repos)
Saves folders path
|
void |
saveSettings(String sid,
GUIParameter[] settings)
Saves settings
|
boolean |
testEmail(String sid,
String email)
Tests the SMTP connection
|
GUIParameter[] loadClientSettings(String sid) throws InvalidSessionException
InvalidSessionException
GUIParameter[] loadSettings(String sid) throws InvalidSessionException
InvalidSessionException
GUIParameter[] loadSettingsByNames(String sid, String[] names) throws InvalidSessionException
sid
- The current session identifiernames
- The setting names to be retrievedInvalidSessionException
void saveSettings(String sid, GUIParameter[] settings) throws InvalidSessionException
InvalidSessionException
GUIEmailSettings loadEmailSettings(String sid) throws InvalidSessionException
InvalidSessionException
boolean testEmail(String sid, String email) throws InvalidSessionException
sid
- The session identifieremail
- email address to test(it will receive a test message)InvalidSessionException
GUIParameter[][] loadRepositories(String sid) throws InvalidSessionException
InvalidSessionException
void saveRepositories(String sid, GUIParameter[][] repos) throws InvalidSessionException
InvalidSessionException
void saveEmailSettings(String sid, GUIEmailSettings settings) throws InvalidSessionException
InvalidSessionException
GUIParameter[] loadOcrSettings(String sid) throws InvalidSessionException
InvalidSessionException
GUIParameter[] loadQuotaSettings(String sid) throws InvalidSessionException
InvalidSessionException
GUIParameter[] loadGUISettings(String sid) throws InvalidSessionException
InvalidSessionException
void saveQuotaSettings(String sid, GUIParameter[] quotaSettings) throws InvalidSessionException
InvalidSessionException
GUIParameter[] computeStoragesSize(String sid) throws InvalidSessionException
sid
- The current user sessionInvalidSessionException
void saveDashlets(String sid, GUIDashlet[] dashlets) throws InvalidSessionException
InvalidSessionException
Copyright © 2008-2014 Logical Objects. All Rights Reserved.