/**
 * IJobScheduleManager.java
 * Created on May 15, 2008
 * (C) Copyright TANDBERG Television Ltd.
 */
package com.tandbergtv.watchpoint.pmm.job.scheduling;

import com.tandbergtv.watchpoint.pmm.entities.Job;
import com.tandbergtv.workflow.core.service.Service;

/**
 * API for scheduling, updating, deleting jobs from a scheduling engine.
 * 
 * @author spuranik
 */
public interface IJobScheduleManager extends Service {

	/**
	 * @param job
	 *            job for which a schedule needs to be added in the scheduling engine
	 */
	public void addSchedule(Job job);

	/**
	 * @param job
	 *            job which needs to be updated in the scheduling engine
	 */
	public void updateSchedule(Job job);

	/**
	 * @param job
	 *            job whose schedules need to be deleted from the scheduling engine
	 */
	public void deleteSchedules(Job job);
}
