Uni App
HOU - Computer Science - 2024-2025
Loading...
Searching...
No Matches
model.SettingsModel.SettingsDAO Class Reference
Inheritance diagram for model.SettingsModel.SettingsDAO:
Collaboration diagram for model.SettingsModel.SettingsDAO:

Public Member Functions

 SettingsDAO (EntityManagerFactory emf)
 
List< CountryfindAllOrdered ()
 
void deleteAllEntries ()
 
- Public Member Functions inherited from repository.service.CountryJpaController
 CountryJpaController (EntityManagerFactory emf)
 
EntityManager getEntityManager ()
 
void create (Country country) throws PreexistingEntityException, Exception
 
void edit (Country country) throws NonexistentEntityException, Exception
 
void destroy (String id) throws NonexistentEntityException
 
List< CountryfindCountryEntities ()
 
List< CountryfindCountryEntities (int maxResults, int firstResult)
 
Country findCountry (String id)
 

Detailed Description

DAO class to support the Settings Model Class

Constructor & Destructor Documentation

◆ SettingsDAO()

model.SettingsModel.SettingsDAO.SettingsDAO ( EntityManagerFactory emf)
Here is the call graph for this function:

Member Function Documentation

◆ deleteAllEntries()

void model.SettingsModel.SettingsDAO.deleteAllEntries ( )

Clears the database records. Leeaves intact the countries table fro future use

Here is the call graph for this function:
Here is the caller graph for this function:

◆ findAllOrdered()

List< Country > model.SettingsModel.SettingsDAO.findAllOrdered ( )

Returns a list with all the available countries

Returns
Here is the call graph for this function:
Here is the caller graph for this function:

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