/**
 * IArchivalStrategy.java
 * Created Sep 8, 2007
 * Copyright (c) Tandberg Television 2007
 */
package com.tandbergtv.workflow.driver.template;

import com.tandbergtv.workflow.core.WorkflowTemplate;

/**
 * Template archival strategy
 * 
 * @author Sahil Verma
 */
public interface IArchivalStrategy {
	
	/**
	 * Deletes older versions of all templates 
	 */
	void archive();
	
	/**
	 * Deletes older versions of the specified template
	 * 
	 * @param templateName
	 */
	void archive(WorkflowTemplate template);
}
