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.RemoteServiceInformations service- Since:
- 6.0.0
- Author:
- Marco Meschieri - LogicalDOC
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classInfoService.Instance
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetCronDescription(String expression, String locale)Retrieves the natural language description of a given cron expressionGUIInfogetInfo(String locale, String tenant, boolean login)Retrieves the system informationsGUIParameter[]getSessionInfo()Retrieves all the settings for the current sessionbooleanping()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 InvalidSessionException
Retrieves all the settings for the current session- Returns:
- array with all the settings
- Throws:
InvalidSessionException- 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 InvalidSessionExceptionPing to maintain open he session- Returns:
- if the server has been successfully contacted
- Throws:
InvalidSessionException- the session does not exist or is expired
-
-