| 1 |  |   | 
  | 2 |  |   | 
  | 3 |  |   | 
  | 4 |  |   | 
  | 5 |  |   | 
  | 6 |  |   | 
  | 7 |  |   | 
  | 8 |  |   | 
  | 9 |  |   | 
  | 10 |  |   | 
  | 11 |  |   | 
  | 12 |  |   | 
  | 13 |  |   | 
  | 14 |  |   | 
  | 15 |  |   | 
  | 16 |  |  package org.kuali.student.core.proposal.dao; | 
  | 17 |  |   | 
  | 18 |  |  import java.util.List; | 
  | 19 |  |   | 
  | 20 |  |  import javax.persistence.EntityManager; | 
  | 21 |  |   | 
  | 22 |  |  import org.kuali.student.core.dao.CrudDao; | 
  | 23 |  |  import org.kuali.student.core.dao.SearchableDao; | 
  | 24 |  |  import org.kuali.student.core.exceptions.DoesNotExistException; | 
  | 25 |  |  import org.kuali.student.core.proposal.entity.Proposal; | 
  | 26 |  |  import org.kuali.student.core.proposal.entity.ProposalOrg; | 
  | 27 |  |  import org.kuali.student.core.proposal.entity.ProposalPerson; | 
  | 28 |  |  import org.kuali.student.core.proposal.entity.ProposalReference; | 
  | 29 |  |  import org.kuali.student.core.proposal.entity.ProposalType; | 
  | 30 |  |   | 
  | 31 |  |   | 
  | 32 |  |   | 
  | 33 |  |   | 
  | 34 |  |   | 
  | 35 |  |   | 
  | 36 |  |   | 
  | 37 |  |  public interface ProposalDao extends CrudDao, SearchableDao { | 
  | 38 |  |      public List<Proposal> getProposalsByIdList(List<String> idList); | 
  | 39 |  |      public List<Proposal> getProposalsByProposalType(String proposalTypeId) throws DoesNotExistException; | 
  | 40 |  |      public List<Proposal> getProposalsByReference(String referenceTypeId, String referenceId) throws DoesNotExistException; | 
  | 41 |  |      public List<Proposal> getProposalsByState(String proposalState, String proposalTypeId) throws DoesNotExistException; | 
  | 42 |  |      public Proposal getProposalByWorkflowId(String workflowId) throws DoesNotExistException; | 
  | 43 |  |      public List<ProposalType> getProposalTypesForReferenceType(String referenceTypeId) throws DoesNotExistException; | 
  | 44 |  |      public ProposalPerson getProposalPerson(String proposerId); | 
  | 45 |  |      public ProposalOrg getProposalOrg(String orgId); | 
  | 46 |  |      public ProposalReference getObjectReference(String objectReferenceId, String objectReferenceType); | 
  | 47 |  |      public EntityManager getEm(); | 
  | 48 |  |  } |