/**
 * Constants.java
 * Created on Jul 9, 2008
 * (C) Copyright TANDBERG Television Ltd.
 */
package com.tandbergtv.watchpoint.pmm.job.ui;

/**
 * This class contains constants the job related jsps may require.
 * 
 * @author spuranik
 *
 */
public class JobUIConstants {

	// constants used by UI to show various status messages when
	// a job is created/updated/deleted
	public static String JOB_UPDATE_SUCCESSFUL = "Job was successfully updated.";
	public static String JOB_UPDATE_FAILED = "Job update failed.";
	
	public static String JOB_CREATION_SUCCESSFUL = "Job was successfully created.";
	public static String JOB_CREATION_FAILED = "Job creation failed.";
	
	public static String DISPLAY_MESSAGE = "job.delete.messages";
	public static String DISPLAY_ERRORS = "job.delete.errors";
	
	// date format when selecting a specific date for executing the job
	// in the job rule section
	public static String JOB_RULE_DATE_FORMAT = "yyyy-MM-dd";
	
	// time format in which the job start time is given in the job rule section
	public static String JOB_RULE_TIME_FORMAT = "h:mm a";
	
	// date format for job start and end date shown when creating /updating a job
	public static String JOB_START_DATE_FORMAT = "yyyy-MM-dd";
	public static String JOB_END_DATE_FORMAT = "yyyy-MM-dd";
	
	// date format when specifying dates as part of the job rule parameter
	public static String JOB_RULE_PARAM_DATE_FORMAT = "yyyy-MM-dd";
	
	// date format when specifying dates as part of the job parameters
	public static String JOB_PARAM_DATE_FORMAT = "yyyy-MM-dd";
}
