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.dila.utils.constants;
35
36
37
38
39
40
41 public final class DilaConstants
42 {
43
44 public static final String MARK_NAME = "name";
45 public static final String MARK_CONTENT_TYPE_ID = "type_contenu_id";
46 public static final String MARK_CONTENT_TYPE_LIST = "type_contenu_list";
47 public static final String MARK_SOURCE = "source";
48 public static final String MARK_STYLESHEET_LIST = "stylesheet_list";
49 public static final String MARK_PAGINATOR = "paginator";
50 public static final String MARK_NB_ITEMS_PER_PAGE = "nb_items_per_page";
51 public static final String MARK_STYLESHEET = "stylesheet";
52 public static final String MARK_STYLESHEET_ID = "stylesheet_id";
53 public static final String MARK_CARD_ID = "id_fiche_locale";
54 public static final String MARK_LOCAL_ID = "id_local";
55 public static final String MARK_ID = "id";
56 public static final String MARK_PERMISSION_CREATE_STYLESHEET = "permission_create_stylesheet";
57 public static final String MARK_PERMISSION_DELETE_STYLESHEET = "permission_delete_stylesheet";
58 public static final String MARK_PERMISSION_MODIFY_STYLESHEET = "permission_modify_stylesheet";
59 public static final String MARK_PERMISSION_VIEW_STYLESHEET = "permission_view_stylesheet";
60 public static final String MARK_COMP_DATA_LIST = "donnees_list";
61 public static final String MARK_XMLURL_PARAM = "XMLURL";
62 public static final String MARK_CATEGORY_PARAM = "CATEGORIE";
63 public static final String MARK_HOW_TO_ID_PARAM = "HOW_TO_ID";
64 public static final String MARK_HOW_TO_TITLE_PARAM = "HOW_TO_TITLE";
65 public static final String MARK_REFERER_PARAM = "REFERER";
66 public static final String MARK_CARDID_PARAM = "FICHEID";
67
68
69 public static final String LABEL_ALL = "dila.manage_style_sheet.label_all";
70 public static final String LABEL_WITHOUT_TYPE = "dila.create_style_sheet.label_without_type";
71 public static final String PROPERTY_PATH_XSL = "path.stylesheet";
72 public static final String PROPERTY_STYLESHEETS_PER_PAGE = "paginator.stylesheet.itemsPerPage";
73 public static final String PROPERTY_TMP_DIRECTORY = "archives.dir.path.tmp";
74 public static final String PROPERTY_XML_DIRECTORY = "archive.dir.path.extract.final";
75 public static final String PROPERTY_XML_DIRECTORY_ASSO = "association.archive.dir.path.extract.final";
76 public static final String PROPERTY_XML_DIRECTORY_INDIVIDUALS = "individual.archive.dir.path.extract.final";
77 public static final String PROPERTY_XML_DIRECTORY_PROFESSIONALS = "professional.archive.dir.path.extract.final";
78 public static final String PROPERTY_XML_DIRECTORY_LOCALES_TOWN = "xmlDirectory.locales.communes";
79 public static final String PROPERTY_XML_DIRECTORY_LOCALES_ORGANISMS = "xmlDirectory.locales.organismes";
80 public static final String PROPERTY_INSEE = "dila.insee";
81 public static final String PROPERTY_XML_URL_INDIVIDUALS = "individual.archive.url";
82 public static final String PROPERTY_XML_NAME_INDIVIDUALS = "individual.archive.name";
83 public static final String PROPERTY_XML_TMP_INDIVIDUALS = "individual.archive.dir.path.extract.tmp";
84 public static final String PROPERTY_XML_FINAL_INDIVIDUALS = "individual.archive.dir.path.extract.final";
85 public static final String PROPERTY_XML_URL_ASSO = "association.archive.url";
86 public static final String PROPERTY_XML_NAME_ASSO = "association.archive.name";
87 public static final String PROPERTY_XML_TMP_ASSO = "association.archive.dir.path.extract.tmp";
88 public static final String PROPERTY_XML_FINAL_ASSO = "association.archive.dir.path.extract.final";
89 public static final String PROPERTY_XML_URL_PME = "professional.archive.url";
90 public static final String PROPERTY_XML_NAME_PME = "professional.archive.name";
91 public static final String PROPERTY_XML_TMP_PME = "professional.archive.dir.path.extract.tmp";
92 public static final String PROPERTY_XML_FINAL_PME = "professional.archive.dir.path.extract.final";
93 public static final String PROPERTY_XML_URL_LOCALES = "local.data.archive.url";
94 public static final String PROPERTY_XML_NAME_LOCALES = "local.data.archive.name";
95 public static final String PROPERTY_XML_TMP_LOCALES = "local.data.archive.dir.path.extract.tmp";
96 public static final String PROPERTY_XML_FINAL_LOCALES = "local.data.archive.dir.path.extract.final";
97 public static final String PROCESS_INDIVIDUAL = "individual";
98 public static final String PROCESS_ASSOCIATION = "association";
99 public static final String PROCESS_PROFESSIONAL = "professional";
100 public static final String PROCESS_LOCAL_DATA = "local data";
101 public static final String EXTENSION_ZIP = ".zip";
102 public static final String EXTENSION_BZIP2 = ".bz2";
103 public static final String EXTENSION_XML = ".xml";
104
105
106 public static final String MESSAGE_MANDATORY_FIELD = "dila.message.mandatory_field";
107 public static final String MESSAGE_STYLESHEET_ALREADY_EXISTS = "dila.message.stylesheetAlreadyExists";
108 public static final String MESSAGE_STYLESHEET_NOT_VALID = "dila.message.stylesheetNotValid";
109 public static final String MESSAGE_STYLESHEET_NAME_EXISTS = "dila.message.stylesheetNameExists";
110 public static final String MESSAGE_ERROR_OCCUR = "dila.message.error.erroroccur";
111 public static final String MESSAGE_TITLE_DELETE_STYLESHEET = "dila.message.title.delete_stylesheet";
112 public static final String MESSAGE_CONFIRMATION_DELETE_STYLESHEET = "dila.message.confirmation.delete_stylesheet";
113 public static final String MESSAGE_CONFIRMATION_DELETE_FICHE = "dila.message.confirmation.delete_fichelocale";
114 public static final String MESSAGE_TITLE_DELETE_FICHE = "dila.message.title.delete_fichelocale";
115 public static final String MESSAGE_CONFIRMATION_DELETE_DOSSIER = "dila.message.confirmation.delete_dossierlocal";
116 public static final String MESSAGE_TITLE_DELETE_DOSSIER = "dila.message.title.delete_dossierlocal";
117 public static final String MESSAGE_CONFIRMATION_DELETE_DONNEE = "dila.message.confirmation.delete_donneecomplementaire";
118 public static final String MESSAGE_TITLE_DELETE_DONNEE = "dila.message.title.delete_donneecomplementaire";
119
120
121 public static final String TEMPLATE_MANAGE_STYLESHEETS = "admin/plugins/dila/manage_stylesheets.html";
122 public static final String TEMPLATE_CREATE_STYLESHEET = "admin/plugins/dila/save_stylesheet.html";
123
124
125 public static final String JSP_MANAGE_STYLESHEET = "jsp/admin/plugins/dila/ManageStyleSheets.jsp";
126 public static final String JSP_MANAGE_LOCAL = "jsp/admin/plugins/dila/ManageLocalCard.jsp";
127 public static final String JSP_DELETE_DOSSIER = "jsp/admin/plugins/dila/DoDeleteLocalFolder.jsp";
128 public static final String JSP_DELETE_STYLESHEET = "jsp/admin/plugins/dila/DoDeleteStyleSheet.jsp";
129 public static final String JSP_DELETE_FICHE = "jsp/admin/plugins/dila/DoDeleteLocalCard.jsp";
130 public static final String JSP_DELETE_DONNEE = "jsp/admin/plugins/dila/DoDeleteComplementaryData.jsp";
131 public static final String JSP_MANAGE_DONNEES = "jsp/admin/plugins/dila/ManageComplementaryData.jsp";
132 public static final String CACHE_KEY_SEPARATOR = "_";
133 public static final String XML_EXTENSION = ".xml";
134 public static final String XPAGE_REFERER = "jsp/site/Portal.jsp?page=dila&categorie=";
135 public static final String XPAGE_REFERER_XMLFILE = "&xmlFile=";
136 public static final String XPAGE_PARTICULIERS = "jsp/site/Portal.jsp?page=dila&categorie=particuliers";
137 public static final String XPAGE_PME = "jsp/site/Portal.jsp?page=dila&categorie=professionnels";
138 public static final String XPAGE_ASSO = "jsp/site/Portal.jsp?page=dila&categorie=associations";
139 public static final String INDIVIDUAL_PREFIX = "individual";
140 public static final String ASSOCIATION_PREFIX = "association";
141 public static final String PROFESSIONAL_PREFIX = "professional";
142 public static final String PROPERTY_HOME_CARD = ".home.card";
143
144
145
146
147 private DilaConstants( )
148 {
149
150 }
151 }