package pt.estgp.estgweb;
import pt.estgp.estgweb.utils.ConfigProperties;
import java.util.List;
import java.math.BigDecimal;
/**
* @author Jorge Machado
* @date 28/Fev/2008
* @time 12:51:32
* @see pt.estgp.estgweb
*/
public class Globals
{
public static final int SEARCH_MAX_RESULTS = ConfigProperties.
getIntProperty("search.max.results");
public static final int SEARCH_BEST_FRAGMENTS_MAX_FRAGMENT_SIZE = ConfigProperties.
getIntProperty("search.best.fragments.max.fragment.size");
public static final int SEARCH_BEST_FRAGMENTS_MAX_FRAGMENTS = ConfigProperties.
getIntProperty("search.best.fragments.max.fragments");
public static final 1.5.0/docs/api/java/lang/String.html">String ALL_ROLE = ConfigProperties.
getProperty("user.super");
public static final 1.5.0/docs/api/java/lang/String.html">String ACTUAL_RELATIVE_PATH =
"ACTUAL_RELATIVE_PATH";
public static final 1.5.0/docs/api/java/lang/String.html">String ADMIN_ROLE = ConfigProperties.
getProperty("user.admin");
public static final 1.5.0/docs/api/java/lang/String.html">String SUPER_USER_ROLE = ConfigProperties.
getProperty("user.super");
public static final 1.5.0/docs/api/java/lang/String.html">String USER_SESSION_KEY =
"UserSession";
public static final List
<String
> AUTOMATIC_VALIDATION_ROLES = ConfigProperties.
getListValues("announcements.automatic.validation.role");
public static final 1.5.0/docs/api/java/lang/String.html">String TMP_DIR = ConfigProperties.
getProperty("tmp.dir");
public static final 1.5.0/docs/api/java/lang/String.html">String EMAIL_SERVER_HOST = ConfigProperties.
getProperty("email.server");
public static final 1.5.0/docs/api/java/lang/String.html">String SYSTEM_EMAIL_BOX = ConfigProperties.
getProperty("email.from");
public static final 1.5.0/docs/api/java/lang/String.html">String ANNOUNCEMENT_TYPE_NEWS =
"news";
public static final 1.5.0/docs/api/java/lang/String.html">String ANNOUNCEMENT_TYPE_TOP_FLASH_NEWS =
"top.flash.news";
public static final 1.5.0/docs/api/java/lang/String.html">String ANNOUNCEMENT_TYPE_BOTTOM_FLASH_NEWS =
"bottom.flash.news";
public static final int NUMBER_ANNOUNCEMENT_TYPE_NEW_INDEX =
5;
public static final int NUMBER_ANNOUNCEMENT_TYPE_TOP_FLASH_NEWS_INDEX =
1;
public static final int NUMBER_ANNOUNCEMENT_TYPE_BOTTOM_FLASH_NEWS_INDEX =
2;
public static final int ANNOUNCEMENT_TYPE_TOP_FLASH_NEWS_TIMEOUT = ConfigProperties.
getIntProperty("announcements.top.flash.news.timeout.miliseconds");
public static List
<String
> USER_ROLES = ConfigProperties.
getListValues("user.role");
public static final 1.5.0/docs/api/java/lang/String.html">String STUDENT_ROLE = ConfigProperties.
getProperty("user.student");
public static final 1.5.0/docs/api/java/lang/String.html">String TEACHER_ROLE = ConfigProperties.
getProperty("user.teacher");
public static final 1.5.0/docs/api/java/math/BigDecimal.html">BigDecimal SIGES_INSTITUTION_CODE =
new 1.5.0/docs/api/java/math/BigDecimal.html">BigDecimal(ConfigProperties.
getIntProperty("siges.institution.code"));
public static final long URL_STAT_CHART_EXPIRE_INTERVAL = ConfigProperties.
getIntProperty("url.stat.image.expire.interval.time.minutes");
public static final 1.5.0/docs/api/java/lang/String.html">String URL_STAT_CHART_TMP_DIR = ConfigProperties.
getProperty("url.stat.tmp.dir");
public static final int URL_STAT_CACHE_SIZE = ConfigProperties.
getIntProperty("url.stat.click.cache.size");
public static final long URL_STAT_CACHE_TIMEOUT = ConfigProperties.
getIntProperty("url.stat.click.cache.timeout") * 60
* 1000;
public static final List
<String
> URL_STAT_IGNORE_EXTENSIONS = ConfigProperties.
getListValues("url.stat.ignore.extension");
public static final List
<String
> URL_STAT_IGNORE_PREFIXS = ConfigProperties.
getListValues("url.stat.ignore.prefix");
public static final 1.5.0/docs/api/java/lang/String.html">String SITE_URL = ConfigProperties.
getProperty("site.url");
public static final 1.5.0/docs/api/java/lang/String.html">String INTRANET_MESSAGES_PREFIX =
"intranet.";
public static final List
<String
> ANNOUNCEMENTS_VALIDATOR_ROLES = ConfigProperties.
getListValues("announcements.validator.role");
public static final 1.5.0/docs/api/java/lang/String.html">String POP_SERVER = ConfigProperties.
getProperty("pop.server");
public static final int POP_MAX_MESSAGES = ConfigProperties.
getIntProperty("pop.max.messages");
public static final 1.5.0/docs/api/java/lang/String.html">String POP_WEB_INTERFACE = ConfigProperties.
getProperty("pop.web.interface");
public static final boolean POP_CONTAINER_USAGE = ConfigProperties.
getBooleanProperty("pop.container.use");
public static final int POP_FRAGMENT_TEXT_SIZE = ConfigProperties.
getIntProperty("pop.fragment.text.size");
public static final int POP_REFRESH_TIMEOUT_MILISECONDS = ConfigProperties.
getIntProperty("pop.refresh.timeout.minutes") * 1000
* 60;
}