Package com.amos2020.javabackend.service
Class FacCritService
java.lang.Object
com.amos2020.javabackend.service.FacCritService
@Service
public class FacCritService
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description (package private) FacCritRepositoryrepository -
Constructor Summary
Constructors Constructor Description FacCritService(FacCritRepository repository) -
Method Summary
Modifier and Type Method Description FacCritexists(int facCritId)Checks if facCrit exists and returns the facCrit or throws an exceptionjava.util.List<FacCrit>getAllById(java.util.List<java.lang.Integer> factorCriteriaIds)Get a list of facCrits by a list of facCrit idsjava.util.List<FacCrit>getAllFacCrits()Returns all existing facCritsjava.util.List<FacCrit>getAllFacCritsByInterviewId(int interviewId)Returns all Faccrits ordered by an Interview id ordered by their hierachy
-
Field Details
-
Constructor Details
-
Method Details
-
getAllById
public java.util.List<FacCrit> getAllById(java.util.List<java.lang.Integer> factorCriteriaIds) throws javassist.NotFoundExceptionGet a list of facCrits by a list of facCrit ids- Parameters:
factorCriteriaIds- List- Returns:
- List of FacCrits
- Throws:
javassist.NotFoundException- If a given facCrit id is not found
-
exists
Checks if facCrit exists and returns the facCrit or throws an exception- Parameters:
facCritId- int- Returns:
- FacCrit
- Throws:
javassist.NotFoundException- If the given facCrit id is invalid and can not be found
-
getAllFacCrits
Returns all existing facCrits- Returns:
- List
-
getAllFacCritsByInterviewId
Returns all Faccrits ordered by an Interview id ordered by their hierachy- Parameters:
interviewId-- Returns:
- List
-