View Javadoc
1   /*
2    * Copyright (c) 2002-2017, Mairie de Paris
3    * All rights reserved.
4    *
5    * Redistribution and use in source and binary forms, with or without
6    * modification, are permitted provided that the following conditions
7    * are met:
8    *
9    *  1. Redistributions of source code must retain the above copyright notice
10   *     and the following disclaimer.
11   *
12   *  2. Redistributions in binary form must reproduce the above copyright notice
13   *     and the following disclaimer in the documentation and/or other materials
14   *     provided with the distribution.
15   *
16   *  3. Neither the name of 'Mairie de Paris' nor 'Lutece' nor the names of its
17   *     contributors may be used to endorse or promote products derived from
18   *     this software without specific prior written permission.
19   *
20   * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21   * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22   * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23   * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE
24   * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
25   * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
26   * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27   * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28   * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29   * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
30   * POSSIBILITY OF SUCH DAMAGE.
31   *
32   * License 1.0
33   */
34  package fr.paris.lutece.plugins.workflow.modules.reply.util.constants;
35  
36  /**
37   *
38   * ReplyConstants
39   *
40   */
41  public final class ReplyConstants
42  {
43      // CONSTANTS
44      public static final String UNDERSCORE = "_";
45      public static final String ID = "id";
46      public static final String NAME = "name";
47      public static final String USER_AUTO = "auto";
48      public static final String SLASH = "/";
49  
50      // BEANS
51      public static final String BEAN_REPLY_CONFIG_SERVICE = "workflow-reply.taskReplyConfigService";
52  
53      // PROPERTIES
54      public static final String PROPERTY_LABEL_STATE_AFTER_EDITION = "module.workflow.reply.task_reply_config.label_state_after_edition";
55      public static final String PROPERTY_XPAGE_REPLY_PAGETITLE = "module.workflow.reply.reply.page_title";
56      public static final String PROPERTY_XPAGE_REPLY_PATHLABEL = "module.workflow.reply.reply.page_label";
57      public static final String PROPERTY_URL_RETURN = "workflow-reply.url_return";
58      public static final String PROPERTY_LUTECE_BASE_URL = "lutece.base.url";
59      public static final String PROPERTY_LUTECE_PROD_URL = "lutece.prod.url";
60  
61      // MARKS
62      public static final String MARK_CONFIG = "config";
63      public static final String MARK_LIST_STATES = "list_states";
64      public static final String MARK_LIST_ENTRIES = "list_entries";
65      public static final String MARK_REPLY = "reply";
66      public static final String MARK_MAP_ID_ENTRY_LIST_RECORD_FIELD = "map_id_entry_list_record_field";
67      public static final String MARK_WEBAPP_URL = "webapp_url";
68      public static final String MARK_LOCALE = "locale";
69      public static final String MARK_URL_RETURN = "url_return";
70      public static final String MARK_SIGNATURE = "signature";
71      public static final String MARK_TIMESTAMP = "timestamp";
72      public static final String MARK_ID_DIRECTORY_RECORD = "id_directory_record";
73  
74      // PARAMETERS
75      public static final String PARAMETER_REPLY_MESSAGE = "reply_message";
76      public static final String PARAMETER_IDS_ENTRY = "ids_entry";
77      public static final String PARAMETER_ID_HISTORY = "id_history";
78      public static final String PARAMETER_ID_STATE = "id_state";
79      public static final String PARAMETER_ID_TASK = "id_task";
80      public static final String PARAMETER_ACTION = "action";
81      public static final String PARAMETER_URL_RETURN = "url_return";
82      public static final String PARAMETER_SIGNATURE = "signature";
83      public static final String PARAMETER_TIMESTAMP = "timestamp";
84      public static final String PARAMETER_DEFAULT_MESSAGE = "default_message";
85  
86      // TAGS
87      public static final String TAG_REPLY = "reply";
88      public static final String TAG_MESSAGE = "message";
89      public static final String TAG_LIST_IDS_ENTRY = "list-ids-entry";
90      public static final String TAG_ID_ENTRY = "id-entry";
91  
92      // SESSION
93      public static final String SESSION_REPLY_LIST_SUBMITTED_RECORD_FIELDS = "reply_list_submitted_record_fields";
94  
95      // MESSAGES
96      public static final String MESSAGE_DIRECTORY_ERROR = "module.workflow.reply.message.directory_error";
97      public static final String MESSAGE_APP_ERROR = "module.workflow.reply.message.app_error";
98  
99      /**
100      * Private constructor
101      */
102     private ReplyConstants( )
103     {
104     }
105 }