2018-07-05 18:29:38 +02:00
|
|
|
package org.gcube.portlets.user.accountingdashboard.shared;
|
|
|
|
|
|
|
|
/**
|
|
|
|
*
|
|
|
|
* @author Giancarlo Panichi
|
|
|
|
*
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
public class Constants {
|
|
|
|
|
2018-07-11 19:29:22 +02:00
|
|
|
public static final boolean DEBUG_MODE = true;
|
2018-07-05 18:29:38 +02:00
|
|
|
public static final boolean TEST_ENABLE = false;
|
|
|
|
|
|
|
|
public static final String APPLICATION_ID = "org.gcube.portlets.user.accountingdashboard.server.portlet.AccountingDashboardPortlet";
|
|
|
|
public static final String CMEMS_IMPORTER_ID = "AccountingDashboardId";
|
|
|
|
public static final String CMEMS_IMPORTER_COOKIE = "AccountingDashboardLangCookie";
|
|
|
|
public static final String CMEMS_IMPORTER_LANG = "AccountingDashBoradLang";
|
|
|
|
|
|
|
|
public static final String DEFAULT_USER = "giancarlo.panichi";
|
|
|
|
public static final String DEFAULT_SCOPE = "/gcube/devNext/NextNext";
|
2018-07-11 19:29:22 +02:00
|
|
|
public static final String DEFAULT_TOKEN = "ae1208f0-210d-47c9-9b24-d3f2dfcce05f-98187548";
|
2018-07-05 18:29:38 +02:00
|
|
|
public static final String DEFAULT_ROLE = "OrganizationMember";
|
|
|
|
|
|
|
|
//
|
|
|
|
public static final int PAGE_SIZE_DEFAULT = 20;
|
|
|
|
public static final int PAGE_SIZE_IN_FORM_DEFAULT = 10;
|
|
|
|
|
|
|
|
// Session
|
|
|
|
public static final String CURR_GROUP_ID = "CURR_GROUP_ID";
|
|
|
|
public static final String CURR_USER_ID = "CURR_USER_ID";
|
|
|
|
|
|
|
|
|
|
|
|
// Service
|
|
|
|
public static final int CLIENT_MONITOR_PERIODMILLIS = 2000;
|
|
|
|
|
|
|
|
|
|
|
|
}
|