forked from Coded/SIPRP
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
62 lines
2.4 KiB
62 lines
2.4 KiB
/*
|
|
* To change this template, choose Tools | Templates
|
|
* and open the template in the editor.
|
|
*/
|
|
|
|
package global;
|
|
|
|
/**
|
|
*
|
|
* @author lluis
|
|
*/
|
|
public class Global
|
|
{
|
|
|
|
//tipos utilizadores
|
|
public static final int RESPONSAVEL_SEGURANCA = 1;
|
|
public static final int RH = 2;
|
|
public static final int TECNICO_HS = 3;
|
|
public static final int GESTOR = 6;
|
|
public static final int DIRECTOR_GERAL_RH = 7;
|
|
public static final int DIRECTOR_SIPRP = 8;
|
|
public static final int DIRECTOR_LOJA = 9;
|
|
public static final int DIRECTOR_NACIONAL_SEGURANCA = 10;
|
|
|
|
//Fases do plano
|
|
public static final int FASE_SIPRP_EMISSAO = 1;
|
|
public static final int FASE_SEGURANCA_PREENCHIMENTO = 2;
|
|
public static final int FASE_DIR_LOJA_VALIDACAO = 3;
|
|
public static final int FASE_DNS_PARECER = 4;
|
|
public static final int FASE_SIPRP_CONCLUSAO = 5;
|
|
public static final int FASE_CONCLUIDO = 6;
|
|
|
|
//Fases do plano - texto
|
|
public static final String FASE_SIPRP_EMISSAO_TXT = "SIPRP(Emissão)";
|
|
public static final String FASE_SEGURANCA_PREENCHIMENTO_TXT = "Segurança Auchan(Preenchimento)";
|
|
public static final String FASE_DIR_LOJA_VALIDACAO_TXT = "Director de loja(Validação)";
|
|
public static final String FASE_DNS_PARECER_TXT = "DNS(Parecer)";
|
|
public static final String FASE_SIPRP_CONCLUSAO_TXT = "SIPRP(Verificação/Conclusão)";
|
|
|
|
public static final String[] FASES_TEXTO = new String[] {
|
|
"SIPRP(Emissão)",
|
|
"Segurança Auchan(Preenchimento)",
|
|
"Director de loja(Validação)",
|
|
"DNS(Parecer)",
|
|
"SIPRP(Verificação/Conclusão)",
|
|
"Concluído"
|
|
};
|
|
|
|
//public static final String ANALISE_ACIDENTES_URL = "http://localhost:8084/AnaliseAcidentesTrabalho/faces/"; //testes
|
|
//public static final String ANALISE_ACIDENTES_URL = "http://192.168.111.24:8084/AnaliseAcidentesTrabalho/faces/"; //testes portatil
|
|
public static final String ANALISE_ACIDENTES_URL = "https://www.siprp.pt/AnaliseAcidentesTrabalho/faces/"; //real
|
|
public static final String PLANOS_ACTUACAO_URL = "https://www.siprp.pt/PlanosActuacao/faces/";
|
|
|
|
public static final String LOGOS_FOLDER = "/resources/images";
|
|
public static final String PDF_FOLDER_URL = "/resources/pdf";
|
|
|
|
|
|
public static final int ESTADO_MEDIDA_IMPLEMENTADA = 1;
|
|
public static final int ESTADO_MEDIDA_NAO_IMPLEMENTADA = 2;
|
|
public static final int ESTADO_MEDIDA_EM_IMPLEMENTACAO = 3;
|
|
}
|