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.InfoService
InfoService.Instance
-
-
Constructor Summary
Constructors Constructor Description InfoServiceImpl()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GUIInfo
getInfo(String tenantName)
Retrieves the informations but not localization issues like messages and installed languagesGUIInfo
getInfo(String locale, String tenantName, boolean login)
Retrieves the system informationsGUIParameter[]
getSessionInfo()
boolean
ping()
Ping to maintain open he session-
Methods inherited from class com.google.gwt.user.server.rpc.RemoteServiceServlet
getSerializationPolicy, init, processCall, processCall, processPost
-
-
-
-
Method Detail
-
getInfo
public GUIInfo getInfo(String locale, String tenantName, boolean login)
Description copied from interface:InfoService
Retrieves the system informations- Specified by:
getInfo
in interfaceInfoService
- Parameters:
locale
- language to usetenantName
- name of the tenantlogin
- if the informations are asked by the login form- Returns:
- the User Inteface's informations
-
getInfo
public 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
-
getSessionInfo
public GUIParameter[] getSessionInfo() throws InvalidSessionException
- Specified by:
getSessionInfo
in interfaceInfoService
- Throws:
InvalidSessionException
-
ping
public boolean ping() throws InvalidSessionException
Description copied from interface:InfoService
Ping to maintain open he session- Specified by:
ping
in interfaceInfoService
- Returns:
- if the server has been successfully contacted
- Throws:
InvalidSessionException
- the session does not exist or is expired
-
-