Subversion Repositories bacoAlunos

Rev

Rev 73 | 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
 
90 jmachado 16
    public static final int SEARCH_MAX_RESULTS = ConfigProperties.getIntProperty("search.max.results");
17
    public static final 1.5.0/docs/api/java/lang/String.html">String ALL_ROLE = ConfigProperties.getProperty("user.super");
18 jmachado 18
    public static final 1.5.0/docs/api/java/lang/String.html">String ACTUAL_RELATIVE_PATH = "ACTUAL_RELATIVE_PATH";
1 fvelez 19
    public static final 1.5.0/docs/api/java/lang/String.html">String ADMIN_ROLE = ConfigProperties.getProperty("user.admin");
20
    public static final 1.5.0/docs/api/java/lang/String.html">String SUPER_USER_ROLE = ConfigProperties.getProperty("user.super");
44 fvelez 21
    public static final 1.5.0/docs/api/java/lang/String.html">String USER_SESSION_KEY = "UserSession";
9 jmachado 22
    public static final List<String> AUTOMATIC_VALIDATION_ROLES = ConfigProperties.getListValues("announcements.automatic.validation.role");
18 jmachado 23
    public static final 1.5.0/docs/api/java/lang/String.html">String TMP_DIR = ConfigProperties.getProperty("tmp.dir");
29 jmachado 24
    public static final 1.5.0/docs/api/java/lang/String.html">String EMAIL_SERVER_HOST = ConfigProperties.getProperty("email.server");
25
    public static final 1.5.0/docs/api/java/lang/String.html">String SYSTEM_EMAIL_BOX = ConfigProperties.getProperty("email.from");
35 fvelez 26
    public static final 1.5.0/docs/api/java/lang/String.html">String ANNOUNCEMENT_TYPE_NEWS = "news";
27
    public static final 1.5.0/docs/api/java/lang/String.html">String ANNOUNCEMENT_TYPE_TOP_FLASH_NEWS = "top.flash.news";
28
    public static final 1.5.0/docs/api/java/lang/String.html">String ANNOUNCEMENT_TYPE_BOTTOM_FLASH_NEWS = "bottom.flash.news";
42 fvelez 29
    public static final int NUMBER_ANNOUNCEMENT_TYPE_NEW_INDEX=5;
30
    public static final int NUMBER_ANNOUNCEMENT_TYPE_TOP_FLASH_NEWS_INDEX=1;
31
    public static final int NUMBER_ANNOUNCEMENT_TYPE_BOTTOM_FLASH_NEWS_INDEX=2;
53 jmachado 32
    public static final int ANNOUNCEMENT_TYPE_TOP_FLASH_NEWS_TIMEOUT=ConfigProperties.getIntProperty("announcements.top.flash.news.timeout.miliseconds");
73 jmachado 33
    public static List<String> USER_ROLES = ConfigProperties.getListValues("user.role");
42 fvelez 34
 
1 fvelez 35
}