Uni App
HOU - Computer Science - 2024-2025
Loading...
Searching...
No Matches
repository.service.SchoolJpaController Class Reference
Inheritance diagram for repository.service.SchoolJpaController:
Collaboration diagram for repository.service.SchoolJpaController:

Public Member Functions

 SchoolJpaController (EntityManagerFactory emf)
 
EntityManager getEntityManager ()
 
void create (School school)
 
void edit (School school) throws IllegalOrphanException, NonexistentEntityException, Exception
 
void destroy (Integer id) throws IllegalOrphanException, NonexistentEntityException
 
List< SchoolfindSchoolEntities ()
 
List< SchoolfindSchoolEntities (int maxResults, int firstResult)
 
School findSchool (Integer id)
 
int getSchoolCount ()
 
List< SchoolfindSchoolsByUniversity (String universityName)
 
School findSchoolByNameAndUniversity (String schoolName, String universityName)
 

Constructor & Destructor Documentation

◆ SchoolJpaController()

repository.service.SchoolJpaController.SchoolJpaController ( EntityManagerFactory emf)

Member Function Documentation

◆ create()

void repository.service.SchoolJpaController.create ( School school)
Here is the call graph for this function:

◆ destroy()

void repository.service.SchoolJpaController.destroy ( Integer id) throws IllegalOrphanException, NonexistentEntityException
Here is the call graph for this function:

◆ edit()

void repository.service.SchoolJpaController.edit ( School school) throws IllegalOrphanException, NonexistentEntityException, Exception
Here is the call graph for this function:

◆ findSchool()

School repository.service.SchoolJpaController.findSchool ( Integer id)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ findSchoolByNameAndUniversity()

School repository.service.SchoolJpaController.findSchoolByNameAndUniversity ( String schoolName,
String universityName )
Here is the call graph for this function:

◆ findSchoolEntities() [1/2]

List< School > repository.service.SchoolJpaController.findSchoolEntities ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ findSchoolEntities() [2/2]

List< School > repository.service.SchoolJpaController.findSchoolEntities ( int maxResults,
int firstResult )
Here is the call graph for this function:

◆ findSchoolsByUniversity()

List< School > repository.service.SchoolJpaController.findSchoolsByUniversity ( String universityName)
Here is the call graph for this function:

◆ getEntityManager()

EntityManager repository.service.SchoolJpaController.getEntityManager ( )
Here is the caller graph for this function:

◆ getSchoolCount()

int repository.service.SchoolJpaController.getSchoolCount ( )
Here is the call graph for this function:

The documentation for this class was generated from the following file: