/*
 * Generated by XDoclet - Do not edit!
 */
package com.dragonsoft.tryapp.ejb.entity.interfaces;

/**
 * Local home interface for Grader.
 * @author Shaun Newsum The GraderBean handles calls to create/update/delete graders and query for courses assigned to the grader from within the database. The bean can be used to represent a single entity or used as a utility object to query for collections of courses for a grader
 */
public interface GraderLocalHome
   extends com.dragonsoft.tryapp.ejb.entity.interfaces.ConnectionLocalHome
{
   public static final String COMP_NAME="java:comp/env/ejb/GraderLocal";
   public static final String JNDI_NAME="GraderLocal";

   public com.dragonsoft.tryapp.ejb.entity.interfaces.GraderLocal create(java.lang.String username , java.lang.String courseID)
      throws javax.ejb.CreateException;

   public com.dragonsoft.tryapp.ejb.entity.interfaces.GraderLocal findByPrimaryKey(com.dragonsoft.tryapp.ejb.entity.interfaces.UserRolePK key)
      throws javax.ejb.FinderException;

   public java.util.Collection findCourses(java.lang.String username)
      throws javax.ejb.FinderException;

   public java.util.Collection findAllByCourseID(java.lang.String courseID)
      throws javax.ejb.FinderException;

}
