Rev 1876 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1814 | jmachado | 1 | package pt.estgp.estgweb.utils; |
1 | fvelez | 2 | |
9 | jmachado | 3 | import java.util.List; |
4 | |||
1 | fvelez | 5 | /** |
6 | * @author Jorge Machado |
||
7 | * @date 28/Fev/2008 |
||
8 | * @time 12:51:32 |
||
9 | * @see pt.estgp.estgweb |
||
10 | */ |
||
92 | jmachado | 11 | public class Globals { |
18 | jmachado | 12 | |
92 | jmachado | 13 | |
1844 | jmachado | 14 | public static final 1.5.0/docs/api/java/lang/String.html">String SYSTEM_PUBLIC_URL_SERVLETPATH = ConfigProperties.getProperty("system.public.url"); |
1312 | jmachado | 15 | public static final 1.5.0/docs/api/java/lang/String.html">String SYSTEM_INTRANET_URL = ConfigProperties.getProperty("system.intranet.url"); |
16 | public static final boolean TEST_ENVIRONEMENT = ConfigProperties.getBooleanProperty("test.control.var");; |
||
17 | |||
244 | jmachado | 18 | public static 1.5.0/docs/api/java/lang/String.html">String CLASSES_ABSOLUTE_PATH; |
19 | |||
20 | static |
||
21 | { |
||
22 | CLASSES_ABSOLUTE_PATH = Globals.class.getProtectionDomain().getCodeSource().getLocation().toString().replace("%20"," "); |
||
23 | if(CLASSES_ABSOLUTE_PATH.endsWith("Globals.class")) CLASSES_ABSOLUTE_PATH = CLASSES_ABSOLUTE_PATH.substring(0, CLASSES_ABSOLUTE_PATH.lastIndexOf("/")) + "/../../../"; |
||
24 | if(CLASSES_ABSOLUTE_PATH.endsWith(".jar")) CLASSES_ABSOLUTE_PATH = CLASSES_ABSOLUTE_PATH.substring(0, CLASSES_ABSOLUTE_PATH.lastIndexOf("/")) + "/../classes/"; |
||
25 | if(CLASSES_ABSOLUTE_PATH.endsWith("/")) |
||
26 | CLASSES_ABSOLUTE_PATH = CLASSES_ABSOLUTE_PATH.substring(0,CLASSES_ABSOLUTE_PATH.length()-1); |
||
27 | } |
||
368 | jmachado | 28 | |
1069 | jmachado | 29 | /* |
381 | jmachado | 30 | //place, List |
31 | public static Map<String,List<DirectoryImpl>> DIRECTORIES = new HashMap<String,List<DirectoryImpl>>(); |
||
368 | jmachado | 32 | |
381 | jmachado | 33 | |
34 | |||
35 | public static List<DirectoryImpl> getDirectories(String place) |
||
368 | jmachado | 36 | { |
381 | jmachado | 37 | |
38 | List<DirectoryImpl> directories = DIRECTORIES.get(place); |
||
39 | if(directories != null) |
||
40 | return directories; |
||
41 | else |
||
42 | { |
||
43 | DirectoryService directoryService = new DirectoryService(); |
||
44 | directories = directoryService.loadDirectories(CLASSES_ABSOLUTE_PATH,place); |
||
45 | DIRECTORIES.put(place,directories); |
||
46 | return directories; |
||
47 | } |
||
368 | jmachado | 48 | } |
1069 | jmachado | 49 | */ |
368 | jmachado | 50 | |
51 | |||
1618 | jmachado | 52 | public static final 1.5.0/docs/api/java/lang/String.html">String ROLE_ROLE_MANAGEMENT = "servicesRolesManagement"; |
853 | jmachado | 53 | public static final 1.5.0/docs/api/java/lang/String.html">String ROLE_PROCESSES_ADMIN = "processes.admin"; |
430 | jmachado | 54 | public static final 1.5.0/docs/api/java/lang/String.html">String INTRANET_IMPRESSAO_SERVICO_API = ConfigProperties.getProperty("impressao.servicos.api"); |
55 | public static final boolean INTRANET_IMPRESSAO_SERVICO_AUTH = ConfigProperties.getBooleanProperty("impressao.servicos.auth"); |
||
56 | |||
57 | public static final 1.5.0/docs/api/java/lang/String.html">String INTRANET_IMPRESSAO_SERVICO_AUTH_USER_PROPERTY = ConfigProperties.getProperty("impressao.servicos.auth.user.property"); |
||
58 | public static final 1.5.0/docs/api/java/lang/String.html">String INTRANET_IMPRESSAO_SERVICO_AUTH_PASS_PROPERTY = ConfigProperties.getProperty("impressao.servicos.auth.pass.property"); |
||
59 | public static 1.5.0/docs/api/java/lang/String.html">String INTRANET_IMPRESSAO_SERVICO_AUTH_USER = ConfigProperties.getProperty("impressao.servicos.auth.user"); |
||
60 | public static 1.5.0/docs/api/java/lang/String.html">String INTRANET_IMPRESSAO_SERVICO_AUTH_PASS = ConfigProperties.getProperty("impressao.servicos.auth.pass"); |
||
61 | |||
62 | static |
||
63 | { |
||
64 | if(INTRANET_IMPRESSAO_SERVICO_AUTH) |
||
65 | { |
||
66 | if(INTRANET_IMPRESSAO_SERVICO_AUTH_USER_PROPERTY != null && INTRANET_IMPRESSAO_SERVICO_AUTH_USER_PROPERTY.length() > 0) |
||
67 | { |
||
68 | INTRANET_IMPRESSAO_SERVICO_AUTH_USER = ConfigProperties.getProperty(INTRANET_IMPRESSAO_SERVICO_AUTH_USER_PROPERTY); |
||
69 | INTRANET_IMPRESSAO_SERVICO_AUTH_PASS = ConfigProperties.getProperty(INTRANET_IMPRESSAO_SERVICO_AUTH_PASS_PROPERTY); |
||
70 | } |
||
71 | else |
||
72 | { |
||
73 | INTRANET_IMPRESSAO_SERVICO_AUTH_USER = ConfigProperties.getProperty("impressao.servicos.auth.user"); |
||
74 | INTRANET_IMPRESSAO_SERVICO_AUTH_PASS = ConfigProperties.getProperty("impressao.servicos.auth.pass"); |
||
75 | } |
||
76 | } |
||
77 | |||
78 | } |
||
79 | |||
542 | jmachado | 80 | |
1005 | jmachado | 81 | public static final int FTP_TIMEOUT_SECONDS = ConfigProperties.getIntProperty("ftp.timeout.seconds"); |
1008 | jmachado | 82 | public static final int FTP_DATA_STORE_TIMEOUT_SECONDS = ConfigProperties.getIntProperty("ftp.data.store.timeout.seconds"); |
1005 | jmachado | 83 | |
542 | jmachado | 84 | public static final boolean USE_TOP_FLASH_NEWS = ConfigProperties.getBooleanProperty("announcements.use.top.flash.news"); |
85 | |||
558 | jmachado | 86 | public static final 1.5.0/docs/api/java/lang/String.html">String INTRANET_ROOT = ""; //e' mesmo assim |
223 | jmachado | 87 | public static final 1.5.0/docs/api/java/lang/String.html">String INTRANET_CONTENTS = ConfigProperties.getProperty("intranet.contents.dir"); |
88 | public static final 1.5.0/docs/api/java/lang/String.html">String INTRANET_GRADES = ConfigProperties.getProperty("intranet.grades.dir"); |
||
89 | public static final 1.5.0/docs/api/java/lang/String.html">String INTRANET_PRESENCES = ConfigProperties.getProperty("intranet.presences.dir"); |
||
901 | jmachado | 90 | public static final 1.5.0/docs/api/java/lang/String.html">String INTRANET_DTP = ConfigProperties.getProperty("intranet.dtp.dir"); |
223 | jmachado | 91 | |
901 | jmachado | 92 | public static final 1.5.0/docs/api/java/lang/String.html">String INTRANET_DTP_Planeamento = ConfigProperties.getProperty("intranet.dtp.planeamento"); |
93 | public static final 1.5.0/docs/api/java/lang/String.html">String INTRANET_DTP_FichaCurricular = ConfigProperties.getProperty("intranet.dtp.ficha_curricular"); |
||
94 | public static final 1.5.0/docs/api/java/lang/String.html">String INTRANET_DTP_Sumarios = ConfigProperties.getProperty("intranet.dtp.sumarios"); |
||
95 | public static final 1.5.0/docs/api/java/lang/String.html">String INTRANET_DTP_Avaliacao = ConfigProperties.getProperty("intranet.dtp.avaliacao"); |
||
96 | public static final 1.5.0/docs/api/java/lang/String.html">String INTRANET_DTP_Avaliacao_enunciados = ConfigProperties.getProperty("intranet.dtp.avaliacao.enunciados"); |
||
97 | public static final 1.5.0/docs/api/java/lang/String.html">String INTRANET_DTP_Avaliacao_pautas = ConfigProperties.getProperty("intranet.dtp.avaliacao.pautas"); |
||
98 | public static final 1.5.0/docs/api/java/lang/String.html">String INTRANET_DTP_FichaAvaliacao = ConfigProperties.getProperty("intranet.dtp.ficha_avaliacao"); |
||
99 | public static final 1.5.0/docs/api/java/lang/String.html">String INTRANET_DTP_InqueritoPedagogico = ConfigProperties.getProperty("intranet.dtp.inquerito_pedagogico"); |
||
100 | public static final boolean INTRANET_DTP_CourseCoordinatorWrite = ConfigProperties.getBooleanProperty("intranet.dtp.course.coordinator.write"); |
||
101 | public static final boolean INTRANET_DTP_CourseDirectorWrite = ConfigProperties.getBooleanProperty("intranet.dtp.course.director.write"); |
||
102 | public static final boolean INTRANET_DTP_CourseUnitResponsibleWrite = ConfigProperties.getBooleanProperty("intranet.dtp.course.unit.responsible.write"); |
||
1136 | jmachado | 103 | //use , as separator |
104 | public static final List<String> INTRANET_DTP_FULLCONTROL_ROLES = StringsUtils.getStringsFromSerial(ConfigProperties.getProperty("intranet.dtp.course.unit.fullcontrol.roles"),","); |
||
105 | public static final 1.5.0/docs/api/java/lang/String.html">String INTRANET_DTP_INQUERITO_PEDAGOGICO_ROLE = ConfigProperties.getProperty("intranet.dtp.course.unit.inquerito_pedagogico.role"); |
||
901 | jmachado | 106 | |
107 | |||
108 | |||
90 | jmachado | 109 | public static final int SEARCH_MAX_RESULTS = ConfigProperties.getIntProperty("search.max.results"); |
92 | jmachado | 110 | public static final int SEARCH_BEST_FRAGMENTS_MAX_FRAGMENT_SIZE = ConfigProperties.getIntProperty("search.best.fragments.max.fragment.size"); |
111 | public static final int SEARCH_BEST_FRAGMENTS_MAX_FRAGMENTS = ConfigProperties.getIntProperty("search.best.fragments.max.fragments"); |
||
112 | |||
90 | jmachado | 113 | public static final 1.5.0/docs/api/java/lang/String.html">String ALL_ROLE = ConfigProperties.getProperty("user.super"); |
344 | jmachado | 114 | public static final 1.5.0/docs/api/java/lang/String.html">String SERVICES_PROGRAMS_ROLE = ConfigProperties.getProperty("user.servicesPrograms"); |
1354 | jmachado | 115 | public static final 1.5.0/docs/api/java/lang/String.html">String COURSE_COMMISSION_PROGRAMS_ROLES_PREFIX = ConfigProperties.getProperty("user.courseValidateProgram.prefix"); |
344 | jmachado | 116 | |
18 | jmachado | 117 | public static final 1.5.0/docs/api/java/lang/String.html">String ACTUAL_RELATIVE_PATH = "ACTUAL_RELATIVE_PATH"; |
1 | fvelez | 118 | public static final 1.5.0/docs/api/java/lang/String.html">String ADMIN_ROLE = ConfigProperties.getProperty("user.admin"); |
119 | public static final 1.5.0/docs/api/java/lang/String.html">String SUPER_USER_ROLE = ConfigProperties.getProperty("user.super"); |
||
215 | jmachado | 120 | public static final 1.5.0/docs/api/java/lang/String.html">String MANAGED_IDENTIFIER_MANAGERS_ROLE = ConfigProperties.getProperty("user.identifiersManagers"); |
44 | fvelez | 121 | public static final 1.5.0/docs/api/java/lang/String.html">String USER_SESSION_KEY = "UserSession"; |
9 | jmachado | 122 | public static final List<String> AUTOMATIC_VALIDATION_ROLES = ConfigProperties.getListValues("announcements.automatic.validation.role"); |
18 | jmachado | 123 | public static final 1.5.0/docs/api/java/lang/String.html">String TMP_DIR = ConfigProperties.getProperty("tmp.dir"); |
187 | jmachado | 124 | public static final 1.5.0/docs/api/java/lang/String.html">String DATA_DIR = ConfigProperties.getProperty("data.dir"); |
995 | jmachado | 125 | public static final 1.5.0/docs/api/java/lang/String.html">String JOB_SERVICES_LOG_DIR = ConfigProperties.getProperty("data.dir") + java.io.1.5.0/docs/api/java/io/File.html">File.separator + "jobslogs"; |
1431 | jmachado | 126 | |
29 | jmachado | 127 | public static final 1.5.0/docs/api/java/lang/String.html">String EMAIL_SERVER_HOST = ConfigProperties.getProperty("email.server"); |
929 | jmachado | 128 | public static final 1.5.0/docs/api/java/lang/String.html">String EMAIL_SERVER_SECURITY = ConfigProperties.getProperty("email.server.security"); |
129 | public static final int EMAIL_SERVER_SECURITY_TLS = ConfigProperties.getIntProperty("email.server.security.tls"); |
||
130 | public static final int EMAIL_SERVER_SECURITY_SSL = ConfigProperties.getIntProperty("email.server.security.ssl"); |
||
1260 | jmachado | 131 | |
132 | public static final 1.5.0/docs/api/java/lang/String.html">String EMAIL_SERVER_USER_PREFIX = ConfigProperties.getProperty("email.user.prefix"); |
||
133 | public static final 1.5.0/docs/api/java/lang/String.html">String EMAIL_SERVER_USER_SUFIX = ConfigProperties.getProperty("email.user.sufix"); |
||
134 | public static final int EMAIL_SERVER_USER_COUNT = ConfigProperties.getIntProperty("email.user.count"); |
||
135 | |||
929 | jmachado | 136 | public static final 1.5.0/docs/api/java/lang/String.html">String EMAIL_SERVER_USERNAME = ConfigProperties.getProperty("email.user"); |
137 | public static final 1.5.0/docs/api/java/lang/String.html">String EMAIL_SERVER_PASSWORD = ConfigProperties.getProperty("email.password"); |
||
138 | |||
1426 | jmachado | 139 | |
1455 | jmachado | 140 | |
141 | |||
142 | |||
1426 | jmachado | 143 | public static final 1.5.0/docs/api/java/lang/String.html">String ADMIN_EMAIL = ConfigProperties.getProperty("admin.email"); |
144 | public static final 1.5.0/docs/api/java/lang/String.html">String ADMIN_EMAIL_2 = ConfigProperties.getProperty("admin.email.2"); |
||
1431 | jmachado | 145 | |
146 | public static final boolean SYSTEM_EMAIL_USE_SECURITY = ConfigProperties.getBooleanProperty("email.use.security"); |
||
147 | public static final boolean SYSTEM_EMAIL_USE_ROUND_ROBIN = ConfigProperties.getBooleanProperty("email.use.round.robin"); |
||
29 | jmachado | 148 | public static final 1.5.0/docs/api/java/lang/String.html">String SYSTEM_EMAIL_BOX = ConfigProperties.getProperty("email.from"); |
1431 | jmachado | 149 | |
35 | fvelez | 150 | public static final 1.5.0/docs/api/java/lang/String.html">String ANNOUNCEMENT_TYPE_NEWS = "news"; |
151 | public static final 1.5.0/docs/api/java/lang/String.html">String ANNOUNCEMENT_TYPE_TOP_FLASH_NEWS = "top.flash.news"; |
||
152 | public static final 1.5.0/docs/api/java/lang/String.html">String ANNOUNCEMENT_TYPE_BOTTOM_FLASH_NEWS = "bottom.flash.news"; |
||
1312 | jmachado | 153 | public static final 1.5.0/docs/api/java/lang/String.html">String ANNOUNCEMENT_TYPE_EVENTS_NEWS = "events.news"; |
214 | jmachado | 154 | public static final 1.5.0/docs/api/java/lang/String.html">String ANNOUNCEMENT_TYPE_TODO = "todo"; |
765 | jmachado | 155 | public static final 1.5.0/docs/api/java/lang/String.html">String ANNOUNCEMENT_TYPE_POPUP = "popup"; |
214 | jmachado | 156 | public static final 1.5.0/docs/api/java/lang/String.html">String ANNOUNCEMENT_TYPE_COURSE_UNIT = "courseUnitAnnouncement"; |
92 | jmachado | 157 | public static final int NUMBER_ANNOUNCEMENT_TYPE_NEW_INDEX = 5; |
158 | public static final int NUMBER_ANNOUNCEMENT_TYPE_TOP_FLASH_NEWS_INDEX = 1; |
||
159 | public static final int NUMBER_ANNOUNCEMENT_TYPE_BOTTOM_FLASH_NEWS_INDEX = 2; |
||
160 | public static final int ANNOUNCEMENT_TYPE_TOP_FLASH_NEWS_TIMEOUT = ConfigProperties.getIntProperty("announcements.top.flash.news.timeout.miliseconds"); |
||
214 | jmachado | 161 | public static final List<String> ANNOUNCEMENT_NOT_STANDARD = ConfigProperties.getListValues("announcements.not.standard"); |
420 | jmachado | 162 | |
995 | jmachado | 163 | public static boolean USE_LDAP = ConfigProperties.getBooleanProperty("use.ldap"); |
1283 | jmachado | 164 | // passou a usar-se o UserRoleProxy |
165 | // public static List<String> USER_ROLES = ConfigProperties.getListValues("user.role"); |
||
42 | fvelez | 166 | |
151 | fvelez | 167 | public static final 1.5.0/docs/api/java/lang/String.html">String STUDENT_ROLE = ConfigProperties.getProperty("user.student"); |
168 | public static final 1.5.0/docs/api/java/lang/String.html">String TEACHER_ROLE = ConfigProperties.getProperty("user.teacher"); |
||
221 | jmachado | 169 | public static final 1.5.0/docs/api/java/lang/String.html">String EMAIL_LOCAL_SUFFIX = ConfigProperties.getProperty("email.local.suffix"); |
163 | jmachado | 170 | |
221 | jmachado | 171 | |
214 | jmachado | 172 | public static final 1.5.0/docs/api/java/lang/String.html">String COURSE_COORDINATOR_ROLE = ConfigProperties.getProperty("user.courseCoordinator"); |
173 | public static final 1.5.0/docs/api/java/lang/String.html">String COURSE_DIRECTOR_ROLE = ConfigProperties.getProperty("user.courseDirector"); |
||
174 | |||
175 | |||
176 | public static final 1.5.0/docs/api/java/lang/String.html">String BLOG_TYPE_COURSE_UNIT = ConfigProperties.getProperty("blog.type.courseunit"); |
||
177 | |||
506 | jmachado | 178 | //LEGADO PARA REMOVER |
376 | jmachado | 179 | public static final List<String> AREAS = ConfigProperties.getListValues("area"); |
1876 | grupo4 | 180 | |
506 | jmachado | 181 | public static final List<String> DEPARTAMENTOS = ConfigProperties.getListValues("departamento"); |
376 | jmachado | 182 | |
163 | jmachado | 183 | /*SIGES WEB SERVICES*/ |
1918 | grupo4 | 184 | //NAO É URGENTE PARA ACTUALIZACOES VAMOS DEIXAR CARREGAR DA BD E NAS ACTUALIZAÇOES MUDA AQUI |
1020 | jmachado | 185 | //public static BigDecimal NATIONAL_INSTITUTION_CODE = new BigDecimal(DaoFactory.getConfigurationDaoImpl().getNationalInstitutionCodeCreateTransaction()); |
1017 | jmachado | 186 | // DONT USE NOW IN CONFIGURATION DAO public static final BigDecimal SIGES_INSTITUTION_CODE = new BigDecimal(ConfigProperties.getIntProperty("siges.institution.code")); |
187 | // DONT USE ANY MORE NOW IS IN CONFIGURATION DAOpublic static final String SIGES_WEBSERVICE_WSDL = ConfigProperties.getProperty("ws.siges.wsdl"); |
||
163 | jmachado | 188 | public static final 1.5.0/docs/api/java/lang/String.html">String SIGES_WEBSERVICE_TARGET_NAMESPACE = ConfigProperties.getProperty("ws.siges.target.namespace"); |
219 | jmachado | 189 | public static final 1.5.0/docs/api/java/lang/String.html">String SIGES_WEBSERVICE_SECRET = ConfigProperties.getProperty("ws.siges.secret"); |
114 | jmachado | 190 | |
163 | jmachado | 191 | |
1423 | jmachado | 192 | public static final 1.5.0/docs/api/java/lang/String.html">String SIGES_TIPO_ALUNO_NORMAL = ConfigProperties.getProperty("siges.tipo.aluno.normal"); |
193 | public static final 1.5.0/docs/api/java/lang/String.html">String SIGES_TIPO_ALUNO_BOLSEIRO = ConfigProperties.getProperty("siges.tipo.aluno.bolseiro"); |
||
194 | public static final 1.5.0/docs/api/java/lang/String.html">String SIGES_TIPO_ALUNO_MILITAR = ConfigProperties.getProperty("siges.tipo.aluno.militar"); |
||
195 | public static final 1.5.0/docs/api/java/lang/String.html">String SIGES_TIPO_ALUNO_TRABALHADOR_ESTUDANTE = ConfigProperties.getProperty("siges.tipo.aluno.trabalhador.estudante"); |
||
196 | public static final 1.5.0/docs/api/java/lang/String.html">String SIGES_TIPO_ALUNO_DIRIGENTE_ASSOCIATIVO = ConfigProperties.getProperty("siges.tipo.aluno.dirigente.associativo"); |
||
197 | public static final 1.5.0/docs/api/java/lang/String.html">String SIGES_TIPO_ALUNO_DEFICIENTE = ConfigProperties.getProperty("siges.tipo.aluno.deficiente"); |
||
198 | public static final 1.5.0/docs/api/java/lang/String.html">String SIGES_TIPO_ALUNO_BOMBEIRO = ConfigProperties.getProperty("siges.tipo.aluno.bombeiro"); |
||
199 | public static final 1.5.0/docs/api/java/lang/String.html">String SIGES_TIPO_ALUNO_VASCODAGAMA = ConfigProperties.getProperty("siges.tipo.vascodagama"); |
||
200 | public static final 1.5.0/docs/api/java/lang/String.html">String SIGES_TIPO_ALUNO_ERASMUS = ConfigProperties.getProperty("siges.tipo.erasmus"); |
||
163 | jmachado | 201 | |
1423 | jmachado | 202 | |
203 | |||
204 | |||
144 | jmachado | 205 | public static final long URL_STAT_CHART_EXPIRE_INTERVAL = ConfigProperties.getIntProperty("url.stat.image.expire.interval.time.minutes"); |
206 | public static final 1.5.0/docs/api/java/lang/String.html">String URL_STAT_CHART_TMP_DIR = ConfigProperties.getProperty("url.stat.tmp.dir"); |
||
207 | public static final int URL_STAT_CACHE_SIZE = ConfigProperties.getIntProperty("url.stat.click.cache.size"); |
||
208 | public static final long URL_STAT_CACHE_TIMEOUT = ConfigProperties.getIntProperty("url.stat.click.cache.timeout") * 60 * 1000; |
||
209 | public static final List<String> URL_STAT_IGNORE_EXTENSIONS = ConfigProperties.getListValues("url.stat.ignore.extension"); |
||
210 | public static final List<String> URL_STAT_IGNORE_PREFIXS = ConfigProperties.getListValues("url.stat.ignore.prefix"); |
||
146 | jmachado | 211 | |
396 | jmachado | 212 | public static final List<String> FILTER_TOP_IMAGE_IGNORE_EXTENSIONS = ConfigProperties.getListValues("filter.top.image.ignore.extension"); |
181 | jmachado | 213 | public static final List<String> FILTER_IGNORE_EXTENSIONS = ConfigProperties.getListValues("filter.ignore.extension"); |
182 | jmachado | 214 | public static final List<String> FILTER_IGNORE_PREFIXES = ConfigProperties.getListValues("filter.ignore.prefix"); |
181 | jmachado | 215 | |
538 | jmachado | 216 | public static final List<String> TOP_IMAGE_FILTER_LINKS = ConfigProperties.getListValuesOrderedByPropertyName("top.image.start.with"); |
217 | public static final List<String> TOP_IMAGE_FILTER_IMAGES_URL = ConfigProperties.getListValuesOrderedByPropertyName("top.image.url"); |
||
279 | jmachado | 218 | |
219 | |||
146 | jmachado | 220 | public static final 1.5.0/docs/api/java/lang/String.html">String SITE_URL = ConfigProperties.getProperty("site.url"); |
1844 | jmachado | 221 | public static final 1.5.0/docs/api/java/lang/String.html">String SERVICE_URL = ConfigProperties.getProperty("service.url"); |
156 | jmachado | 222 | |
1844 | jmachado | 223 | |
156 | jmachado | 224 | public static final 1.5.0/docs/api/java/lang/String.html">String INTRANET_MESSAGES_PREFIX = "intranet."; |
225 | |||
226 | public static final List<String> ANNOUNCEMENTS_VALIDATOR_ROLES = ConfigProperties.getListValues("announcements.validator.role"); |
||
157 | jmachado | 227 | |
228 | public static final 1.5.0/docs/api/java/lang/String.html">String POP_SERVER = ConfigProperties.getProperty("pop.server"); |
||
229 | public static final int POP_MAX_MESSAGES = ConfigProperties.getIntProperty("pop.max.messages"); |
||
230 | public static final 1.5.0/docs/api/java/lang/String.html">String POP_WEB_INTERFACE = ConfigProperties.getProperty("pop.web.interface"); |
||
159 | jmachado | 231 | public static final boolean POP_CONTAINER_USAGE = ConfigProperties.getBooleanProperty("pop.container.use"); |
232 | public static final int POP_FRAGMENT_TEXT_SIZE = ConfigProperties.getIntProperty("pop.fragment.text.size"); |
||
162 | jmachado | 233 | public static final int POP_REFRESH_TIMEOUT_MILISECONDS = ConfigProperties.getIntProperty("pop.refresh.timeout.minutes") * 1000 * 60; |
163 | jmachado | 234 | public static final boolean POP_USE_DEFAULT_SERVER = ConfigProperties.getBooleanProperty("pop.use.default.server"); |
235 | public static final boolean POP_USE_USERNAME_AND_PASSWORD_FIRST_AUTH = ConfigProperties.getBooleanProperty("pop.use.username.and.password.first.authentication"); |
||
161 | jmachado | 236 | |
163 | jmachado | 237 | |
238 | public static final int REMINDER_TEXT_SUMMARY_SIZE = ConfigProperties.getIntProperty("reminders.text.summary.size"); |
||
239 | |||
406 | jmachado | 240 | public static final int MAX_FILE_UPOLOAD_SIZE_MBYTES = ConfigProperties.getIntProperty("max.file.size.upload.mbytes"); |
168 | fvelez | 241 | public static final long MAX_BIGMAGE_FILE_SIZE_KBYTES = 500; |
242 | public static final long MAX_SMALLIMAGE_FILE_SIZE_KBYTES = 500; |
||
178 | jmachado | 243 | public static final long MAX_BIGMAGE_FILE_SIZE_BYTES = MAX_BIGMAGE_FILE_SIZE_KBYTES * 1024; |
244 | public static final long MAX_SMALLIMAGE_FILE_SIZE_BYTES = MAX_SMALLIMAGE_FILE_SIZE_KBYTES * 1024; |
||
168 | fvelez | 245 | |
206 | jmachado | 246 | |
247 | //CourseUnits |
||
248 | public static final 1.5.0/docs/api/java/lang/String.html">String SIGES_importFirstYearFormat = ConfigProperties.getProperty("importFirstYearFormat"); |
||
249 | public static final 1.5.0/docs/api/java/lang/String.html">String SIGES_importSecondYearFormat = ConfigProperties.getProperty("importSecondYearFormat"); |
||
250 | public static final 1.5.0/docs/api/java/lang/String.html">String SIGES_importFinalFormat = ConfigProperties.getProperty("importFinalFormat"); |
||
251 | |||
214 | jmachado | 252 | public static final 1.5.0/docs/api/java/lang/String.html">String SIGES_importFirstYearFormatIntranet = ConfigProperties.getProperty("importFirstYearFormatIntranet"); |
253 | public static final 1.5.0/docs/api/java/lang/String.html">String SIGES_importSecondYearFormatIntranet = ConfigProperties.getProperty("importSecondYearFormatIntranet"); |
||
254 | public static final 1.5.0/docs/api/java/lang/String.html">String SIGES_importFinalFormatIntranet = ConfigProperties.getProperty("importFinalFormatIntranet"); |
||
206 | jmachado | 255 | |
726 | jmachado | 256 | public static final 1.5.0/docs/api/java/lang/String.html">String SIGES_importFinalFormatProgram = ConfigProperties.getProperty("importFinalFormatProgram"); |
257 | |||
214 | jmachado | 258 | public static final 1.5.0/docs/api/java/lang/String.html">String INTRANET_SEMESTRE_S1 = ConfigProperties.getProperty("intranet.semestre.S1"); |
259 | public static final 1.5.0/docs/api/java/lang/String.html">String INTRANET_SEMESTRE_S2 = ConfigProperties.getProperty("intranet.semestre.S2"); |
||
728 | jmachado | 260 | public static final 1.5.0/docs/api/java/lang/String.html">String INTRANET_SEMESTRE_A = ConfigProperties.getProperty("intranet.semestre.A"); |
214 | jmachado | 261 | |
1040 | jmachado | 262 | public static final 1.5.0/docs/api/java/lang/String.html">String INTRANET_SEMESTRE_T1 = ConfigProperties.getProperty("intranet.semestre.T1"); |
263 | public static final 1.5.0/docs/api/java/lang/String.html">String INTRANET_SEMESTRE_T2 = ConfigProperties.getProperty("intranet.semestre.T2"); |
||
264 | public static final 1.5.0/docs/api/java/lang/String.html">String INTRANET_SEMESTRE_T3 = ConfigProperties.getProperty("intranet.semestre.T3"); |
||
265 | public static final 1.5.0/docs/api/java/lang/String.html">String INTRANET_SEMESTRE_T4 = ConfigProperties.getProperty("intranet.semestre.T4"); |
||
214 | jmachado | 266 | |
1040 | jmachado | 267 | |
268 | |||
214 | jmachado | 269 | public static final 1.5.0/docs/api/java/lang/String.html">String INTRANET_SETUP_FILE = ConfigProperties.getProperty("intranet.setup.file"); |
270 | public static final 1.5.0/docs/api/java/lang/String.html">String INTRANET_USERS_SETUP_FILE_NAME = ConfigProperties.getProperty("intranet.setup.users.filename"); |
||
271 | public static final 1.5.0/docs/api/java/lang/String.html">String INTRANET_SETUP_FILE_NAME = ConfigProperties.getProperty("intranet.setup.filename"); |
||
272 | |||
273 | |||
420 | jmachado | 274 | public static final int COURSEUNIT_ASSIGNEMENT_NUMBER_DAYS_REMINDER_AFTER_EXPIRED = ConfigProperties.getIntProperty("work.reminder.until.days.after.expired"); |
275 | public static final int HOME_MAX_COURSE_UNIT_ANNOUNCEMENTS = ConfigProperties.getIntProperty("home.courseunit.last.anouncements.max"); |
||
276 | public static final int HOME_COURSE_UNIT_ANNOUNCEMENTS_EXPIRED_DAYS = ConfigProperties.getIntProperty("home.courseunit.last.anouncements.expired.in.days"); |
||
215 | jmachado | 277 | public static final 1.5.0/docs/api/java/lang/String.html">String COURSEUNIT_ASSIGNEMENT_TYPE_NO_FILE = "nofile"; |
214 | jmachado | 278 | |
215 | jmachado | 279 | public static final 1.5.0/docs/api/java/lang/String.html">String PROFILE_SCHOLAR_DEGREE_SUPERIOR = "superior"; |
280 | public static final 1.5.0/docs/api/java/lang/String.html">String PROFILE_DEGREE_NOTSET = "notset"; |
||
214 | jmachado | 281 | |
1147 | jmachado | 282 | public static final 1.5.0/docs/api/java/lang/String.html">String COURSE_DEGREE_UNKNOWN = ConfigProperties.getProperty("siges.degree.unknown"); |
214 | jmachado | 283 | |
215 | jmachado | 284 | |
1147 | jmachado | 285 | |
227 | jmachado | 286 | public static final boolean SMS_COURSEUNIT_ANNOUNCEMENT = ConfigProperties.getBooleanProperty("sms.courseunit.announcement"); |
287 | public static final boolean SMS_NEW_GRADES = ConfigProperties.getBooleanProperty("sms.new.grades"); |
||
236 | jmachado | 288 | public static final boolean EMAIL_NEW_GRADES = ConfigProperties.getBooleanProperty("email.new.grades"); |
358 | jmachado | 289 | public static final boolean EMAIL_SUMMARIES = ConfigProperties.getBooleanProperty("email.summaries"); |
237 | jmachado | 290 | public static final boolean EMAIL_COURSEUNIT_ANNOUNCEMENTS = ConfigProperties.getBooleanProperty("email.courseunit.announcements"); |
363 | jmachado | 291 | public static final boolean EMAIL_COURSEUNIT_BLOGS = ConfigProperties.getBooleanProperty("email.courseunit.blogs"); |
215 | jmachado | 292 | |
227 | jmachado | 293 | public static final boolean SMS_COURSEUNIT_ANNOUNCEMENT_ONLY_PROFS = ConfigProperties.getBooleanProperty("sms.courseunit.announcement.only.profs"); |
294 | |||
300 | jmachado | 295 | public static final int JOB_DEAMON_SLEEP_SECONDS=ConfigProperties.getIntProperty("job.deamon.sleep.seconds"); |
227 | jmachado | 296 | |
215 | jmachado | 297 | public static final 1.5.0/docs/api/java/lang/String.html">String MODULE_STATUS_PREFIX = "module."; |
298 | public static final boolean MODULE_STATUS_ANNOUNCEMENTS = ConfigProperties.getBooleanProperty("module.announcements"); |
||
299 | public static final boolean MODULE_STATUS_MANAGE_IDENTIFIERS = ConfigProperties.getBooleanProperty("module.manageidentifiers"); |
||
300 | public static final boolean MODULE_STATUS_BLOGS = ConfigProperties.getBooleanProperty("module.blogs"); |
||
301 | public static final boolean MODULE_STATUS_URLSTAT = ConfigProperties.getBooleanProperty("module.urlstat"); |
||
302 | public static final boolean MODULE_STATUS_SEARCH = ConfigProperties.getBooleanProperty("module.search"); |
||
303 | public static final boolean MODULE_STATUS_SEARCH_GOOGLE = ConfigProperties.getBooleanProperty("module.searchGoogle"); |
||
304 | public static final boolean MODULE_STATUS_TODOS = ConfigProperties.getBooleanProperty("module.todos"); |
||
305 | public static final boolean MODULE_STATUS_REMINDERS = ConfigProperties.getBooleanProperty("module.reminders"); |
||
306 | public static final boolean MODULE_STATUS_INTRANET = ConfigProperties.getBooleanProperty("module.intranet"); |
||
307 | public static final boolean MODULE_STATUS_PROFILE = ConfigProperties.getBooleanProperty("module.profile"); |
||
308 | public static final boolean MODULE_STATUS_COURSEUNITS = ConfigProperties.getBooleanProperty("module.courseunits"); |
||
227 | jmachado | 309 | public static final boolean MODULE_STATUS_SMS = ConfigProperties.getBooleanProperty("module.sms"); |
808 | jmachado | 310 | // Duarte Santos |
671 | jmachado | 311 | public static final boolean MODULE_STATUS_SURVEYS = ConfigProperties.getBooleanProperty("module.surveys"); |
312 | // Duarte Santos |
||
808 | jmachado | 313 | |
314 | //Filipe Matos |
||
315 | public static final boolean MODULE_STATUS_ASSESSMENTS = ConfigProperties.getBooleanProperty("module.assessments"); |
||
316 | //Filipe Matos |
||
317 | |||
1312 | jmachado | 318 | public static final boolean MODULE_DEPARTMENTS = ConfigProperties.getBooleanProperty("module.departments"); |
881 | jmachado | 319 | |
1312 | jmachado | 320 | |
881 | jmachado | 321 | public static final boolean MODULE_STATUS_COURSEUNITEVALUATION = ConfigProperties.getBooleanProperty("module.courseunitevaluation"); |
853 | jmachado | 322 | public static final boolean MODULE_STATUS_PROCESSES = ConfigProperties.getBooleanProperty("module.processes"); |
323 | |||
324 | |||
671 | jmachado | 325 | public static final 1.5.0/docs/api/java/lang/String.html">String SURVEY_TYPE_GENERAL = ConfigProperties.getProperty("surveys.type.0"); |
326 | public static final 1.5.0/docs/api/java/lang/String.html">String SURVEY_TYPE_PEDAGOGIC = ConfigProperties.getProperty("surveys.type.1"); |
||
327 | public static final 1.5.0/docs/api/java/lang/String.html">String SURVEY_PEDAGOGIC_STUDENT_COURSEUNIT = ConfigProperties.getProperty("surveys.target.pair.0"); |
||
328 | public static final 1.5.0/docs/api/java/lang/String.html">String SURVEY_PEDAGOGIC_TEACHER_COURSEUNIT = ConfigProperties.getProperty("surveys.target.pair.1"); |
||
329 | public static final 1.5.0/docs/api/java/lang/String.html">String SURVEY_QUESTION_TYPE_RADIO = ConfigProperties.getProperty("surveys.question.type.0"); |
||
330 | public static final 1.5.0/docs/api/java/lang/String.html">String SURVEY_QUESTION_TYPE_CHECK = ConfigProperties.getProperty("surveys.question.type.1"); |
||
331 | public static final 1.5.0/docs/api/java/lang/String.html">String SURVEY_QUESTION_TYPE_MATRIX = ConfigProperties.getProperty("surveys.question.type.2"); |
||
332 | public static final 1.5.0/docs/api/java/lang/String.html">String SURVEY_QUESTION_TYPE_TEXT = ConfigProperties.getProperty("surveys.question.type.3"); |
||
215 | jmachado | 333 | |
1876 | grupo4 | 334 | //Filipe Matos |
808 | jmachado | 335 | public static final 1.5.0/docs/api/java/lang/String.html">String ASSESSMENT_TYPE_EVALUATION = ConfigProperties.getProperty("assessments.type.0"); |
336 | public static final 1.5.0/docs/api/java/lang/String.html">String ASSESSMENT_TYPE_SELFEVALUATION = ConfigProperties.getProperty("assessments.type.1"); |
||
337 | public static final 1.5.0/docs/api/java/lang/String.html">String ASSESSMENT_QUESTION_TYPE_RADIO = ConfigProperties.getProperty("assessments.question.type.0"); |
||
338 | public static final 1.5.0/docs/api/java/lang/String.html">String ASSESSMENT_QUESTION_TYPE_CHECK = ConfigProperties.getProperty("assessments.question.type.1"); |
||
339 | public static final 1.5.0/docs/api/java/lang/String.html">String ASSESSMENT_QUESTION_TYPE_MATRIX = ConfigProperties.getProperty("assessments.question.type.2"); |
||
340 | public static final 1.5.0/docs/api/java/lang/String.html">String ASSESSMENT_QUESTION_TYPE_TEXT = ConfigProperties.getProperty("assessments.question.type.3"); |
||
341 | public static final 1.5.0/docs/api/java/lang/String.html">String ASSESSMENT_QUESTION_TYPE_PRACTICAL = ConfigProperties.getProperty("assessments.question.type.4"); |
||
342 | public static final 1.5.0/docs/api/java/lang/String.html">String ASSESSMENT_EVALUATION_TIME_CONTINUOUS = ConfigProperties.getProperty("assessments.evaluation.time.0"); |
||
343 | public static final 1.5.0/docs/api/java/lang/String.html">String ASSESSMENT_EVALUATION_TIME_FIRSTEXAM = ConfigProperties.getProperty("assessments.evaluation.time.1"); |
||
344 | public static final 1.5.0/docs/api/java/lang/String.html">String ASSESSMENT_EVALUATION_TIME_SECONDEXAM = ConfigProperties.getProperty("assessments.evaluation.time.2"); |
||
345 | public static final 1.5.0/docs/api/java/lang/String.html">String ASSESSMENT_EVALUATION_TIME_THIRDEXAM = ConfigProperties.getProperty("assessments.evaluation.time.3"); |
||
346 | public static final 1.5.0/docs/api/java/lang/String.html">String ASSESSMENT_ANSWER_CORRECT = ConfigProperties.getProperty("assessment.answer.correct"); |
||
347 | public static final 1.5.0/docs/api/java/lang/String.html">String ASSESSMENT_ANSWER_INCORRECT = ConfigProperties.getProperty("assessment.answer.incorrect"); |
||
348 | public static final 1.5.0/docs/api/java/lang/String.html">String ASSESSMENT_ANSWER_IMCOMPLETE = ConfigProperties.getProperty("assessment.answer.imcomplete"); |
||
349 | // |
||
1876 | grupo4 | 350 | |
248 | jmachado | 351 | public static final 1.5.0/docs/api/java/lang/String.html">String TEMPLATE_COURSE_XSL_PATH = "/template/xsd/fragmentoCurso.xsl"; |
244 | jmachado | 352 | public static final 1.5.0/docs/api/java/lang/String.html">String TEMPLATE_XSD_PATH = "/template/xsd"; |
236 | jmachado | 353 | public static final 1.5.0/docs/api/java/lang/String.html">String TEMPLATE_EMAIL_PATH = "/template/email"; |
227 | jmachado | 354 | public static final 1.5.0/docs/api/java/lang/String.html">String TEMPLATE_ASSIGNEMENT_PATH = "/template/assignement"; |
355 | public static final 1.5.0/docs/api/java/lang/String.html">String TEMPLATE_SMS_PATH = "/template/sms"; |
||
228 | jmachado | 356 | public static final 1.5.0/docs/api/java/lang/String.html">String TEMPLATE_SMS_COURSEUNIT_ANNOUNCMENT = TEMPLATE_SMS_PATH + "/CourseUnit.txt"; |
357 | public static final 1.5.0/docs/api/java/lang/String.html">String TEMPLATE_SMS_NEW_GRADES = TEMPLATE_SMS_PATH + "/GradesUnit.txt"; |
||
358 | public static final 1.5.0/docs/api/java/lang/String.html">String TEMPLATE_SMS_NEW_GRADE = TEMPLATE_SMS_PATH + "/GradeUnit.txt"; |
||
227 | jmachado | 359 | |
237 | jmachado | 360 | public static final 1.5.0/docs/api/java/lang/String.html">String EMAIL_SEND_URL_FRIEND_SUBJECT_PT = ConfigProperties.getProperty("email.send.url.friend.subject.pt"); |
361 | public static final 1.5.0/docs/api/java/lang/String.html">String EMAIL_SEND_URL_FRIEND_SUBJECT_EN = ConfigProperties.getProperty("email.send.url.friend.subject.en"); |
||
236 | jmachado | 362 | public static final 1.5.0/docs/api/java/lang/String.html">String EMAIL_SEND_URL_FRIEND_TEMPLATE_PT = "sendPageFriend_pt.txt"; |
363 | public static final 1.5.0/docs/api/java/lang/String.html">String EMAIL_SEND_URL_FRIEND_TEMPLATE_EN = "sendPageFriend_en.txt"; |
||
364 | |||
237 | jmachado | 365 | public static final 1.5.0/docs/api/java/lang/String.html">String EMAIL_COURSEUNIT_ANNOUNCEMENT_SUBJECT_PT = ConfigProperties.getProperty("email.courseunit.announcement.subject.pt"); |
366 | public static final 1.5.0/docs/api/java/lang/String.html">String EMAIL_COURSEUNIT_ANNOUNCEMENT_SUBJECT_EN = ConfigProperties.getProperty("email.courseunit.announcement.subject.en"); |
||
367 | public static final 1.5.0/docs/api/java/lang/String.html">String EMAIL_COURSEUNIT_ANNOUNCEMENT_TEMPLATE_PT = "courseUnitAnnouncement_pt.txt"; |
||
368 | public static final 1.5.0/docs/api/java/lang/String.html">String EMAIL_COURSEUNIT_ANNOUNCEMENT_TEMPLATE_EN = "courseUnitAnnouncement_en.txt"; |
||
369 | |||
1425 | jmachado | 370 | public static final 1.5.0/docs/api/java/lang/String.html">String EMAIL_MESSAGE_TEMPLATE_EN = "message_en.txt"; |
512 | jmachado | 371 | public static final 1.5.0/docs/api/java/lang/String.html">String EMAIL_MESSAGE_TEMPLATE_PT = "message_pt.txt"; |
372 | |||
1661 | jmachado | 373 | public static final 1.5.0/docs/api/java/lang/String.html">String EMAIL_MESSAGE_TEMPLATE_PAE_PT = "message_module_ipp_pt.txt"; |
1425 | jmachado | 374 | |
1661 | jmachado | 375 | |
1429 | jmachado | 376 | public static final 1.5.0/docs/api/java/lang/String.html">String EMAIL_MESSAGE_IPP_TEMPLATE_PT_CERTIFICATED = "message_ipp_pt_certificated.txt"; |
1425 | jmachado | 377 | public static final 1.5.0/docs/api/java/lang/String.html">String EMAIL_MESSAGE_IPP_TEMPLATE_PT = "message_ipp_pt.txt"; |
378 | |||
419 | jmachado | 379 | public static final 1.5.0/docs/api/java/lang/String.html">String EMAIL_COURSEUNIT_WORK_SUBJECT_PT = ConfigProperties.getProperty("email.courseunit.work.subject.pt"); |
380 | public static final 1.5.0/docs/api/java/lang/String.html">String EMAIL_COURSEUNIT_WORK_SUBJECT_EN = ConfigProperties.getProperty("email.courseunit.work.subject.en"); |
||
1353 | jmachado | 381 | public static final 1.5.0/docs/api/java/lang/String.html">String EMAIL_COURSEUNIT_WORK_RELATIVE_URL = ConfigProperties.getProperty("email.courseunit.work.relative.url"); |
382 | |||
419 | jmachado | 383 | public static final 1.5.0/docs/api/java/lang/String.html">String EMAIL_COURSEUNIT_WORK_TEMPLATE_PT = "courseUnitWork_pt.txt"; |
384 | public static final 1.5.0/docs/api/java/lang/String.html">String EMAIL_COURSEUNIT_WORK_TEMPLATE_EN = "courseUnitWork_en.txt"; |
||
440 | jmachado | 385 | public static final 1.5.0/docs/api/java/lang/String.html">String EMAIL_COURSEUNIT_WORK_CHANGE_TEMPLATE_PT = "courseUnitWorkChange_pt.txt"; |
386 | public static final 1.5.0/docs/api/java/lang/String.html">String EMAIL_COURSEUNIT_WORK_CHANGE_TEMPLATE_EN = "courseUnitWorkChange_en.txt"; |
||
419 | jmachado | 387 | |
363 | jmachado | 388 | public static final 1.5.0/docs/api/java/lang/String.html">String EMAIL_COURSEUNIT_BLOGPOST_SUBJECT_PT = ConfigProperties.getProperty("email.courseunit.blogpost.subject.pt"); |
389 | public static final 1.5.0/docs/api/java/lang/String.html">String EMAIL_COURSEUNIT_BLOGPOST_SUBJECT_EN = ConfigProperties.getProperty("email.courseunit.blogpost.subject.en"); |
||
390 | public static final 1.5.0/docs/api/java/lang/String.html">String EMAIL_COURSEUNIT_BLOGPOST_TEMPLATE_PT = "courseUnitBlogPost_pt.txt"; |
||
391 | public static final 1.5.0/docs/api/java/lang/String.html">String EMAIL_COURSEUNIT_BLOGPOST_TEMPLATE_EN = "courseUnitBlogPost_en.txt"; |
||
392 | |||
237 | jmachado | 393 | public static final 1.5.0/docs/api/java/lang/String.html">String EMAIL_NEW_GRADES_SUBJECT_PT = ConfigProperties.getProperty("email.new.grades.subject.pt"); |
394 | public static final 1.5.0/docs/api/java/lang/String.html">String EMAIL_NEW_GRADES_SUBJECT_EN = ConfigProperties.getProperty("email.new.grades.subject.en"); |
||
358 | jmachado | 395 | |
396 | public static final 1.5.0/docs/api/java/lang/String.html">String EMAIL_SUMMARY_SUBJECT_PT = ConfigProperties.getProperty("email.summary.subject.pt"); |
||
397 | public static final 1.5.0/docs/api/java/lang/String.html">String EMAIL_SUMMARY_SUBJECT_EN = ConfigProperties.getProperty("email.summary.subject.en"); |
||
398 | |||
236 | jmachado | 399 | public static final 1.5.0/docs/api/java/lang/String.html">String EMAIL_NEW_GRADES_TEMPLATE_PT = "newGrades_pt.txt"; |
400 | public static final 1.5.0/docs/api/java/lang/String.html">String EMAIL_NEW_GRADES_TEMPLATE_EN = "newGrades_en.txt"; |
||
401 | |||
751 | jmachado | 402 | public static final 1.5.0/docs/api/java/lang/String.html">String EMAIL_UNDADE_EDICAO_TEMPLATE_PT = "unidadeEdicao_pt.txt"; |
403 | public static final 1.5.0/docs/api/java/lang/String.html">String EMAIL_UNDADE_EDICAO_TEMPLATE_EN = "unidadeEdicao_en.txt"; |
||
404 | |||
405 | public static final 1.5.0/docs/api/java/lang/String.html">String EMAIL_UNDADE_EDITADA_TEMPLATE_PT = "unidadeEditada_pt.txt"; |
||
406 | public static final 1.5.0/docs/api/java/lang/String.html">String EMAIL_UNDADE_EDITADA_TEMPLATE_EN = "unidadeEditada_en.txt"; |
||
407 | |||
1033 | jmachado | 408 | public static final 1.5.0/docs/api/java/lang/String.html">String EMAIL_RELATORIO_AVALIACAO_UNDADE_EDITADA_TEMPLATE_PT = "unidadeRelatorioAvaliacaoEditado_pt.txt"; |
409 | public static final 1.5.0/docs/api/java/lang/String.html">String EMAIL_RELATORIO_AVALIACAO_UNDADE_EDITADA_TEMPLATE_EN = "unidadeRelatorioAvaliacaoEditado_en.txt"; |
||
410 | |||
411 | |||
751 | jmachado | 412 | public static final 1.5.0/docs/api/java/lang/String.html">String EMAIL_UNDADE_VALIDADA_TEMPLATE_PT = "unidadeValidada_pt.txt"; |
413 | public static final 1.5.0/docs/api/java/lang/String.html">String EMAIL_UNDADE_VALIDADA_TEMPLATE_EN = "unidadeValidada_en.txt"; |
||
414 | |||
415 | |||
416 | public static final 1.5.0/docs/api/java/lang/String.html">String EMAIL_UNDADE_EDICAO_SUBJECT_PT = "email.unidade.edicao.subject.pt"; |
||
417 | public static final 1.5.0/docs/api/java/lang/String.html">String EMAIL_UNDADE_EDICAO_SUBJECT_EN = "email.unidade.edicao.subject.en"; |
||
418 | |||
1033 | jmachado | 419 | public static final 1.5.0/docs/api/java/lang/String.html">String EMAIL_RELATORIO_AVALIACAO_UNDADE_EDITADA_SUBJECT_PT = "email.relatorio.aval.unidade.editado.subject.pt"; |
420 | public static final 1.5.0/docs/api/java/lang/String.html">String EMAIL_RELATORIO_AVALIACAO_UNDADE_EDITADA_SUBJECT_EN = "email.relatorio.aval.unidade.editado.subject.en"; |
||
421 | |||
751 | jmachado | 422 | public static final 1.5.0/docs/api/java/lang/String.html">String EMAIL_UNDADE_EDITADA_SUBJECT_PT = "email.unidade.editada.subject.pt"; |
423 | public static final 1.5.0/docs/api/java/lang/String.html">String EMAIL_UNDADE_EDITADA_SUBJECT_EN = "email.unidade.editada.subject.en"; |
||
424 | |||
1033 | jmachado | 425 | |
751 | jmachado | 426 | public static final 1.5.0/docs/api/java/lang/String.html">String EMAIL_UNDADE_VALIDADA_SUBJECT_PT = "email.unidade.validade.subject.pt"; |
427 | public static final 1.5.0/docs/api/java/lang/String.html">String EMAIL_UNDADE_VALIDADA_SUBJECT_EN = "email.unidade.validada.subject.en"; |
||
428 | |||
358 | jmachado | 429 | public static final 1.5.0/docs/api/java/lang/String.html">String EMAIL_SUMMARY_TEMPLATE_PT = "summary_pt.txt"; |
430 | public static final 1.5.0/docs/api/java/lang/String.html">String EMAIL_SUMMARY_TEMPLATE_EN = "summary_en.txt"; |
||
431 | |||
995 | jmachado | 432 | public static final 1.5.0/docs/api/java/lang/String.html">String EMAIL_SUMMARIES_TEMPLATE_PT = "summaries_pt.txt"; |
433 | public static final 1.5.0/docs/api/java/lang/String.html">String EMAIL_SUMMARIES_TEMPLATE_EN = "summaries_en.txt"; |
||
434 | |||
435 | public static final 1.5.0/docs/api/java/lang/String.html">String EMAIL_SUMMARIES_FRAGMENT_TEMPLATE_PT = "summariesFragment_pt.txt"; |
||
436 | public static final 1.5.0/docs/api/java/lang/String.html">String EMAIL_SUMMARIES_FRAGMENT_TEMPLATE_EN = "summariesFragment_en.txt"; |
||
437 | |||
236 | jmachado | 438 | public static final 1.5.0/docs/api/java/lang/String.html">String EMAIL_GRADE_UNIT_TEMPLATE = "GradeUnit.txt"; |
368 | jmachado | 439 | |
440 | public static final 1.5.0/docs/api/java/lang/String.html">String[] PROXY_EXTENSIONS = ConfigProperties.getProperty("proxy.extensions").split(" "); |
||
915 | jmachado | 441 | |
442 | |||
443 | public static final 1.5.0/docs/api/java/lang/String.html">String FTP_IONLINE_URL = ConfigProperties.getProperty("server.ionline") + ConfigProperties.getProperty("server.ionline.start.path"); |
||
444 | public static final 1.5.0/docs/api/java/lang/String.html">String FTP_IONLINE_USER = ConfigProperties.getProperty("ionline.user"); |
||
445 | public static final 1.5.0/docs/api/java/lang/String.html">String FTP_IONLINE_PASS = ConfigProperties.getProperty("ionline.pass"); |
||
446 | public static final 1.5.0/docs/api/java/lang/String.html">String FTP_IONLINE_START_PATH = ConfigProperties.getProperty("server.ionline.start.path"); |
||
1085 | jmachado | 447 | |
448 | public static final 1.5.0/docs/api/java/lang/String.html">String ROLE_INVITED = "invited"; |
||
1312 | jmachado | 449 | |
1848 | jmachado | 450 | public static final 1.5.0/docs/api/java/lang/String.html">String SYSTEM_WSJSON_SERVICE_COURSE_QUESTIONARIOS_REPORT_RESULTS = ConfigProperties.getProperty("system.wsjson.service.course.report.quest.result.api"); |
451 | public static final 1.5.0/docs/api/java/lang/String.html">String SYSTEM_WSJSON_SERVICE_COURSE_UNITS_EVALUATION_REPORT = ConfigProperties.getProperty("system.wsjson.service.course.units.reports.api"); |
||
1830 | jmachado | 452 | public static final 1.5.0/docs/api/java/lang/String.html">String SYSTEM_WSJSON_SERVICE_COURSE_UNITS_DTP_STATS = ConfigProperties.getProperty("system.wsjson.service.course.units.dtp.stats.api"); |
1876 | grupo4 | 453 | public static final 1.5.0/docs/api/java/lang/String.html">String SYSTEM_WSJSON_SERVICE_COURSE_UNIT_PLAN_YEAR = ConfigProperties.getProperty("system.wsjson.service.course.unit.plan.year.api"); |
1830 | jmachado | 454 | |
455 | |||
1455 | jmachado | 456 | public static final 1.5.0/docs/api/java/lang/String.html">String SYSTEM_EMAIL_CERTIFICATED_HOME_PAGE = ConfigProperties.getProperty("system.mail.standard.certificated.home.page"); |
1312 | jmachado | 457 | public static final 1.5.0/docs/api/java/lang/String.html">String SYSTEM_THEME = ConfigProperties.getProperty("system.theme"); |
458 | public static final 1.5.0/docs/api/java/lang/String.html">String AUTHENTICATE_SERVICE = ConfigProperties.getProperty("authentication.policy.service"); |
||
459 | public static final 1.5.0/docs/api/java/lang/String.html">String AUTHENTICATE_SERVICE_USERNAME_KEY = ConfigProperties.getProperty("authentication.policy.username.msg.key"); |
||
460 | public static final 1.5.0/docs/api/java/lang/String.html">String AUTHENTICATE_SERVICE_PASSWORD_KEY = ConfigProperties.getProperty("authentication.policy.password.msg.key"); |
||
461 | public static final 1.5.0/docs/api/java/lang/String.html">String SYSTEM_REDIRECTIONS_POLICY_INDEX_WELCOME = ConfigProperties.getProperty("system.redirections.policy.index.welcome"); |
||
462 | public static final 1.5.0/docs/api/java/lang/String.html">String SYSTEM_REDIRECTIONS_POLICY_AUTHENTICATION_ACTION = ConfigProperties.getProperty("system.redirections.policy.authentication.action"); |
||
1387 | jmachado | 463 | public static final 1.5.0/docs/api/java/lang/String.html">String SYSTEM_REDIRECTIONS_POLICY_AUTHENTICATION_LOGOUT_ACTION = ConfigProperties.getProperty("system.redirections.policy.authentication.logout.action"); |
1312 | jmachado | 464 | |
465 | |||
1387 | jmachado | 466 | |
1394 | jmachado | 467 | public static final boolean MODO_PAE_ENABLED = ConfigProperties.getBooleanProperty("mode.pae.enabled"); |
1393 | jmachado | 468 | public static final 1.5.0/docs/api/java/lang/String.html">String QUESTIONARIOS_GERAIS = "questionarios.gerais"; |
1326 | jmachado | 469 | public static final 1.5.0/docs/api/java/lang/String.html">String QUESTIONARIOS_ADMIN = "questionarios.admin"; |
1403 | jmachado | 470 | public static final 1.5.0/docs/api/java/lang/String.html">String QUESTIONARIOS_ASSIGNEMENTS_CHECK_STUDENTS_ADMIN = "questionarios.atribuicoes.admin"; |
1378 | jmachado | 471 | public static final 1.5.0/docs/api/java/lang/String.html">String QUESTIONARIOS_ASSIGNEMENTS_CHECK_TEACHERS_ADMIN = "questionarios.atribuicoes.check_teachers"; |
1346 | jmachado | 472 | public static final 1.5.0/docs/api/java/lang/String.html">String QUESTIONARIOS_TIPOLOGIAS_ADMIN = "questionarios.tipologias.admin"; |
1409 | jmachado | 473 | |
474 | public static final 1.5.0/docs/api/java/lang/String.html">String ROLE_PRESIDENTE_CONCELHO_PEDAGOGICO = "pedagogicCouncil.president"; |
||
475 | |||
1618 | jmachado | 476 | public static final 1.5.0/docs/api/java/lang/String.html">String ROLE_PRESIDENTE_CTC_ESTG = "scientificCouncil.president.estg"; |
477 | public static final 1.5.0/docs/api/java/lang/String.html">String ROLE_PRESIDENTE_CTC_ESAE = "scientificCouncil.president.esae"; |
||
478 | public static final 1.5.0/docs/api/java/lang/String.html">String ROLE_PRESIDENTE_CTC_ESECS = "scientificCouncil.president.esecs"; |
||
479 | public static final 1.5.0/docs/api/java/lang/String.html">String ROLE_PRESIDENTE_CTC_ESS = "scientificCouncil.president.ess"; |
||
480 | public static final 1.5.0/docs/api/java/lang/String.html">String ROLE_MEMBRO_CTC_ESTG = "scientificCouncil.estg"; |
||
481 | public static final 1.5.0/docs/api/java/lang/String.html">String ROLE_MEMBRO_CTC_ESAE = "scientificCouncil.esae"; |
||
482 | public static final 1.5.0/docs/api/java/lang/String.html">String ROLE_MEMBRO_CTC_ESECS = "scientificCouncil.esecs"; |
||
483 | public static final 1.5.0/docs/api/java/lang/String.html">String ROLE_MEMBRO_CTC_ESS = "scientificCouncil.ess"; |
||
484 | |||
485 | |||
1585 | jmachado | 486 | public static final 1.5.0/docs/api/java/lang/String.html">String ROLE_BOARD_INSTITUTION = ConfigProperties.getProperty("institution.board.role"); |
487 | public static final 1.5.0/docs/api/java/lang/String.html">String ROLE_BOARD_SCHOOL_ESTG = ConfigProperties.getProperty("school.board.role." + ConfigProperties.getProperty("institution.code.prefix.inverse.ESTG")); |
||
488 | public static final 1.5.0/docs/api/java/lang/String.html">String ROLE_BOARD_SCHOOL_ESAE = ConfigProperties.getProperty("school.board.role." + ConfigProperties.getProperty("institution.code.prefix.inverse.ESAE")); |
||
489 | public static final 1.5.0/docs/api/java/lang/String.html">String ROLE_BOARD_SCHOOL_ESECS = ConfigProperties.getProperty("school.board.role." + ConfigProperties.getProperty("institution.code.prefix.inverse.ESECS")); |
||
490 | public static final 1.5.0/docs/api/java/lang/String.html">String ROLE_BOARD_SCHOOL_ESS = ConfigProperties.getProperty("school.board.role." + ConfigProperties.getProperty("institution.code.prefix.inverse.ESS")); |
||
491 | |||
1626 | jmachado | 492 | public static final 1.5.0/docs/api/java/lang/String.html">String INSTITUTIONAL_NAME_ESTG = getInstitutionalName(ConfigProperties.getProperty("institution.code.prefix.inverse.ESTG")); |
493 | public static final 1.5.0/docs/api/java/lang/String.html">String INSTITUTIONAL_NAME_ESAE = getInstitutionalName(ConfigProperties.getProperty("institution.code.prefix.inverse.ESAE")); |
||
494 | public static final 1.5.0/docs/api/java/lang/String.html">String INSTITUTIONAL_NAME_ESECS = getInstitutionalName(ConfigProperties.getProperty("institution.code.prefix.inverse.ESECS")); |
||
495 | public static final 1.5.0/docs/api/java/lang/String.html">String INSTITUTIONAL_NAME_ESS = getInstitutionalName(ConfigProperties.getProperty("institution.code.prefix.inverse.ESSS")); |
||
496 | |||
497 | public static final 1.5.0/docs/api/java/lang/String.html">String INSTITUTIONAL_SMALL_NAME_ESTG = getInstitutionalSmallName(ConfigProperties.getProperty("institution.code.prefix.inverse.ESTG")); |
||
498 | public static final 1.5.0/docs/api/java/lang/String.html">String INSTITUTIONAL_SMALL_NAME_ESAE = getInstitutionalSmallName(ConfigProperties.getProperty("institution.code.prefix.inverse.ESAE")); |
||
499 | public static final 1.5.0/docs/api/java/lang/String.html">String INSTITUTIONAL_SMALL_NAME_ESECS = getInstitutionalSmallName(ConfigProperties.getProperty("institution.code.prefix.inverse.ESECS")); |
||
500 | public static final 1.5.0/docs/api/java/lang/String.html">String INSTITUTIONAL_SMALL_NAME_ESS = getInstitutionalSmallName(ConfigProperties.getProperty("institution.code.prefix.inverse.ESS")); |
||
501 | |||
502 | public static final 1.5.0/docs/api/java/lang/String.html">String INSTITUTIONAL_CODE_ESTG = ConfigProperties.getProperty("institution.code.prefix.inverse.ESTG"); |
||
503 | public static final 1.5.0/docs/api/java/lang/String.html">String INSTITUTIONAL_CODE_ESAE = ConfigProperties.getProperty("institution.code.prefix.inverse.ESAE"); |
||
504 | public static final 1.5.0/docs/api/java/lang/String.html">String INSTITUTIONAL_CODE_ESECS = ConfigProperties.getProperty("institution.code.prefix.inverse.ESECS"); |
||
505 | public static final 1.5.0/docs/api/java/lang/String.html">String INSTITUTIONAL_CODE_ESS = ConfigProperties.getProperty("institution.code.prefix.inverse.ESS"); |
||
506 | |||
507 | |||
508 | public static 1.5.0/docs/api/java/lang/String.html">String getInstitutionalSmallName(1.5.0/docs/api/java/lang/String.html">String institutionalCode) |
||
509 | { |
||
510 | return ConfigProperties.getProperty("institution.code.prefix." + institutionalCode); |
||
511 | } |
||
512 | |||
513 | public static 1.5.0/docs/api/java/lang/String.html">String getInstitutionalName(1.5.0/docs/api/java/lang/String.html">String institutionalCode) |
||
514 | { |
||
515 | return ConfigProperties.getProperty("institution.code." + institutionalCode); |
||
516 | } |
||
517 | |||
1585 | jmachado | 518 | public static 1.5.0/docs/api/java/lang/String.html">String ROLE_BOARD_SCHOOL(1.5.0/docs/api/java/lang/String.html">String institutionCode) |
519 | { |
||
520 | return ConfigProperties.getProperty("school.board.role." + institutionCode); |
||
521 | } |
||
522 | |||
1312 | jmachado | 523 | public static final boolean USE_XSL_CACHE =ConfigProperties.getBooleanProperty("xsl.use.cache"); |
524 | |||
1317 | jmachado | 525 | |
526 | public final static int CERTIFICATES_EXPIRTATION_IN_DAYS = ConfigProperties.getIntProperty("certificates.expire.in.days"); |
||
1337 | jmachado | 527 | |
528 | |||
529 | public static final 1.5.0/docs/api/java/lang/String.html">String BACO_TIPOLOGIA_SIMPLES_VIRTUAL_CODE = ConfigProperties.getProperty("baco.tipologia.simples"); |
||
530 | public static final 1.5.0/docs/api/java/lang/String.html">String BACO_TIPOLOGIA_SIMPLES_DS = ConfigProperties.getProperty("netpa.tipo.aula." + BACO_TIPOLOGIA_SIMPLES_VIRTUAL_CODE); |
||
531 | |||
1353 | jmachado | 532 | |
533 | public static final int SIGES_SUMARIO_LANCADO_CODIGO = ConfigProperties.getIntProperty("siges.summaries.lancado.code"); |
||
534 | public static final int SIGES_SUMARIO_FALTOU_CODIGO = ConfigProperties.getIntProperty("siges.summaries.faltou.code"); |
||
535 | public static final int SIGES_SUMARIO_CANCELADO_CODIGO = ConfigProperties.getIntProperty("siges.summaries.cancelado.code"); |
||
536 | public static final int SIGES_SUMARIO_PRELANCADO_CODIGO = ConfigProperties.getIntProperty("siges.summaries.prelancado.code"); |
||
1918 | grupo4 | 537 | } |