@ProviderType public interface CountryPersistence extends BasePersistence<Country>, CTPersistence<Country>
Caching information and settings can be found in portal.properties
CountryUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(Country country)
Caches the country in the entity cache if it is enabled.
|
void |
cacheResult(List<Country> countries)
Caches the countries in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of countries.
|
int |
countByActive(boolean active)
Returns the number of countries where active = ?.
|
int |
countByC_A_B(long companyId,
boolean active,
boolean billingAllowed)
Returns the number of countries where companyId = ? and active = ? and billingAllowed = ?.
|
int |
countByC_A_S(long companyId,
boolean active,
boolean shippingAllowed)
Returns the number of countries where companyId = ? and active = ? and shippingAllowed = ?.
|
int |
countByC_A2(long companyId,
String a2)
Returns the number of countries where companyId = ? and a2 = ?.
|
int |
countByC_A3(long companyId,
String a3)
Returns the number of countries where companyId = ? and a3 = ?.
|
int |
countByC_Active(long companyId,
boolean active)
Returns the number of countries where companyId = ? and active = ?.
|
int |
countByC_Name(long companyId,
String name)
Returns the number of countries where companyId = ? and name = ?.
|
int |
countByC_Number(long companyId,
String number)
Returns the number of countries where companyId = ? and number = ?.
|
int |
countByCompanyId(long companyId)
Returns the number of countries where companyId = ?.
|
int |
countByUuid_C(String uuid,
long companyId)
Returns the number of countries where uuid = ? and companyId = ?.
|
int |
countByUuid(String uuid)
Returns the number of countries where uuid = ?.
|
Country |
create(long countryId)
Creates a new country with the primary key.
|
Country |
fetchByActive_First(boolean active,
OrderByComparator<Country> orderByComparator)
Returns the first country in the ordered set where active = ?.
|
Country |
fetchByActive_Last(boolean active,
OrderByComparator<Country> orderByComparator)
Returns the last country in the ordered set where active = ?.
|
Country |
fetchByC_A_B_First(long companyId,
boolean active,
boolean billingAllowed,
OrderByComparator<Country> orderByComparator)
Returns the first country in the ordered set where companyId = ? and active = ? and billingAllowed = ?.
|
Country |
fetchByC_A_B_Last(long companyId,
boolean active,
boolean billingAllowed,
OrderByComparator<Country> orderByComparator)
Returns the last country in the ordered set where companyId = ? and active = ? and billingAllowed = ?.
|
Country |
fetchByC_A_S_First(long companyId,
boolean active,
boolean shippingAllowed,
OrderByComparator<Country> orderByComparator)
Returns the first country in the ordered set where companyId = ? and active = ? and shippingAllowed = ?.
|
Country |
fetchByC_A_S_Last(long companyId,
boolean active,
boolean shippingAllowed,
OrderByComparator<Country> orderByComparator)
Returns the last country in the ordered set where companyId = ? and active = ? and shippingAllowed = ?.
|
Country |
fetchByC_A2(long companyId,
String a2)
Returns the country where companyId = ? and a2 = ? or returns
null if it could not be found. |
Country |
fetchByC_A2(long companyId,
String a2,
boolean useFinderCache)
Returns the country where companyId = ? and a2 = ? or returns
null if it could not be found, optionally using the finder cache. |
Country |
fetchByC_A3(long companyId,
String a3)
Returns the country where companyId = ? and a3 = ? or returns
null if it could not be found. |
Country |
fetchByC_A3(long companyId,
String a3,
boolean useFinderCache)
Returns the country where companyId = ? and a3 = ? or returns
null if it could not be found, optionally using the finder cache. |
Country |
fetchByC_Active_First(long companyId,
boolean active,
OrderByComparator<Country> orderByComparator)
Returns the first country in the ordered set where companyId = ? and active = ?.
|
Country |
fetchByC_Active_Last(long companyId,
boolean active,
OrderByComparator<Country> orderByComparator)
Returns the last country in the ordered set where companyId = ? and active = ?.
|
Country |
fetchByC_Name(long companyId,
String name)
Returns the country where companyId = ? and name = ? or returns
null if it could not be found. |
Country |
fetchByC_Name(long companyId,
String name,
boolean useFinderCache)
Returns the country where companyId = ? and name = ? or returns
null if it could not be found, optionally using the finder cache. |
Country |
fetchByC_Number(long companyId,
String number)
Returns the country where companyId = ? and number = ? or returns
null if it could not be found. |
Country |
fetchByC_Number(long companyId,
String number,
boolean useFinderCache)
Returns the country where companyId = ? and number = ? or returns
null if it could not be found, optionally using the finder cache. |
Country |
fetchByCompanyId_First(long companyId,
OrderByComparator<Country> orderByComparator)
Returns the first country in the ordered set where companyId = ?.
|
Country |
fetchByCompanyId_Last(long companyId,
OrderByComparator<Country> orderByComparator)
Returns the last country in the ordered set where companyId = ?.
|
Country |
fetchByPrimaryKey(long countryId)
Returns the country with the primary key or returns
null if it could not be found. |
Country |
fetchByUuid_C_First(String uuid,
long companyId,
OrderByComparator<Country> orderByComparator)
Returns the first country in the ordered set where uuid = ? and companyId = ?.
|
Country |
fetchByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<Country> orderByComparator)
Returns the last country in the ordered set where uuid = ? and companyId = ?.
|
Country |
fetchByUuid_First(String uuid,
OrderByComparator<Country> orderByComparator)
Returns the first country in the ordered set where uuid = ?.
|
Country |
fetchByUuid_Last(String uuid,
OrderByComparator<Country> orderByComparator)
Returns the last country in the ordered set where uuid = ?.
|
List<Country> |
findAll()
Returns all the countries.
|
List<Country> |
findAll(int start,
int end)
Returns a range of all the countries.
|
List<Country> |
findAll(int start,
int end,
OrderByComparator<Country> orderByComparator)
Returns an ordered range of all the countries.
|
List<Country> |
findAll(int start,
int end,
OrderByComparator<Country> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the countries.
|
Country |
findByActive_First(boolean active,
OrderByComparator<Country> orderByComparator)
Returns the first country in the ordered set where active = ?.
|
Country |
findByActive_Last(boolean active,
OrderByComparator<Country> orderByComparator)
Returns the last country in the ordered set where active = ?.
|
Country[] |
findByActive_PrevAndNext(long countryId,
boolean active,
OrderByComparator<Country> orderByComparator)
Returns the countries before and after the current country in the ordered set where active = ?.
|
List<Country> |
findByActive(boolean active)
Returns all the countries where active = ?.
|
List<Country> |
findByActive(boolean active,
int start,
int end)
Returns a range of all the countries where active = ?.
|
List<Country> |
findByActive(boolean active,
int start,
int end,
OrderByComparator<Country> orderByComparator)
Returns an ordered range of all the countries where active = ?.
|
List<Country> |
findByActive(boolean active,
int start,
int end,
OrderByComparator<Country> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the countries where active = ?.
|
Country |
findByC_A_B_First(long companyId,
boolean active,
boolean billingAllowed,
OrderByComparator<Country> orderByComparator)
Returns the first country in the ordered set where companyId = ? and active = ? and billingAllowed = ?.
|
Country |
findByC_A_B_Last(long companyId,
boolean active,
boolean billingAllowed,
OrderByComparator<Country> orderByComparator)
Returns the last country in the ordered set where companyId = ? and active = ? and billingAllowed = ?.
|
Country[] |
findByC_A_B_PrevAndNext(long countryId,
long companyId,
boolean active,
boolean billingAllowed,
OrderByComparator<Country> orderByComparator)
Returns the countries before and after the current country in the ordered set where companyId = ? and active = ? and billingAllowed = ?.
|
List<Country> |
findByC_A_B(long companyId,
boolean active,
boolean billingAllowed)
Returns all the countries where companyId = ? and active = ? and billingAllowed = ?.
|
List<Country> |
findByC_A_B(long companyId,
boolean active,
boolean billingAllowed,
int start,
int end)
Returns a range of all the countries where companyId = ? and active = ? and billingAllowed = ?.
|
List<Country> |
findByC_A_B(long companyId,
boolean active,
boolean billingAllowed,
int start,
int end,
OrderByComparator<Country> orderByComparator)
Returns an ordered range of all the countries where companyId = ? and active = ? and billingAllowed = ?.
|
List<Country> |
findByC_A_B(long companyId,
boolean active,
boolean billingAllowed,
int start,
int end,
OrderByComparator<Country> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the countries where companyId = ? and active = ? and billingAllowed = ?.
|
Country |
findByC_A_S_First(long companyId,
boolean active,
boolean shippingAllowed,
OrderByComparator<Country> orderByComparator)
Returns the first country in the ordered set where companyId = ? and active = ? and shippingAllowed = ?.
|
Country |
findByC_A_S_Last(long companyId,
boolean active,
boolean shippingAllowed,
OrderByComparator<Country> orderByComparator)
Returns the last country in the ordered set where companyId = ? and active = ? and shippingAllowed = ?.
|
Country[] |
findByC_A_S_PrevAndNext(long countryId,
long companyId,
boolean active,
boolean shippingAllowed,
OrderByComparator<Country> orderByComparator)
Returns the countries before and after the current country in the ordered set where companyId = ? and active = ? and shippingAllowed = ?.
|
List<Country> |
findByC_A_S(long companyId,
boolean active,
boolean shippingAllowed)
Returns all the countries where companyId = ? and active = ? and shippingAllowed = ?.
|
List<Country> |
findByC_A_S(long companyId,
boolean active,
boolean shippingAllowed,
int start,
int end)
Returns a range of all the countries where companyId = ? and active = ? and shippingAllowed = ?.
|
List<Country> |
findByC_A_S(long companyId,
boolean active,
boolean shippingAllowed,
int start,
int end,
OrderByComparator<Country> orderByComparator)
Returns an ordered range of all the countries where companyId = ? and active = ? and shippingAllowed = ?.
|
List<Country> |
findByC_A_S(long companyId,
boolean active,
boolean shippingAllowed,
int start,
int end,
OrderByComparator<Country> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the countries where companyId = ? and active = ? and shippingAllowed = ?.
|
Country |
findByC_A2(long companyId,
String a2)
Returns the country where companyId = ? and a2 = ? or throws a
NoSuchCountryException if it could not be found. |
Country |
findByC_A3(long companyId,
String a3)
Returns the country where companyId = ? and a3 = ? or throws a
NoSuchCountryException if it could not be found. |
Country |
findByC_Active_First(long companyId,
boolean active,
OrderByComparator<Country> orderByComparator)
Returns the first country in the ordered set where companyId = ? and active = ?.
|
Country |
findByC_Active_Last(long companyId,
boolean active,
OrderByComparator<Country> orderByComparator)
Returns the last country in the ordered set where companyId = ? and active = ?.
|
Country[] |
findByC_Active_PrevAndNext(long countryId,
long companyId,
boolean active,
OrderByComparator<Country> orderByComparator)
Returns the countries before and after the current country in the ordered set where companyId = ? and active = ?.
|
List<Country> |
findByC_Active(long companyId,
boolean active)
Returns all the countries where companyId = ? and active = ?.
|
List<Country> |
findByC_Active(long companyId,
boolean active,
int start,
int end)
Returns a range of all the countries where companyId = ? and active = ?.
|
List<Country> |
findByC_Active(long companyId,
boolean active,
int start,
int end,
OrderByComparator<Country> orderByComparator)
Returns an ordered range of all the countries where companyId = ? and active = ?.
|
List<Country> |
findByC_Active(long companyId,
boolean active,
int start,
int end,
OrderByComparator<Country> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the countries where companyId = ? and active = ?.
|
Country |
findByC_Name(long companyId,
String name)
Returns the country where companyId = ? and name = ? or throws a
NoSuchCountryException if it could not be found. |
Country |
findByC_Number(long companyId,
String number)
Returns the country where companyId = ? and number = ? or throws a
NoSuchCountryException if it could not be found. |
Country |
findByCompanyId_First(long companyId,
OrderByComparator<Country> orderByComparator)
Returns the first country in the ordered set where companyId = ?.
|
Country |
findByCompanyId_Last(long companyId,
OrderByComparator<Country> orderByComparator)
Returns the last country in the ordered set where companyId = ?.
|
Country[] |
findByCompanyId_PrevAndNext(long countryId,
long companyId,
OrderByComparator<Country> orderByComparator)
Returns the countries before and after the current country in the ordered set where companyId = ?.
|
List<Country> |
findByCompanyId(long companyId)
Returns all the countries where companyId = ?.
|
List<Country> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the countries where companyId = ?.
|
List<Country> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator<Country> orderByComparator)
Returns an ordered range of all the countries where companyId = ?.
|
List<Country> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator<Country> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the countries where companyId = ?.
|
Country |
findByPrimaryKey(long countryId)
Returns the country with the primary key or throws a
NoSuchCountryException if it could not be found. |
Country |
findByUuid_C_First(String uuid,
long companyId,
OrderByComparator<Country> orderByComparator)
Returns the first country in the ordered set where uuid = ? and companyId = ?.
|
Country |
findByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<Country> orderByComparator)
Returns the last country in the ordered set where uuid = ? and companyId = ?.
|
Country[] |
findByUuid_C_PrevAndNext(long countryId,
String uuid,
long companyId,
OrderByComparator<Country> orderByComparator)
Returns the countries before and after the current country in the ordered set where uuid = ? and companyId = ?.
|
List<Country> |
findByUuid_C(String uuid,
long companyId)
Returns all the countries where uuid = ? and companyId = ?.
|
List<Country> |
findByUuid_C(String uuid,
long companyId,
int start,
int end)
Returns a range of all the countries where uuid = ? and companyId = ?.
|
List<Country> |
findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator<Country> orderByComparator)
Returns an ordered range of all the countries where uuid = ? and companyId = ?.
|
List<Country> |
findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator<Country> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the countries where uuid = ? and companyId = ?.
|
Country |
findByUuid_First(String uuid,
OrderByComparator<Country> orderByComparator)
Returns the first country in the ordered set where uuid = ?.
|
Country |
findByUuid_Last(String uuid,
OrderByComparator<Country> orderByComparator)
Returns the last country in the ordered set where uuid = ?.
|
Country[] |
findByUuid_PrevAndNext(long countryId,
String uuid,
OrderByComparator<Country> orderByComparator)
Returns the countries before and after the current country in the ordered set where uuid = ?.
|
List<Country> |
findByUuid(String uuid)
Returns all the countries where uuid = ?.
|
List<Country> |
findByUuid(String uuid,
int start,
int end)
Returns a range of all the countries where uuid = ?.
|
List<Country> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator<Country> orderByComparator)
Returns an ordered range of all the countries where uuid = ?.
|
List<Country> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator<Country> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the countries where uuid = ?.
|
Country |
remove(long countryId)
Removes the country with the primary key from the database.
|
void |
removeAll()
Removes all the countries from the database.
|
void |
removeByActive(boolean active)
Removes all the countries where active = ? from the database.
|
void |
removeByC_A_B(long companyId,
boolean active,
boolean billingAllowed)
Removes all the countries where companyId = ? and active = ? and billingAllowed = ? from the database.
|
void |
removeByC_A_S(long companyId,
boolean active,
boolean shippingAllowed)
Removes all the countries where companyId = ? and active = ? and shippingAllowed = ? from the database.
|
Country |
removeByC_A2(long companyId,
String a2)
Removes the country where companyId = ? and a2 = ? from the database.
|
Country |
removeByC_A3(long companyId,
String a3)
Removes the country where companyId = ? and a3 = ? from the database.
|
void |
removeByC_Active(long companyId,
boolean active)
Removes all the countries where companyId = ? and active = ? from the database.
|
Country |
removeByC_Name(long companyId,
String name)
Removes the country where companyId = ? and name = ? from the database.
|
Country |
removeByC_Number(long companyId,
String number)
Removes the country where companyId = ? and number = ? from the database.
|
void |
removeByCompanyId(long companyId)
Removes all the countries where companyId = ? from the database.
|
void |
removeByUuid_C(String uuid,
long companyId)
Removes all the countries where uuid = ? and companyId = ? from the database.
|
void |
removeByUuid(String uuid)
Removes all the countries where uuid = ? from the database.
|
Country |
updateImpl(Country country) |
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
List<Country> findByUuid(String uuid)
uuid
- the uuidList<Country> findByUuid(String uuid, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CountryModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of countriesend
- the upper bound of the range of countries (not inclusive)List<Country> findByUuid(String uuid, int start, int end, OrderByComparator<Country> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CountryModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of countriesend
- the upper bound of the range of countries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)List<Country> findByUuid(String uuid, int start, int end, OrderByComparator<Country> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CountryModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of countriesend
- the upper bound of the range of countries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCountry findByUuid_First(String uuid, OrderByComparator<Country> orderByComparator) throws NoSuchCountryException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCountryException
- if a matching country could not be foundCountry fetchByUuid_First(String uuid, OrderByComparator<Country> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching country could not be foundCountry findByUuid_Last(String uuid, OrderByComparator<Country> orderByComparator) throws NoSuchCountryException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCountryException
- if a matching country could not be foundCountry fetchByUuid_Last(String uuid, OrderByComparator<Country> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching country could not be foundCountry[] findByUuid_PrevAndNext(long countryId, String uuid, OrderByComparator<Country> orderByComparator) throws NoSuchCountryException
countryId
- the primary key of the current countryuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCountryException
- if a country with the primary key could not be foundvoid removeByUuid(String uuid)
uuid
- the uuidint countByUuid(String uuid)
uuid
- the uuidList<Country> findByUuid_C(String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDList<Country> findByUuid_C(String uuid, long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CountryModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of countriesend
- the upper bound of the range of countries (not inclusive)List<Country> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<Country> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CountryModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of countriesend
- the upper bound of the range of countries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)List<Country> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<Country> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CountryModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of countriesend
- the upper bound of the range of countries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCountry findByUuid_C_First(String uuid, long companyId, OrderByComparator<Country> orderByComparator) throws NoSuchCountryException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCountryException
- if a matching country could not be foundCountry fetchByUuid_C_First(String uuid, long companyId, OrderByComparator<Country> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching country could not be foundCountry findByUuid_C_Last(String uuid, long companyId, OrderByComparator<Country> orderByComparator) throws NoSuchCountryException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCountryException
- if a matching country could not be foundCountry fetchByUuid_C_Last(String uuid, long companyId, OrderByComparator<Country> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching country could not be foundCountry[] findByUuid_C_PrevAndNext(long countryId, String uuid, long companyId, OrderByComparator<Country> orderByComparator) throws NoSuchCountryException
countryId
- the primary key of the current countryuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCountryException
- if a country with the primary key could not be foundvoid removeByUuid_C(String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDint countByUuid_C(String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDList<Country> findByCompanyId(long companyId)
companyId
- the company IDList<Country> findByCompanyId(long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CountryModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of countriesend
- the upper bound of the range of countries (not inclusive)List<Country> findByCompanyId(long companyId, int start, int end, OrderByComparator<Country> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CountryModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of countriesend
- the upper bound of the range of countries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)List<Country> findByCompanyId(long companyId, int start, int end, OrderByComparator<Country> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CountryModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of countriesend
- the upper bound of the range of countries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCountry findByCompanyId_First(long companyId, OrderByComparator<Country> orderByComparator) throws NoSuchCountryException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCountryException
- if a matching country could not be foundCountry fetchByCompanyId_First(long companyId, OrderByComparator<Country> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching country could not be foundCountry findByCompanyId_Last(long companyId, OrderByComparator<Country> orderByComparator) throws NoSuchCountryException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCountryException
- if a matching country could not be foundCountry fetchByCompanyId_Last(long companyId, OrderByComparator<Country> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching country could not be foundCountry[] findByCompanyId_PrevAndNext(long countryId, long companyId, OrderByComparator<Country> orderByComparator) throws NoSuchCountryException
countryId
- the primary key of the current countrycompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCountryException
- if a country with the primary key could not be foundvoid removeByCompanyId(long companyId)
companyId
- the company IDint countByCompanyId(long companyId)
companyId
- the company IDList<Country> findByActive(boolean active)
active
- the activeList<Country> findByActive(boolean active, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CountryModelImpl
.
active
- the activestart
- the lower bound of the range of countriesend
- the upper bound of the range of countries (not inclusive)List<Country> findByActive(boolean active, int start, int end, OrderByComparator<Country> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CountryModelImpl
.
active
- the activestart
- the lower bound of the range of countriesend
- the upper bound of the range of countries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)List<Country> findByActive(boolean active, int start, int end, OrderByComparator<Country> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CountryModelImpl
.
active
- the activestart
- the lower bound of the range of countriesend
- the upper bound of the range of countries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCountry findByActive_First(boolean active, OrderByComparator<Country> orderByComparator) throws NoSuchCountryException
active
- the activeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCountryException
- if a matching country could not be foundCountry fetchByActive_First(boolean active, OrderByComparator<Country> orderByComparator)
active
- the activeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching country could not be foundCountry findByActive_Last(boolean active, OrderByComparator<Country> orderByComparator) throws NoSuchCountryException
active
- the activeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCountryException
- if a matching country could not be foundCountry fetchByActive_Last(boolean active, OrderByComparator<Country> orderByComparator)
active
- the activeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching country could not be foundCountry[] findByActive_PrevAndNext(long countryId, boolean active, OrderByComparator<Country> orderByComparator) throws NoSuchCountryException
countryId
- the primary key of the current countryactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCountryException
- if a country with the primary key could not be foundvoid removeByActive(boolean active)
active
- the activeint countByActive(boolean active)
active
- the activeCountry findByC_A2(long companyId, String a2) throws NoSuchCountryException
NoSuchCountryException
if it could not be found.companyId
- the company IDa2
- the a2NoSuchCountryException
- if a matching country could not be foundCountry fetchByC_A2(long companyId, String a2)
null
if it could not be found. Uses the finder cache.companyId
- the company IDa2
- the a2null
if a matching country could not be foundCountry fetchByC_A2(long companyId, String a2, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.companyId
- the company IDa2
- the a2useFinderCache
- whether to use the finder cachenull
if a matching country could not be foundCountry removeByC_A2(long companyId, String a2) throws NoSuchCountryException
companyId
- the company IDa2
- the a2NoSuchCountryException
int countByC_A2(long companyId, String a2)
companyId
- the company IDa2
- the a2Country findByC_A3(long companyId, String a3) throws NoSuchCountryException
NoSuchCountryException
if it could not be found.companyId
- the company IDa3
- the a3NoSuchCountryException
- if a matching country could not be foundCountry fetchByC_A3(long companyId, String a3)
null
if it could not be found. Uses the finder cache.companyId
- the company IDa3
- the a3null
if a matching country could not be foundCountry fetchByC_A3(long companyId, String a3, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.companyId
- the company IDa3
- the a3useFinderCache
- whether to use the finder cachenull
if a matching country could not be foundCountry removeByC_A3(long companyId, String a3) throws NoSuchCountryException
companyId
- the company IDa3
- the a3NoSuchCountryException
int countByC_A3(long companyId, String a3)
companyId
- the company IDa3
- the a3List<Country> findByC_Active(long companyId, boolean active)
companyId
- the company IDactive
- the activeList<Country> findByC_Active(long companyId, boolean active, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CountryModelImpl
.
companyId
- the company IDactive
- the activestart
- the lower bound of the range of countriesend
- the upper bound of the range of countries (not inclusive)List<Country> findByC_Active(long companyId, boolean active, int start, int end, OrderByComparator<Country> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CountryModelImpl
.
companyId
- the company IDactive
- the activestart
- the lower bound of the range of countriesend
- the upper bound of the range of countries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)List<Country> findByC_Active(long companyId, boolean active, int start, int end, OrderByComparator<Country> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CountryModelImpl
.
companyId
- the company IDactive
- the activestart
- the lower bound of the range of countriesend
- the upper bound of the range of countries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCountry findByC_Active_First(long companyId, boolean active, OrderByComparator<Country> orderByComparator) throws NoSuchCountryException
companyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCountryException
- if a matching country could not be foundCountry fetchByC_Active_First(long companyId, boolean active, OrderByComparator<Country> orderByComparator)
companyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching country could not be foundCountry findByC_Active_Last(long companyId, boolean active, OrderByComparator<Country> orderByComparator) throws NoSuchCountryException
companyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCountryException
- if a matching country could not be foundCountry fetchByC_Active_Last(long companyId, boolean active, OrderByComparator<Country> orderByComparator)
companyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching country could not be foundCountry[] findByC_Active_PrevAndNext(long countryId, long companyId, boolean active, OrderByComparator<Country> orderByComparator) throws NoSuchCountryException
countryId
- the primary key of the current countrycompanyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCountryException
- if a country with the primary key could not be foundvoid removeByC_Active(long companyId, boolean active)
companyId
- the company IDactive
- the activeint countByC_Active(long companyId, boolean active)
companyId
- the company IDactive
- the activeCountry findByC_Name(long companyId, String name) throws NoSuchCountryException
NoSuchCountryException
if it could not be found.companyId
- the company IDname
- the nameNoSuchCountryException
- if a matching country could not be foundCountry fetchByC_Name(long companyId, String name)
null
if it could not be found. Uses the finder cache.companyId
- the company IDname
- the namenull
if a matching country could not be foundCountry fetchByC_Name(long companyId, String name, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.companyId
- the company IDname
- the nameuseFinderCache
- whether to use the finder cachenull
if a matching country could not be foundCountry removeByC_Name(long companyId, String name) throws NoSuchCountryException
companyId
- the company IDname
- the nameNoSuchCountryException
int countByC_Name(long companyId, String name)
companyId
- the company IDname
- the nameCountry findByC_Number(long companyId, String number) throws NoSuchCountryException
NoSuchCountryException
if it could not be found.companyId
- the company IDnumber
- the numberNoSuchCountryException
- if a matching country could not be foundCountry fetchByC_Number(long companyId, String number)
null
if it could not be found. Uses the finder cache.companyId
- the company IDnumber
- the numbernull
if a matching country could not be foundCountry fetchByC_Number(long companyId, String number, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.companyId
- the company IDnumber
- the numberuseFinderCache
- whether to use the finder cachenull
if a matching country could not be foundCountry removeByC_Number(long companyId, String number) throws NoSuchCountryException
companyId
- the company IDnumber
- the numberNoSuchCountryException
int countByC_Number(long companyId, String number)
companyId
- the company IDnumber
- the numberList<Country> findByC_A_B(long companyId, boolean active, boolean billingAllowed)
companyId
- the company IDactive
- the activebillingAllowed
- the billing allowedList<Country> findByC_A_B(long companyId, boolean active, boolean billingAllowed, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CountryModelImpl
.
companyId
- the company IDactive
- the activebillingAllowed
- the billing allowedstart
- the lower bound of the range of countriesend
- the upper bound of the range of countries (not inclusive)List<Country> findByC_A_B(long companyId, boolean active, boolean billingAllowed, int start, int end, OrderByComparator<Country> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CountryModelImpl
.
companyId
- the company IDactive
- the activebillingAllowed
- the billing allowedstart
- the lower bound of the range of countriesend
- the upper bound of the range of countries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)List<Country> findByC_A_B(long companyId, boolean active, boolean billingAllowed, int start, int end, OrderByComparator<Country> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CountryModelImpl
.
companyId
- the company IDactive
- the activebillingAllowed
- the billing allowedstart
- the lower bound of the range of countriesend
- the upper bound of the range of countries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCountry findByC_A_B_First(long companyId, boolean active, boolean billingAllowed, OrderByComparator<Country> orderByComparator) throws NoSuchCountryException
companyId
- the company IDactive
- the activebillingAllowed
- the billing allowedorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCountryException
- if a matching country could not be foundCountry fetchByC_A_B_First(long companyId, boolean active, boolean billingAllowed, OrderByComparator<Country> orderByComparator)
companyId
- the company IDactive
- the activebillingAllowed
- the billing allowedorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching country could not be foundCountry findByC_A_B_Last(long companyId, boolean active, boolean billingAllowed, OrderByComparator<Country> orderByComparator) throws NoSuchCountryException
companyId
- the company IDactive
- the activebillingAllowed
- the billing allowedorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCountryException
- if a matching country could not be foundCountry fetchByC_A_B_Last(long companyId, boolean active, boolean billingAllowed, OrderByComparator<Country> orderByComparator)
companyId
- the company IDactive
- the activebillingAllowed
- the billing allowedorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching country could not be foundCountry[] findByC_A_B_PrevAndNext(long countryId, long companyId, boolean active, boolean billingAllowed, OrderByComparator<Country> orderByComparator) throws NoSuchCountryException
countryId
- the primary key of the current countrycompanyId
- the company IDactive
- the activebillingAllowed
- the billing allowedorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCountryException
- if a country with the primary key could not be foundvoid removeByC_A_B(long companyId, boolean active, boolean billingAllowed)
companyId
- the company IDactive
- the activebillingAllowed
- the billing allowedint countByC_A_B(long companyId, boolean active, boolean billingAllowed)
companyId
- the company IDactive
- the activebillingAllowed
- the billing allowedList<Country> findByC_A_S(long companyId, boolean active, boolean shippingAllowed)
companyId
- the company IDactive
- the activeshippingAllowed
- the shipping allowedList<Country> findByC_A_S(long companyId, boolean active, boolean shippingAllowed, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CountryModelImpl
.
companyId
- the company IDactive
- the activeshippingAllowed
- the shipping allowedstart
- the lower bound of the range of countriesend
- the upper bound of the range of countries (not inclusive)List<Country> findByC_A_S(long companyId, boolean active, boolean shippingAllowed, int start, int end, OrderByComparator<Country> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CountryModelImpl
.
companyId
- the company IDactive
- the activeshippingAllowed
- the shipping allowedstart
- the lower bound of the range of countriesend
- the upper bound of the range of countries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)List<Country> findByC_A_S(long companyId, boolean active, boolean shippingAllowed, int start, int end, OrderByComparator<Country> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CountryModelImpl
.
companyId
- the company IDactive
- the activeshippingAllowed
- the shipping allowedstart
- the lower bound of the range of countriesend
- the upper bound of the range of countries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCountry findByC_A_S_First(long companyId, boolean active, boolean shippingAllowed, OrderByComparator<Country> orderByComparator) throws NoSuchCountryException
companyId
- the company IDactive
- the activeshippingAllowed
- the shipping allowedorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCountryException
- if a matching country could not be foundCountry fetchByC_A_S_First(long companyId, boolean active, boolean shippingAllowed, OrderByComparator<Country> orderByComparator)
companyId
- the company IDactive
- the activeshippingAllowed
- the shipping allowedorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching country could not be foundCountry findByC_A_S_Last(long companyId, boolean active, boolean shippingAllowed, OrderByComparator<Country> orderByComparator) throws NoSuchCountryException
companyId
- the company IDactive
- the activeshippingAllowed
- the shipping allowedorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCountryException
- if a matching country could not be foundCountry fetchByC_A_S_Last(long companyId, boolean active, boolean shippingAllowed, OrderByComparator<Country> orderByComparator)
companyId
- the company IDactive
- the activeshippingAllowed
- the shipping allowedorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching country could not be foundCountry[] findByC_A_S_PrevAndNext(long countryId, long companyId, boolean active, boolean shippingAllowed, OrderByComparator<Country> orderByComparator) throws NoSuchCountryException
countryId
- the primary key of the current countrycompanyId
- the company IDactive
- the activeshippingAllowed
- the shipping allowedorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCountryException
- if a country with the primary key could not be foundvoid removeByC_A_S(long companyId, boolean active, boolean shippingAllowed)
companyId
- the company IDactive
- the activeshippingAllowed
- the shipping allowedint countByC_A_S(long companyId, boolean active, boolean shippingAllowed)
companyId
- the company IDactive
- the activeshippingAllowed
- the shipping allowedvoid cacheResult(Country country)
country
- the countryvoid cacheResult(List<Country> countries)
countries
- the countriesCountry create(long countryId)
countryId
- the primary key for the new countryCountry remove(long countryId) throws NoSuchCountryException
countryId
- the primary key of the countryNoSuchCountryException
- if a country with the primary key could not be foundCountry findByPrimaryKey(long countryId) throws NoSuchCountryException
NoSuchCountryException
if it could not be found.countryId
- the primary key of the countryNoSuchCountryException
- if a country with the primary key could not be foundCountry fetchByPrimaryKey(long countryId)
null
if it could not be found.countryId
- the primary key of the countrynull
if a country with the primary key could not be foundList<Country> findAll()
List<Country> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CountryModelImpl
.
start
- the lower bound of the range of countriesend
- the upper bound of the range of countries (not inclusive)List<Country> findAll(int start, int end, OrderByComparator<Country> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CountryModelImpl
.
start
- the lower bound of the range of countriesend
- the upper bound of the range of countries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)List<Country> findAll(int start, int end, OrderByComparator<Country> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CountryModelImpl
.
start
- the lower bound of the range of countriesend
- the upper bound of the range of countries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()