package com.ejie.ad74a.constantes;

import java.util.Locale;

/**
 * 
 * @author
 * 
 */
public class Constantes {

	/**
	 * Constructor de Constantes
	 */
	private Constantes() {

	}

	public static final String COD_APLICACION = "AD74A";

	public static final String RUTA_PID = "/w43df/";

	public static final String PRINCIPAL_INTER_X87B = "x87b.principal";
	public static final String CREDENCIAL_INTER_X87B = "x87b.credencial";
	public static final String RUTA_PIF_INTER_X87B = "x87b.ruta.pif.intercambio";
	public static final String RUTA_WSDL_INTER_X87B = "x87b.wsdl";

	public static final String CONFIG_PATH = "/ad74a/ad74a.properties";
	public static final String CONFIG_SECURITY_PATH = "/ad74a/ad74a.seguridad.properties";

	public static final String USER_XLNETS_TOOLKIT = "Q99L";

	public static final int STRING_BUILDER_INIT = 4096;

	// Formato de fechas
	public static final String EU_DATE_MASK = "yyyy/MM/dd";
	public static final String ES_DATE_MASK = "dd/MM/yyyy";

	public static final String EU_GUION_DATE_MASK = "yyyy-MM-dd";
	public static final String ES_GUION_DATE_MASK = "dd-MM-yyyy";

	public static final String EU_DATETIME_MASK = "yyyy/MM/dd HH:mm";
	public static final String ES_DATETIME_MASK = "dd/MM/yyyy HH:mm";
	public static final String ES_TIMESTAMP_MASK_BBDD = "dd/MM/yyyy hh24:mm:ss";
	public static final String EU_TIMESTAMP_MASK_BBDD = "yyyy/MM/dd hh24:mm:ss";
	public static final String TIMESTAMP_MASK_DEFAULT = "dd/MM/yyyy HH:mm:ss";
	public static final String FORMATO_FECHA_YYYYMMDD = "yyyyMMdd";
	public static final String FORMATO_FECHA_YYYYMMDD_HORA = "yyyyMMddHHmmss";

	public static final String PLATEA_XML_EVENTS_DATE_FORMAT = "dd-MM-yyyy HH:mm:ss";

	// Constantes para el Idioma
	public static final String EU = com.ejie.x38.util.Constants.EUSKARA;
	public static final String ES = com.ejie.x38.util.Constants.CASTELLANO;
	public static final Locale LOCALE_ES = new Locale(Constantes.ES, "", "");
	public static final Locale LOCALE_EU = new Locale(Constantes.EU, "", "");

	// Provincias
	public static final String DEL_ALAVA = "01";
	public static final String DEL_BIZKAIA = "48";
	public static final String DEL_GIPUZKOA = "20";

	// Codigo CIF
	public static final String COD_CIF = "2";

	// Magic numbers
	public static final int CERO = 0;
	public static final int UNO = 1;
	public static final int DOS = 2;
	public static final int TRES = 3;
	public static final int CUATRO = 4;
	public static final int CINCO = 5;
	public static final int SEIS = 6;
	public static final int SIETE = 7;
	public static final int OCHO = 8;
	public static final int NUEVE = 9;

	// Tiempo de vida en PIF (15 dias)
	public static final Long PIF_TTL = 1296000L;

	// Errores
	// Solicitantes
	public static final String ERROR_NOEXISTESOL_MESSAGE = "error_noExisteSol_message";
	public static final String ERROR_NOEXISTESOL_NAME = "error_noExisteSol_name";

	public static final String ERROR_NOBENEFICIAIO_MESSAGE = "error_noBeneficiaio_message";
	public static final String ERROR_NOBENEFICIAIO_NAME = "error_noBeneficiaio_name";

	// Expedientes
	public static final String ERROR_NOEXISTEEXP_MESSAGE = "error_noExisteExp_message";
	public static final String ERROR_NOEXISTEEXP_NAME = "error_noExisteExp_name";

	public static final String INTERN_ID_FIRMANTES = "ejgv_id_firmantes";
	/**
	 * Nombres de los posibles firmantes del documento
	 */
	public static final String INTERN_NOM_FIRMANTES = "ejgv_nom_firmantes";

	public static final String USER_WS_TELEVIDA = "PRESTADOR";

	public static final String USER_PROCESADO_AUTOMATICO = "AUTOMATICO";

	public static final String XLNETS_USER_SSB_AD74A = "AD74AU02";

	public static final String VARCONTEXTO_DOCUCUENTAS = "DOCUCUENTAS";

	public static final String ENTORNO_DESARROLLO_HOST = "d";

	public static final String CONNECTION_FACTORY_JNDI_NAME = "ad74a.ad74aJMSFactory";
	public static final String PETICION_PRESTADOR_DESTINATION_JNDI_NAME = "ad74a.ad74aPeticionPrestadorJMS";
	public static final String RESPUESTA_PRESTADOR_DESTINATION_JNDI_NAME = "ad74a.ad74aRespuestaPrestadorJMS";

	// actividad beneficiario
	public static final String ID_DISP_DETECT_FUEGO = "1";
	public static final String ID_DISP_DETECT_GAS = "2";
	public static final String ID_DISP_DETECT_C0 = "3";
	public static final String ID_DISP_DETECT_MOVIL = "4";
	public static final String ID_DISP_DETECT_CAIDAS = "5";
	public static final String ID_DISP_DETECT_CONVUL = "9";
	public static final String ID_DISP_DETECT_NEURESIS = "10";
	public static final String ID_DISP_DETECT_OCUPACION = "11";

	public static final String ID_ALARMA_CHARLA_SOLEDAD = "5";
	public static final String ID_ALARMA_CITA = "6";
	public static final String ID_ALARMA_NO_RESPONDE = "8";
	public static final String ID_ALARMA_AGENDA_REV = "21";
	public static final String ID_ALARMA_AGENDA = "22";
	public static final String ID_ALARMA_FALLO_CALL = "25";
	public static final String ID_SEG_PUSUARIA = "31";
	public static final String ID_SEG_CUIDADOR = "32";

	public static final String ID_EMERG_SANITARIA = "1";
	public static final String ID_EMERG_SOCIAL = "2";
	public static final String ID_EMERG_PROBLEMA_SOCIAL = "3";
	public static final String ID_EMERG_PROBLEMA_SALUD = "4";
	public static final String ID_EMERG_DETECTOR = "5";
	public static final String ID_EMERG_PROBLEMA_TECNICO = "6";
	public static final String ID_EMERG_PROBLEMA_OTRAS = "7";

	// QR
	public static final String EXT_RTF = "rtf";
	public static final int PIXELES_QR = 90;

}