public class CountryRepository extends Object implements com.reve.db.repo.Repository
| Modifier and Type | Field and Description |
|---|---|
ArrayList<CountryDTO> |
countryAll |
HashMap<String,CountryDTO> |
countryByCode |
HashMap<String,CountryDTO> |
countryByCurrencyCode |
HashMap<Long,CountryDTO> |
countryByID |
HashMap<String,CountryDTO> |
countryByISO |
HashMap<String,CountryDTO> |
countryByISO2 |
HashMap<String,CountryDTO> |
countryByName |
static org.slf4j.Logger |
logger |
| Modifier and Type | Method and Description |
|---|---|
void |
addToRepository(CountryDTO dto) |
ArrayList<CountryDTO> |
getAllCountry() |
CountryDTO |
getCountryByCode(String countryCode) |
CountryDTO |
getCountryByCurrencyCode(String currencyCode) |
CountryDTO |
getCountryByISO(String iso) |
CountryDTO |
getCountryByISO2(String iso) |
ArrayList<Long> |
getCountryByLikeName(String countryName) |
CountryDTO |
getCountryByName(String countryName) |
CountryDTO |
getCountryDTO(long id) |
CountryDTO |
getCountryDTOByMobileNumber(String mobileNumber) |
static CountryRepository |
getInstance() |
String |
getTableName() |
void |
reload(boolean loadAll) |
public HashMap<Long,CountryDTO> countryByID
public HashMap<String,CountryDTO> countryByName
public HashMap<String,CountryDTO> countryByCode
public HashMap<String,CountryDTO> countryByISO
public HashMap<String,CountryDTO> countryByISO2
public HashMap<String,CountryDTO> countryByCurrencyCode
public ArrayList<CountryDTO> countryAll
public static org.slf4j.Logger logger
public static CountryRepository getInstance()
public void reload(boolean loadAll)
reload in interface com.reve.db.repo.Repositorypublic ArrayList<CountryDTO> getAllCountry()
public CountryDTO getCountryDTO(long id)
public CountryDTO getCountryByISO(String iso)
public CountryDTO getCountryByISO2(String iso)
public CountryDTO getCountryByName(String countryName)
public CountryDTO getCountryByCode(String countryCode)
public CountryDTO getCountryByCurrencyCode(String currencyCode)
public void addToRepository(CountryDTO dto)
public CountryDTO getCountryDTOByMobileNumber(String mobileNumber)
public String getTableName()
getTableName in interface com.reve.db.repo.RepositoryCopyright © 2026. All rights reserved.