Interface SystemService
- All Superinterfaces:
- com.google.gwt.user.client.rpc.RemoteService
- All Known Implementing Classes:
- SystemServiceImpl
@RemoteServiceRelativePath("system")
public interface SystemService
extends com.google.gwt.user.client.rpc.RemoteService
The client side stub for the System Service. This service allows the
 management of various system settings.
- Since:
- 6.0
- Author:
- Matteo Caruso - LogicalDOC
- 
Nested Class SummaryNested Classes
- 
Method SummaryModifier and TypeMethodDescriptionvoidConfirms the last updatebooleandisableTask(String taskName) Disables the taskbooleanenableTask(String taskName) Enables the taskRetrieves all plug-insgetStatistics(String locale) Retrieves all the statistics parameters.getTaskByName(String taskName, String locale) Retrieves a specific task by its namevoidinitializePlugin(String plugin) Launches the initialization of a pluginvoidInstalls the uploaded plugin packageRetrieves all tasks.voidremoveLogger(String name) The logger to removevoidrestart()Restarts the applicationvoidsaveLogger(String name, String level, boolean additivity) Saves a loggerSaves the tasksearch(Long userId, Date from, Date till, int maxResult, String historySid, List<String> event, Long rootFolderId) searchApiCalls(Long userId, Date from, Date till, String callSid, String protocol, String uri, int maxResult) voidsetGUILanguageStatus(String language, boolean active) Changes the activation status of a languagevoidStarts the task execution.voidStops the task execution.voiduninstallPlugin(String plugin) Uninstalls the given pluginvoidunscheduleJobs(List<GUIValue> jobs) Unschedules a selection of jobs
- 
Method Details- 
getStatisticsRetrieves all the statistics parameters.- The first list is the Repository statistics.
- The second list is the Documents statistics.
- The third list is the Folders statistics.
- The fourth list contains the last run date.
 - Parameters:
- locale- The current user locale
- Returns:
- the statistics
- Throws:
- ServerException- an error happened in the server application
 
- 
loadTasksRetrieves all tasks.- Parameters:
- locale- The current user locale
- Returns:
- the tasks
- Throws:
- ServerException- an error happened in the server application
 
- 
startTaskStarts the task execution.- Parameters:
- taskName- The task name
 
- 
stopTaskStops the task execution.- Parameters:
- taskName- The task name
 
- 
getTaskByNameRetrieves a specific task by its name- Parameters:
- taskName- The task name
- locale- The current user locale
- Returns:
- the task retrieved by the server application
- Throws:
- ServerException- an error happened in the server application
 
- 
enableTaskEnables the task- Parameters:
- taskName- The task name
- Returns:
- True, if the task is correctly enabled
- Throws:
- ServerException- an error happened in the server applications
 
- 
disableTaskDisables the task- Parameters:
- taskName- The task name
- Returns:
- True, if the task is correctly disabled
- Throws:
- ServerException- error in the server application
 
- 
saveTaskSaves the task- Parameters:
- task- The task to save
- locale- The current user locale
- Returns:
- the saved task
- Throws:
- ServerException- an error happened in the server application
 
- 
unscheduleJobsUnschedules a selection of jobs- Parameters:
- jobs- Identifiers of the jobs to delete(pairs group - trigger)
- Throws:
- ServerException- an error happened in the server application
 
- 
setGUILanguageStatusChanges the activation status of a language- Parameters:
- language- the language to alter
- active- the new language's status
- Throws:
- ServerException- an error happened in the server application
 
- 
getPluginsRetrieves all plug-ins- Returns:
- the installed plug-ins names
- Throws:
- ServerException- an error happened in the server application
 
- 
initializePluginLaunches the initialization of a plugin- Parameters:
- plugin- the name of the plugin to initialize
- Throws:
- ServerException- an error happened in the server application
 
- 
installPluginInstalls the uploaded plugin package- Throws:
- ServerException- error happened in the server application
 
- 
uninstallPluginUninstalls the given plugin- Parameters:
- plugin- identifier of the plugin to uninstall
- Throws:
- ServerException- error happened in the server application
 
- 
confirmUpdateConfirms the last update- Throws:
- ServerException- an error happened in the server application
 
- 
restartRestarts the application- Throws:
- ServerException- an error happened in the server application
 
- 
saveLoggerSaves a logger- Parameters:
- name- The name of the logger to save
- level- The log level
- additivity- The log additivity
- Throws:
- ServerException- an error happened in the server application
 
- 
removeLoggerThe logger to remove- Parameters:
- name- The name of the logger to remove
- Throws:
- ServerException- an error happened in the server application
 
- 
searchList<GUIHistory> search(Long userId, Date from, Date till, int maxResult, String historySid, List<String> event, Long rootFolderId) throws ServerException - Throws:
- ServerException
 
- 
searchApiCallsList<GUIHistory> searchApiCalls(Long userId, Date from, Date till, String callSid, String protocol, String uri, int maxResult) throws ServerException - Throws:
- ServerException
 
 
-