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
-
Method Summary
Modifier and TypeMethodDescriptiongetCronDescription
(String expression, String locale) Retrieves the natural language description of a given cron expressionRetrieves the system informationsRetrieves all the settings for the current sessionboolean
ping()
Ping to maintain open he session
-
Method Details
-
getInfo
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
- Throws:
ServerException
- raised in case of error in the server
-
getSessionInfo
Retrieves all the settings for the current session- Returns:
- all the settings
- Throws:
InvalidSessionServerException
- the session does not exist or is expired
-
getCronDescription
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
Ping to maintain open he session- Returns:
- if the server has been successfully contacted
- Throws:
InvalidSessionServerException
- the session does not exist or is expired
-