Package com.logicaldoc.web.service
Class InfoServiceImpl
- java.lang.Object
- 
- javax.servlet.GenericServlet
- 
- javax.servlet.http.HttpServlet
- 
- com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet
- 
- com.google.gwt.user.server.rpc.RemoteServiceServlet
- 
- com.logicaldoc.web.service.InfoServiceImpl
 
 
 
 
 
- 
- All Implemented Interfaces:
- com.google.gwt.user.client.rpc.RemoteService,- com.google.gwt.user.server.rpc.SerializationPolicyProvider,- InfoService,- Serializable,- javax.servlet.Servlet,- javax.servlet.ServletConfig
 
 public class InfoServiceImpl extends com.google.gwt.user.server.rpc.RemoteServiceServlet implements InfoService Implementation of the InfoService- Since:
- 6.0
- Author:
- Marco Meschieri - LogicalDOC
- See Also:
- Serialized Form
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface com.logicaldoc.gui.common.client.services.InfoServiceInfoService.Instance
 
- 
 - 
Constructor SummaryConstructors Constructor Description InfoServiceImpl()
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCronDescription(String expression, String locale)Retrieves the natural language description of a given cron expressionstatic GUIInfogetInfo(String tenantName)Retrieves the informations but not localization issues like messages and installed languagesGUIInfogetInfo(String locale, String tenantName, boolean login)Retrieves the system informationsGUIParameter[]getSessionInfo()Retrieves all the settings for the current sessionbooleanping()Ping to maintain open he session- 
Methods inherited from class com.google.gwt.user.server.rpc.RemoteServiceServletgetSerializationPolicy, init, processCall, processCall, processPost
 
- 
 
- 
- 
- 
Method Detail- 
getInfopublic GUIInfo getInfo(String locale, String tenantName, boolean login) Description copied from interface:InfoServiceRetrieves the system informations- Specified by:
- getInfoin interface- InfoService
- Parameters:
- locale- language to use
- tenantName- name of the tenant
- login- if the informations are asked by the login form
- Returns:
- the User Inteface's informations
 
 - 
getInfopublic static GUIInfo getInfo(String tenantName) Retrieves the informations but not localization issues like messages and installed languages- Parameters:
- tenantName- name of the tenant
- Returns:
- bean carrying informations about the User Interface
 
 - 
getSessionInfopublic GUIParameter[] getSessionInfo() throws InvalidSessionException Description copied from interface:InfoServiceRetrieves all the settings for the current session- Specified by:
- getSessionInfoin interface- InfoService
- Returns:
- array with all the settings
- Throws:
- InvalidSessionException- the session does not exist or is expired
 
 - 
pingpublic boolean ping() throws InvalidSessionExceptionDescription copied from interface:InfoServicePing to maintain open he session- Specified by:
- pingin interface- InfoService
- Returns:
- if the server has been successfully contacted
- Throws:
- InvalidSessionException- the session does not exist or is expired
 
 - 
getCronDescriptionpublic String getCronDescription(String expression, String locale) throws ServerException Description copied from interface:InfoServiceRetrieves the natural language description of a given cron expression- Specified by:
- getCronDescriptionin interface- InfoService
- Parameters:
- expression- the cron expression to evaluate
- locale- the locale to use for the description
- Returns:
- the natural language description
- Throws:
- ServerException- raised in case the given expression is invalid
 
 
- 
 
-