Rev 29 | Rev 42 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1 | fvelez | 1 | package pt.estgp.estgweb; |
2 | |||
3 | import pt.estgp.estgweb.utils.ConfigProperties; |
||
4 | |||
9 | jmachado | 5 | import java.util.List; |
6 | |||
1 | fvelez | 7 | /** |
8 | * @author Jorge Machado |
||
9 | * @date 28/Fev/2008 |
||
10 | * @time 12:51:32 |
||
11 | * @see pt.estgp.estgweb |
||
12 | */ |
||
13 | public class Globals |
||
14 | { |
||
18 | jmachado | 15 | |
16 | public static final 1.5.0/docs/api/java/lang/String.html">String ACTUAL_RELATIVE_PATH = "ACTUAL_RELATIVE_PATH"; |
||
1 | fvelez | 17 | public static final 1.5.0/docs/api/java/lang/String.html">String ADMIN_ROLE = ConfigProperties.getProperty("user.admin"); |
18 | public static final 1.5.0/docs/api/java/lang/String.html">String SUPER_USER_ROLE = ConfigProperties.getProperty("user.super"); |
||
19 | public static final 1.5.0/docs/api/java/lang/String.html">String USER_SESSION_KEY = "USER_SESSION_KEY"; |
||
9 | jmachado | 20 | public static final List<String> AUTOMATIC_VALIDATION_ROLES = ConfigProperties.getListValues("announcements.automatic.validation.role"); |
18 | jmachado | 21 | public static final 1.5.0/docs/api/java/lang/String.html">String TMP_DIR = ConfigProperties.getProperty("tmp.dir"); |
29 | jmachado | 22 | public static final 1.5.0/docs/api/java/lang/String.html">String EMAIL_SERVER_HOST = ConfigProperties.getProperty("email.server"); |
23 | public static final 1.5.0/docs/api/java/lang/String.html">String SYSTEM_EMAIL_BOX = ConfigProperties.getProperty("email.from"); |
||
35 | fvelez | 24 | public static final 1.5.0/docs/api/java/lang/String.html">String ANNOUNCEMENT_TYPE_NEWS = "news"; |
25 | public static final 1.5.0/docs/api/java/lang/String.html">String ANNOUNCEMENT_TYPE_TOP_FLASH_NEWS = "top.flash.news"; |
||
26 | public static final 1.5.0/docs/api/java/lang/String.html">String ANNOUNCEMENT_TYPE_BOTTOM_FLASH_NEWS = "bottom.flash.news"; |
||
1 | fvelez | 27 | } |