Package com.logicaldoc.web.service
Class SystemServiceImpl
java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
com.google.gwt.user.server.rpc.jakarta.AbstractRemoteServiceServlet
com.google.gwt.user.server.rpc.jakarta.RemoteServiceServlet
com.logicaldoc.web.service.AbstractRemoteService
com.logicaldoc.web.service.SystemServiceImpl
- All Implemented Interfaces:
- com.google.gwt.user.client.rpc.RemoteService,- com.google.gwt.user.server.rpc.SerializationPolicyProvider,- SystemService,- jakarta.servlet.Servlet,- jakarta.servlet.ServletConfig,- Serializable
Implementation of the SystemService
- Since:
- 6.0
- Author:
- Matteo Caruso - LogicalDOC
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from interface com.logicaldoc.gui.frontend.client.services.SystemServiceSystemService.Instance
- 
Field SummaryFields inherited from class jakarta.servlet.http.HttpServletLEGACY_DO_HEAD
- 
Constructor SummaryConstructors
- 
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 pluginId) 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> events, 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 pluginId) Uninstalls the given pluginvoidunscheduleJobs(List<GUIValue> jobs) Unschedules a selection of jobsMethods inherited from class com.logicaldoc.web.service.AbstractRemoteServicesetThreadRequestMethods inherited from class com.google.gwt.user.server.rpc.jakarta.RemoteServiceServletgetSerializationPolicy, init, processCall, processCall, processPostMethods inherited from class com.google.gwt.user.server.rpc.jakarta.AbstractRemoteServiceServletdoPostMethods inherited from class jakarta.servlet.http.HttpServletserviceMethods inherited from class jakarta.servlet.GenericServletdestroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
- 
Constructor Details- 
SystemServiceImplpublic SystemServiceImpl()
 
- 
- 
Method Details- 
disableTaskDescription copied from interface:SystemServiceDisables the task- Specified by:
- disableTaskin interface- SystemService
- Parameters:
- taskName- The task name
- Returns:
- True, if the task is correctly disabled
- Throws:
- ServerException- error in the server application
 
- 
enableTaskDescription copied from interface:SystemServiceEnables the task- Specified by:
- enableTaskin interface- SystemService
- Parameters:
- taskName- The task name
- Returns:
- True, if the task is correctly enabled
- Throws:
- ServerException- an error happened in the server applications
 
- 
getStatisticsDescription copied from interface:SystemServiceRetrieves 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.
 - Specified by:
- getStatisticsin interface- SystemService
- Parameters:
- locale- The current user locale
- Returns:
- the statistics
- Throws:
- ServerException- an error happened in the server application
 
- 
getTaskByNameDescription copied from interface:SystemServiceRetrieves a specific task by its name- Specified by:
- getTaskByNamein interface- SystemService
- 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
 
- 
loadTasksDescription copied from interface:SystemServiceRetrieves all tasks.- Specified by:
- loadTasksin interface- SystemService
- Parameters:
- locale- The current user locale
- Returns:
- the tasks
- Throws:
- ServerException- an error happened in the server application
 
- 
saveTaskDescription copied from interface:SystemServiceSaves the task- Specified by:
- saveTaskin interface- SystemService
- Parameters:
- guiTask- The task to save
- locale- The current user locale
- Returns:
- the saved task
- Throws:
- ServerException- an error happened in the server application
 
- 
startTaskDescription copied from interface:SystemServiceStarts the task execution.- Specified by:
- startTaskin interface- SystemService
- Parameters:
- taskName- The task name
 
- 
stopTaskDescription copied from interface:SystemServiceStops the task execution.- Specified by:
- stopTaskin interface- SystemService
- Parameters:
- taskName- The task name
 
- 
setGUILanguageStatusDescription copied from interface:SystemServiceChanges the activation status of a language- Specified by:
- setGUILanguageStatusin interface- SystemService
- Parameters:
- language- the language to alter
- active- the new language's status
- Throws:
- ServerException- an error happened in the server application
 
- 
confirmUpdateDescription copied from interface:SystemServiceConfirms the last update- Specified by:
- confirmUpdatein interface- SystemService
- Throws:
- ServerException- an error happened in the server application
 
- 
restartDescription copied from interface:SystemServiceRestarts the application- Specified by:
- restartin interface- SystemService
- Throws:
- ServerException- an error happened in the server application
 
- 
searchpublic List<GUIHistory> search(Long userId, Date from, Date till, int maxResult, String historySid, List<String> events, Long rootFolderId) throws ServerException - Specified by:
- searchin interface- SystemService
- Throws:
- ServerException
 
- 
searchApiCallspublic List<GUIHistory> searchApiCalls(Long userId, Date from, Date till, String callSid, String protocol, String uri, int maxResult) throws ServerException - Specified by:
- searchApiCallsin interface- SystemService
- Throws:
- ServerException
 
- 
unscheduleJobsDescription copied from interface:SystemServiceUnschedules a selection of jobs- Specified by:
- unscheduleJobsin interface- SystemService
- Parameters:
- jobs- Identifiers of the jobs to delete(pairs group - trigger)
- Throws:
- ServerException- an error happened in the server application
 
- 
uninstallPluginDescription copied from interface:SystemServiceUninstalls the given plugin- Specified by:
- uninstallPluginin interface- SystemService
- Parameters:
- pluginId- identifier of the plugin to uninstall
- Throws:
- ServerException- error happened in the server application
 
- 
initializePluginDescription copied from interface:SystemServiceLaunches the initialization of a plugin- Specified by:
- initializePluginin interface- SystemService
- Parameters:
- pluginId- the name of the plugin to initialize
- Throws:
- ServerException- an error happened in the server application
 
- 
installPluginDescription copied from interface:SystemServiceInstalls the uploaded plugin package- Specified by:
- installPluginin interface- SystemService
- Throws:
- ServerException- error happened in the server application
 
- 
getPluginsDescription copied from interface:SystemServiceRetrieves all plug-ins- Specified by:
- getPluginsin interface- SystemService
- Returns:
- the installed plug-ins names
- Throws:
- ServerException- an error happened in the server application
 
- 
saveLoggerDescription copied from interface:SystemServiceSaves a logger- Specified by:
- saveLoggerin interface- SystemService
- 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
 
- 
removeLoggerDescription copied from interface:SystemServiceThe logger to remove- Specified by:
- removeLoggerin interface- SystemService
- Parameters:
- name- The name of the logger to remove
- Throws:
- ServerException- an error happened in the server application
 
 
-