Interface InfoService
-
- All Superinterfaces:
com.google.gwt.user.client.rpc.RemoteService
- All Known Implementing Classes:
InfoServiceImpl
@RemoteServiceRelativePath("info") public interface InfoService extends com.google.gwt.user.client.rpc.RemoteService
Informations service- Since:
- 6.0.0
- Author:
- Marco Meschieri - LogicalDOC
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
InfoService.Instance
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getCronDescription(String expression, String locale)
Retrieves the natural language description of a given cron expressionGUIInfo
getInfo(String locale, String tenant, boolean login)
Retrieves the system informationsGUIParameter[]
getSessionInfo()
Retrieves all the settings for the current sessionboolean
ping()
Ping to maintain open he session
-
-
-
Method Detail
-
getInfo
GUIInfo getInfo(String locale, String tenant, boolean login)
Retrieves the system informations- Parameters:
locale
- language to usetenant
- name of the tenantlogin
- if the informations are asked by the login form- Returns:
- the User Inteface's informations
-
getSessionInfo
GUIParameter[] getSessionInfo() throws InvalidSessionServerException
Retrieves all the settings for the current session- Returns:
- array with all the settings
- Throws:
InvalidSessionServerException
- the session does not exist or is expired
-
getCronDescription
String getCronDescription(String expression, String locale) throws ServerException
Retrieves the natural language description of a given cron expression- Parameters:
expression
- the cron expression to evaluatelocale
- the locale to use for the description- Returns:
- the natural language description
- Throws:
ServerException
- raised in case the given expression is invalid
-
ping
boolean ping() throws InvalidSessionServerException
Ping to maintain open he session- Returns:
- if the server has been successfully contacted
- Throws:
InvalidSessionServerException
- the session does not exist or is expired
-
-