package com.ejie.ab04b.constantes;

/**
 * @author GFI-NORTE
 * 
 */
public final class ConstantesEventos {

	/**
	 * Constructor.
	 */
	private ConstantesEventos() {

	}

	// Constantes de acceso a las colas JMS
	public static final String COLA_AVISOS_NAME_AB04B = "ab04bAvisosQueue";
	public static final String COLA_AVISOS_JNDI_AB04B = "ab04b.ab04bAvisosQueue";

	// Fabrica de conexiones de JMS
	public static final String JMS_CONNECTION_FACTORY_JNDI_AB04B = "ab04b.ab04bConnectionFactory";

	// Nombres de las propiedades de los eventos JMS
	public static final String EVENTO_EVENT_WHAT = "EventWhat";
	public static final String EVENTO_EVENT_WHO = "EventWho";
	public static final String EVENTO_EVENT_TIPOLOGY = "EventTipology";
	public static final String EVENTO_PLATEA_TYPE = "PlateaType";
	public static final String EVENTO_PLATEA_SUBTYPE = "PlateaSubType";
	public static final String EVENTO_STATUS = "Status";
	public static final String EVENTO_MAILBOX = "Mailbox";

	// Propiedades comunes de los eventos R02
	public static final String EVENT_WHO_R02 = "R02";
	public static final String EVENT_TIPOLOGY_TRAMITACION = "R02_TRAMITATION";

	// Evento de solicitud/aportación
	public static final String EVENT_WHAT_SOLIC_APORT = "R02_REQUEST";
	public static final String EVENT_R02_REQUEST_PLATEA_TYPE_SOLIC = "SOLTELEMATICA";
	public static final String EVENT_R02_REQUEST_PLATEA_TYPE_APORT = "APORTELEMATICA";
	public static final String EVENT_R02_REQUEST_PLATEA_TYPE_SOLIC_PRESENCIAL = "SOLPRESENCIAL";
	public static final String EVENT_R02_REQUEST_PLATEA_TYPE_APORT_PRESENCIAL = "APORPRESENCIAL";

	// Evento de tareas
	public static final String EVENT_WHAT_TAREAS = "R02_TASK";
	public static final String EVENT_R02_TASK_STATUS_SUGERIDA = "1";
	public static final String EVENT_R02_TASK_STATUS_RECHAZADA = "3";
	public static final String EVENT_R02_TASK_STATUS_EJECUTADA = "4";
	public static final String EVENT_R02_TASK_STATUS_ANULADA = "6";
	public static final String EVENT_R02_TASK_STATUS_REASIGNADA = "7";

	// Evento de Transformación PDFA
	public static final String EVENT_WHO_TRANSFORMACION = "t65b";
	public static final String EVENT_TIPOLOGY_TRANSFORMACION = "TRANSFORMATION";
	public static final String EVENT_WHAT_TRANSFORMACION = "TRANSFORMATION_RESULT";

	// Properties de los eventos
	public static final String EVENTO_PROPERTY_DOCUMENT_ID = "documentId";

	// Tipo error evento cola
	public static final String ERROR_EVENTO_COLA_TIPO_AVISOS = "1";

}
