1 package org.itracker.persistence.dao; 2 3 import org.itracker.model.WorkflowScript; 4 5 import java.util.List; 6 7 /** 8 * Interface to define basic operations to deal with the 9 * <code>WorkflowScript</code> entity 10 */ 11 public interface WorkflowScriptDAO extends BaseDAO<WorkflowScript> { 12 13 /** 14 * Find a <code>WorkflowScript</code> by its primary key 15 * 16 * @param id primary key of the <code>WorkflowScript</code> 17 * @return The <code>WorkflowScript</code> found 18 */ 19 public WorkflowScript findByPrimaryKey(Integer id); 20 21 /** 22 * Finds all <code>WorkflowScript</code>s 23 * 24 * @return a <code>Collection</code> with all <code>WorkflowScript</code>s 25 */ 26 public List<WorkflowScript> findAll(); 27 28 }