1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34 package fr.paris.lutece.plugins.crm.modules.form.util;
35
36
37
38
39
40
41
42 public final class Constants
43 {
44
45 public static final String SEPARATOR = ",";
46 public static final String INVALID_ID = "-1";
47 public static final String UNDERSCORE = "_";
48
49
50 public static final String PARAM_ID_DEMAND_TYPE = "id_demand_type";
51 public static final String PARAM_ID_DEMAND = "id_demand";
52 public static final String PARAM_USER_GUID = "user_guid";
53 public static final String PARAM_ID_STATUS_CRM = "id_status_crm";
54 public static final String PARAM_STATUS_TEXT = "status_text";
55 public static final String PARAM_DEMAND_DATA = "demand_data";
56 public static final String PARAM_ID_BLOB = "id_blob";
57 public static final String PARAM_ID_CRM_USER = "id_crm_user";
58 public static final String PARAMETER_URL_RETURN = "url_return";
59 public static final String PARAMETER_ACTION_NAME = "action";
60 public static final String PARAM_CRM_WEBB_APP_CODE = "crm_web_app_code";
61
62
63
64 public static final String SESSION_ATTRIBUTE_ID_DEMAND_PARAMS = "FORM_ID_DEMAND";
65 public static final String SESSION_ATTRIBUTE_USER_GUID_PARAMS = "FORM_USER_GUID";
66 public static final String SESSION_ATTRIBUTE_DEMAND_DATA_PARAMS = "FORM_DEMAND_DATA";
67 public static final String SESSION_ATTRIBUTE_DEMAND_CRM_WEBB_APP_CODE_PARAMS= "FORM_CRM_WEB_APP_CODE";
68
69
70 public static final String JSON_KEY_FORM = "form";
71 public static final String JSON_KEY_SUBFORMS = "subforms";
72
73
74 public static final String PROPERTY_CRM_STATUS_TEXT_NEW = "module.crm.form.crm.status.text.new";
75 public static final String PROPERTY_CRM_STATUS_TEXT_MODIF = "module.crm.form.crm.status.text.modif";
76 public static final String PROPERTY_CRM_STATUS_TEXT_VALIDATE = "module.crm.form.crm.status.text.validate";
77 public static final String PROPERTY_MESSAGE_STOP_ACCESS_DENIED = "module.crm.form.message.stop.accessDenied";
78 public static final String PROPERTY_MESSAGE_INFO_REMOVE_DEMAND = "module.crm.form.message.info.removeDemand";
79 public static final String PROPERTY_MESSAGE_ERROR_CALLING_WS = "module.crm.form.message.error.calling.ws";
80
81
82
83 public static final String ACTION_DO_REMOVE_DRAFT = "do_remove_draft";
84 public static final String ACTION_REMOVE_DRAFT = "remove_draft";
85
86
87
88
89 private Constants( )
90 {
91 }
92 }