@ProviderType public interface CommerceCountryPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceCountry>
Caching information and settings can be found in portal.properties
CommerceCountryUtil| Modifier and Type | Method and Description |
|---|---|
void |
cacheResult(CommerceCountry commerceCountry)
Caches the commerce country in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<CommerceCountry> commerceCountries)
Caches the commerce countries in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of commerce countries.
|
int |
countByC_A(long companyId,
boolean active)
Returns the number of commerce countries where companyId = ? and active = ?.
|
int |
countByC_B_A(long companyId,
boolean billingAllowed,
boolean active)
Returns the number of commerce countries where companyId = ? and billingAllowed = ? and active = ?.
|
int |
countByC_N(long companyId,
int numericISOCode)
Returns the number of commerce countries where companyId = ? and numericISOCode = ?.
|
int |
countByC_S_A(long companyId,
boolean shippingAllowed,
boolean active)
Returns the number of commerce countries where companyId = ? and shippingAllowed = ? and active = ?.
|
int |
countByC_Tw(long companyId,
java.lang.String twoLettersISOCode)
Returns the number of commerce countries where companyId = ? and twoLettersISOCode = ?.
|
int |
countByCompanyId(long companyId)
Returns the number of commerce countries where companyId = ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of commerce countries where uuid = ? and companyId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of commerce countries where uuid = ?.
|
CommerceCountry |
create(long commerceCountryId)
Creates a new commerce country with the primary key.
|
CommerceCountry |
fetchByC_A_First(long companyId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator)
Returns the first commerce country in the ordered set where companyId = ? and active = ?.
|
CommerceCountry |
fetchByC_A_Last(long companyId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator)
Returns the last commerce country in the ordered set where companyId = ? and active = ?.
|
CommerceCountry |
fetchByC_B_A_First(long companyId,
boolean billingAllowed,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator)
Returns the first commerce country in the ordered set where companyId = ? and billingAllowed = ? and active = ?.
|
CommerceCountry |
fetchByC_B_A_Last(long companyId,
boolean billingAllowed,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator)
Returns the last commerce country in the ordered set where companyId = ? and billingAllowed = ? and active = ?.
|
CommerceCountry |
fetchByC_N(long companyId,
int numericISOCode)
Returns the commerce country where companyId = ? and numericISOCode = ? or returns
null if it could not be found. |
CommerceCountry |
fetchByC_N(long companyId,
int numericISOCode,
boolean useFinderCache)
Returns the commerce country where companyId = ? and numericISOCode = ? or returns
null if it could not be found, optionally using the finder cache. |
CommerceCountry |
fetchByC_S_A_First(long companyId,
boolean shippingAllowed,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator)
Returns the first commerce country in the ordered set where companyId = ? and shippingAllowed = ? and active = ?.
|
CommerceCountry |
fetchByC_S_A_Last(long companyId,
boolean shippingAllowed,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator)
Returns the last commerce country in the ordered set where companyId = ? and shippingAllowed = ? and active = ?.
|
CommerceCountry |
fetchByC_Tw(long companyId,
java.lang.String twoLettersISOCode)
Returns the commerce country where companyId = ? and twoLettersISOCode = ? or returns
null if it could not be found. |
CommerceCountry |
fetchByC_Tw(long companyId,
java.lang.String twoLettersISOCode,
boolean useFinderCache)
Returns the commerce country where companyId = ? and twoLettersISOCode = ? or returns
null if it could not be found, optionally using the finder cache. |
CommerceCountry |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator)
Returns the first commerce country in the ordered set where companyId = ?.
|
CommerceCountry |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator)
Returns the last commerce country in the ordered set where companyId = ?.
|
CommerceCountry |
fetchByPrimaryKey(long commerceCountryId)
Returns the commerce country with the primary key or returns
null if it could not be found. |
CommerceCountry |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator)
Returns the first commerce country in the ordered set where uuid = ? and companyId = ?.
|
CommerceCountry |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator)
Returns the last commerce country in the ordered set where uuid = ? and companyId = ?.
|
CommerceCountry |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator)
Returns the first commerce country in the ordered set where uuid = ?.
|
CommerceCountry |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator)
Returns the last commerce country in the ordered set where uuid = ?.
|
java.util.List<CommerceCountry> |
findAll()
Returns all the commerce countries.
|
java.util.List<CommerceCountry> |
findAll(int start,
int end)
Returns a range of all the commerce countries.
|
java.util.List<CommerceCountry> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator)
Returns an ordered range of all the commerce countries.
|
java.util.List<CommerceCountry> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce countries.
|
CommerceCountry |
findByC_A_First(long companyId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator)
Returns the first commerce country in the ordered set where companyId = ? and active = ?.
|
CommerceCountry |
findByC_A_Last(long companyId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator)
Returns the last commerce country in the ordered set where companyId = ? and active = ?.
|
CommerceCountry[] |
findByC_A_PrevAndNext(long commerceCountryId,
long companyId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator)
Returns the commerce countries before and after the current commerce country in the ordered set where companyId = ? and active = ?.
|
java.util.List<CommerceCountry> |
findByC_A(long companyId,
boolean active)
Returns all the commerce countries where companyId = ? and active = ?.
|
java.util.List<CommerceCountry> |
findByC_A(long companyId,
boolean active,
int start,
int end)
Returns a range of all the commerce countries where companyId = ? and active = ?.
|
java.util.List<CommerceCountry> |
findByC_A(long companyId,
boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator)
Returns an ordered range of all the commerce countries where companyId = ? and active = ?.
|
java.util.List<CommerceCountry> |
findByC_A(long companyId,
boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce countries where companyId = ? and active = ?.
|
CommerceCountry |
findByC_B_A_First(long companyId,
boolean billingAllowed,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator)
Returns the first commerce country in the ordered set where companyId = ? and billingAllowed = ? and active = ?.
|
CommerceCountry |
findByC_B_A_Last(long companyId,
boolean billingAllowed,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator)
Returns the last commerce country in the ordered set where companyId = ? and billingAllowed = ? and active = ?.
|
CommerceCountry[] |
findByC_B_A_PrevAndNext(long commerceCountryId,
long companyId,
boolean billingAllowed,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator)
Returns the commerce countries before and after the current commerce country in the ordered set where companyId = ? and billingAllowed = ? and active = ?.
|
java.util.List<CommerceCountry> |
findByC_B_A(long companyId,
boolean billingAllowed,
boolean active)
Returns all the commerce countries where companyId = ? and billingAllowed = ? and active = ?.
|
java.util.List<CommerceCountry> |
findByC_B_A(long companyId,
boolean billingAllowed,
boolean active,
int start,
int end)
Returns a range of all the commerce countries where companyId = ? and billingAllowed = ? and active = ?.
|
java.util.List<CommerceCountry> |
findByC_B_A(long companyId,
boolean billingAllowed,
boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator)
Returns an ordered range of all the commerce countries where companyId = ? and billingAllowed = ? and active = ?.
|
java.util.List<CommerceCountry> |
findByC_B_A(long companyId,
boolean billingAllowed,
boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce countries where companyId = ? and billingAllowed = ? and active = ?.
|
CommerceCountry |
findByC_N(long companyId,
int numericISOCode)
Returns the commerce country where companyId = ? and numericISOCode = ? or throws a
NoSuchCountryException if it could not be found. |
CommerceCountry |
findByC_S_A_First(long companyId,
boolean shippingAllowed,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator)
Returns the first commerce country in the ordered set where companyId = ? and shippingAllowed = ? and active = ?.
|
CommerceCountry |
findByC_S_A_Last(long companyId,
boolean shippingAllowed,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator)
Returns the last commerce country in the ordered set where companyId = ? and shippingAllowed = ? and active = ?.
|
CommerceCountry[] |
findByC_S_A_PrevAndNext(long commerceCountryId,
long companyId,
boolean shippingAllowed,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator)
Returns the commerce countries before and after the current commerce country in the ordered set where companyId = ? and shippingAllowed = ? and active = ?.
|
java.util.List<CommerceCountry> |
findByC_S_A(long companyId,
boolean shippingAllowed,
boolean active)
Returns all the commerce countries where companyId = ? and shippingAllowed = ? and active = ?.
|
java.util.List<CommerceCountry> |
findByC_S_A(long companyId,
boolean shippingAllowed,
boolean active,
int start,
int end)
Returns a range of all the commerce countries where companyId = ? and shippingAllowed = ? and active = ?.
|
java.util.List<CommerceCountry> |
findByC_S_A(long companyId,
boolean shippingAllowed,
boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator)
Returns an ordered range of all the commerce countries where companyId = ? and shippingAllowed = ? and active = ?.
|
java.util.List<CommerceCountry> |
findByC_S_A(long companyId,
boolean shippingAllowed,
boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce countries where companyId = ? and shippingAllowed = ? and active = ?.
|
CommerceCountry |
findByC_Tw(long companyId,
java.lang.String twoLettersISOCode)
Returns the commerce country where companyId = ? and twoLettersISOCode = ? or throws a
NoSuchCountryException if it could not be found. |
CommerceCountry |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator)
Returns the first commerce country in the ordered set where companyId = ?.
|
CommerceCountry |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator)
Returns the last commerce country in the ordered set where companyId = ?.
|
CommerceCountry[] |
findByCompanyId_PrevAndNext(long commerceCountryId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator)
Returns the commerce countries before and after the current commerce country in the ordered set where companyId = ?.
|
java.util.List<CommerceCountry> |
findByCompanyId(long companyId)
Returns all the commerce countries where companyId = ?.
|
java.util.List<CommerceCountry> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the commerce countries where companyId = ?.
|
java.util.List<CommerceCountry> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator)
Returns an ordered range of all the commerce countries where companyId = ?.
|
java.util.List<CommerceCountry> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce countries where companyId = ?.
|
CommerceCountry |
findByPrimaryKey(long commerceCountryId)
Returns the commerce country with the primary key or throws a
NoSuchCountryException if it could not be found. |
CommerceCountry |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator)
Returns the first commerce country in the ordered set where uuid = ? and companyId = ?.
|
CommerceCountry |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator)
Returns the last commerce country in the ordered set where uuid = ? and companyId = ?.
|
CommerceCountry[] |
findByUuid_C_PrevAndNext(long commerceCountryId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator)
Returns the commerce countries before and after the current commerce country in the ordered set where uuid = ? and companyId = ?.
|
java.util.List<CommerceCountry> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the commerce countries where uuid = ? and companyId = ?.
|
java.util.List<CommerceCountry> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the commerce countries where uuid = ? and companyId = ?.
|
java.util.List<CommerceCountry> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator)
Returns an ordered range of all the commerce countries where uuid = ? and companyId = ?.
|
java.util.List<CommerceCountry> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce countries where uuid = ? and companyId = ?.
|
CommerceCountry |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator)
Returns the first commerce country in the ordered set where uuid = ?.
|
CommerceCountry |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator)
Returns the last commerce country in the ordered set where uuid = ?.
|
CommerceCountry[] |
findByUuid_PrevAndNext(long commerceCountryId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator)
Returns the commerce countries before and after the current commerce country in the ordered set where uuid = ?.
|
java.util.List<CommerceCountry> |
findByUuid(java.lang.String uuid)
Returns all the commerce countries where uuid = ?.
|
java.util.List<CommerceCountry> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the commerce countries where uuid = ?.
|
java.util.List<CommerceCountry> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator)
Returns an ordered range of all the commerce countries where uuid = ?.
|
java.util.List<CommerceCountry> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce countries where uuid = ?.
|
CommerceCountry |
remove(long commerceCountryId)
Removes the commerce country with the primary key from the database.
|
void |
removeAll()
Removes all the commerce countries from the database.
|
void |
removeByC_A(long companyId,
boolean active)
Removes all the commerce countries where companyId = ? and active = ? from the database.
|
void |
removeByC_B_A(long companyId,
boolean billingAllowed,
boolean active)
Removes all the commerce countries where companyId = ? and billingAllowed = ? and active = ? from the database.
|
CommerceCountry |
removeByC_N(long companyId,
int numericISOCode)
Removes the commerce country where companyId = ? and numericISOCode = ? from the database.
|
void |
removeByC_S_A(long companyId,
boolean shippingAllowed,
boolean active)
Removes all the commerce countries where companyId = ? and shippingAllowed = ? and active = ? from the database.
|
CommerceCountry |
removeByC_Tw(long companyId,
java.lang.String twoLettersISOCode)
Removes the commerce country where companyId = ? and twoLettersISOCode = ? from the database.
|
void |
removeByCompanyId(long companyId)
Removes all the commerce countries where companyId = ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the commerce countries where uuid = ? and companyId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the commerce countries where uuid = ? from the database.
|
CommerceCountry |
updateImpl(CommerceCountry commerceCountry) |
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, updatejava.util.List<CommerceCountry> findByUuid(java.lang.String uuid)
uuid - the uuidjava.util.List<CommerceCountry> findByUuid(java.lang.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 CommerceCountryModelImpl.
uuid - the uuidstart - the lower bound of the range of commerce countriesend - the upper bound of the range of commerce countries (not inclusive)java.util.List<CommerceCountry> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> 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 CommerceCountryModelImpl.
uuid - the uuidstart - the lower bound of the range of commerce countriesend - the upper bound of the range of commerce countries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<CommerceCountry> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> 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 CommerceCountryModelImpl.
uuid - the uuidstart - the lower bound of the range of commerce countriesend - the upper bound of the range of commerce countries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cacheCommerceCountry findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator) throws NoSuchCountryException
uuid - the uuidorderByComparator - the comparator to order the set by (optionally null)NoSuchCountryException - if a matching commerce country could not be foundCommerceCountry fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator)
uuid - the uuidorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce country could not be foundCommerceCountry findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator) throws NoSuchCountryException
uuid - the uuidorderByComparator - the comparator to order the set by (optionally null)NoSuchCountryException - if a matching commerce country could not be foundCommerceCountry fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator)
uuid - the uuidorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce country could not be foundCommerceCountry[] findByUuid_PrevAndNext(long commerceCountryId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator) throws NoSuchCountryException
commerceCountryId - the primary key of the current commerce countryuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)NoSuchCountryException - if a commerce country with the primary key could not be foundvoid removeByUuid(java.lang.String uuid)
uuid - the uuidint countByUuid(java.lang.String uuid)
uuid - the uuidjava.util.List<CommerceCountry> findByUuid_C(java.lang.String uuid, long companyId)
uuid - the uuidcompanyId - the company IDjava.util.List<CommerceCountry> findByUuid_C(java.lang.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 CommerceCountryModelImpl.
uuid - the uuidcompanyId - the company IDstart - the lower bound of the range of commerce countriesend - the upper bound of the range of commerce countries (not inclusive)java.util.List<CommerceCountry> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> 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 CommerceCountryModelImpl.
uuid - the uuidcompanyId - the company IDstart - the lower bound of the range of commerce countriesend - the upper bound of the range of commerce countries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<CommerceCountry> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> 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 CommerceCountryModelImpl.
uuid - the uuidcompanyId - the company IDstart - the lower bound of the range of commerce countriesend - the upper bound of the range of commerce countries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cacheCommerceCountry findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator) throws NoSuchCountryException
uuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchCountryException - if a matching commerce country could not be foundCommerceCountry fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator)
uuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce country could not be foundCommerceCountry findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator) throws NoSuchCountryException
uuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchCountryException - if a matching commerce country could not be foundCommerceCountry fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator)
uuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce country could not be foundCommerceCountry[] findByUuid_C_PrevAndNext(long commerceCountryId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator) throws NoSuchCountryException
commerceCountryId - the primary key of the current commerce countryuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchCountryException - if a commerce country with the primary key could not be foundvoid removeByUuid_C(java.lang.String uuid,
long companyId)
uuid - the uuidcompanyId - the company IDint countByUuid_C(java.lang.String uuid,
long companyId)
uuid - the uuidcompanyId - the company IDjava.util.List<CommerceCountry> findByCompanyId(long companyId)
companyId - the company IDjava.util.List<CommerceCountry> 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 CommerceCountryModelImpl.
companyId - the company IDstart - the lower bound of the range of commerce countriesend - the upper bound of the range of commerce countries (not inclusive)java.util.List<CommerceCountry> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> 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 CommerceCountryModelImpl.
companyId - the company IDstart - the lower bound of the range of commerce countriesend - the upper bound of the range of commerce countries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<CommerceCountry> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> 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 CommerceCountryModelImpl.
companyId - the company IDstart - the lower bound of the range of commerce countriesend - the upper bound of the range of commerce countries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cacheCommerceCountry findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator) throws NoSuchCountryException
companyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchCountryException - if a matching commerce country could not be foundCommerceCountry fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator)
companyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce country could not be foundCommerceCountry findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator) throws NoSuchCountryException
companyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchCountryException - if a matching commerce country could not be foundCommerceCountry fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator)
companyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce country could not be foundCommerceCountry[] findByCompanyId_PrevAndNext(long commerceCountryId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator) throws NoSuchCountryException
commerceCountryId - the primary key of the current commerce countrycompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchCountryException - if a commerce country with the primary key could not be foundvoid removeByCompanyId(long companyId)
companyId - the company IDint countByCompanyId(long companyId)
companyId - the company IDCommerceCountry findByC_Tw(long companyId, java.lang.String twoLettersISOCode) throws NoSuchCountryException
NoSuchCountryException if it could not be found.companyId - the company IDtwoLettersISOCode - the two letters iso codeNoSuchCountryException - if a matching commerce country could not be foundCommerceCountry fetchByC_Tw(long companyId, java.lang.String twoLettersISOCode)
null if it could not be found. Uses the finder cache.companyId - the company IDtwoLettersISOCode - the two letters iso codenull if a matching commerce country could not be foundCommerceCountry fetchByC_Tw(long companyId, java.lang.String twoLettersISOCode, boolean useFinderCache)
null if it could not be found, optionally using the finder cache.companyId - the company IDtwoLettersISOCode - the two letters iso codeuseFinderCache - whether to use the finder cachenull if a matching commerce country could not be foundCommerceCountry removeByC_Tw(long companyId, java.lang.String twoLettersISOCode) throws NoSuchCountryException
companyId - the company IDtwoLettersISOCode - the two letters iso codeNoSuchCountryExceptionint countByC_Tw(long companyId,
java.lang.String twoLettersISOCode)
companyId - the company IDtwoLettersISOCode - the two letters iso codeCommerceCountry findByC_N(long companyId, int numericISOCode) throws NoSuchCountryException
NoSuchCountryException if it could not be found.companyId - the company IDnumericISOCode - the numeric iso codeNoSuchCountryException - if a matching commerce country could not be foundCommerceCountry fetchByC_N(long companyId, int numericISOCode)
null if it could not be found. Uses the finder cache.companyId - the company IDnumericISOCode - the numeric iso codenull if a matching commerce country could not be foundCommerceCountry fetchByC_N(long companyId, int numericISOCode, boolean useFinderCache)
null if it could not be found, optionally using the finder cache.companyId - the company IDnumericISOCode - the numeric iso codeuseFinderCache - whether to use the finder cachenull if a matching commerce country could not be foundCommerceCountry removeByC_N(long companyId, int numericISOCode) throws NoSuchCountryException
companyId - the company IDnumericISOCode - the numeric iso codeNoSuchCountryExceptionint countByC_N(long companyId,
int numericISOCode)
companyId - the company IDnumericISOCode - the numeric iso codejava.util.List<CommerceCountry> findByC_A(long companyId, boolean active)
companyId - the company IDactive - the activejava.util.List<CommerceCountry> findByC_A(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 CommerceCountryModelImpl.
companyId - the company IDactive - the activestart - the lower bound of the range of commerce countriesend - the upper bound of the range of commerce countries (not inclusive)java.util.List<CommerceCountry> findByC_A(long companyId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> 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 CommerceCountryModelImpl.
companyId - the company IDactive - the activestart - the lower bound of the range of commerce countriesend - the upper bound of the range of commerce countries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<CommerceCountry> findByC_A(long companyId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> 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 CommerceCountryModelImpl.
companyId - the company IDactive - the activestart - the lower bound of the range of commerce countriesend - the upper bound of the range of commerce countries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cacheCommerceCountry findByC_A_First(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator) throws NoSuchCountryException
companyId - the company IDactive - the activeorderByComparator - the comparator to order the set by (optionally null)NoSuchCountryException - if a matching commerce country could not be foundCommerceCountry fetchByC_A_First(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator)
companyId - the company IDactive - the activeorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce country could not be foundCommerceCountry findByC_A_Last(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator) throws NoSuchCountryException
companyId - the company IDactive - the activeorderByComparator - the comparator to order the set by (optionally null)NoSuchCountryException - if a matching commerce country could not be foundCommerceCountry fetchByC_A_Last(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator)
companyId - the company IDactive - the activeorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce country could not be foundCommerceCountry[] findByC_A_PrevAndNext(long commerceCountryId, long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator) throws NoSuchCountryException
commerceCountryId - the primary key of the current commerce countrycompanyId - the company IDactive - the activeorderByComparator - the comparator to order the set by (optionally null)NoSuchCountryException - if a commerce country with the primary key could not be foundvoid removeByC_A(long companyId,
boolean active)
companyId - the company IDactive - the activeint countByC_A(long companyId,
boolean active)
companyId - the company IDactive - the activejava.util.List<CommerceCountry> findByC_B_A(long companyId, boolean billingAllowed, boolean active)
companyId - the company IDbillingAllowed - the billing allowedactive - the activejava.util.List<CommerceCountry> findByC_B_A(long companyId, boolean billingAllowed, 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 CommerceCountryModelImpl.
companyId - the company IDbillingAllowed - the billing allowedactive - the activestart - the lower bound of the range of commerce countriesend - the upper bound of the range of commerce countries (not inclusive)java.util.List<CommerceCountry> findByC_B_A(long companyId, boolean billingAllowed, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> 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 CommerceCountryModelImpl.
companyId - the company IDbillingAllowed - the billing allowedactive - the activestart - the lower bound of the range of commerce countriesend - the upper bound of the range of commerce countries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<CommerceCountry> findByC_B_A(long companyId, boolean billingAllowed, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> 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 CommerceCountryModelImpl.
companyId - the company IDbillingAllowed - the billing allowedactive - the activestart - the lower bound of the range of commerce countriesend - the upper bound of the range of commerce countries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cacheCommerceCountry findByC_B_A_First(long companyId, boolean billingAllowed, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator) throws NoSuchCountryException
companyId - the company IDbillingAllowed - the billing allowedactive - the activeorderByComparator - the comparator to order the set by (optionally null)NoSuchCountryException - if a matching commerce country could not be foundCommerceCountry fetchByC_B_A_First(long companyId, boolean billingAllowed, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator)
companyId - the company IDbillingAllowed - the billing allowedactive - the activeorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce country could not be foundCommerceCountry findByC_B_A_Last(long companyId, boolean billingAllowed, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator) throws NoSuchCountryException
companyId - the company IDbillingAllowed - the billing allowedactive - the activeorderByComparator - the comparator to order the set by (optionally null)NoSuchCountryException - if a matching commerce country could not be foundCommerceCountry fetchByC_B_A_Last(long companyId, boolean billingAllowed, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator)
companyId - the company IDbillingAllowed - the billing allowedactive - the activeorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce country could not be foundCommerceCountry[] findByC_B_A_PrevAndNext(long commerceCountryId, long companyId, boolean billingAllowed, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator) throws NoSuchCountryException
commerceCountryId - the primary key of the current commerce countrycompanyId - the company IDbillingAllowed - the billing allowedactive - the activeorderByComparator - the comparator to order the set by (optionally null)NoSuchCountryException - if a commerce country with the primary key could not be foundvoid removeByC_B_A(long companyId,
boolean billingAllowed,
boolean active)
companyId - the company IDbillingAllowed - the billing allowedactive - the activeint countByC_B_A(long companyId,
boolean billingAllowed,
boolean active)
companyId - the company IDbillingAllowed - the billing allowedactive - the activejava.util.List<CommerceCountry> findByC_S_A(long companyId, boolean shippingAllowed, boolean active)
companyId - the company IDshippingAllowed - the shipping allowedactive - the activejava.util.List<CommerceCountry> findByC_S_A(long companyId, boolean shippingAllowed, 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 CommerceCountryModelImpl.
companyId - the company IDshippingAllowed - the shipping allowedactive - the activestart - the lower bound of the range of commerce countriesend - the upper bound of the range of commerce countries (not inclusive)java.util.List<CommerceCountry> findByC_S_A(long companyId, boolean shippingAllowed, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> 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 CommerceCountryModelImpl.
companyId - the company IDshippingAllowed - the shipping allowedactive - the activestart - the lower bound of the range of commerce countriesend - the upper bound of the range of commerce countries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<CommerceCountry> findByC_S_A(long companyId, boolean shippingAllowed, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> 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 CommerceCountryModelImpl.
companyId - the company IDshippingAllowed - the shipping allowedactive - the activestart - the lower bound of the range of commerce countriesend - the upper bound of the range of commerce countries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cacheCommerceCountry findByC_S_A_First(long companyId, boolean shippingAllowed, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator) throws NoSuchCountryException
companyId - the company IDshippingAllowed - the shipping allowedactive - the activeorderByComparator - the comparator to order the set by (optionally null)NoSuchCountryException - if a matching commerce country could not be foundCommerceCountry fetchByC_S_A_First(long companyId, boolean shippingAllowed, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator)
companyId - the company IDshippingAllowed - the shipping allowedactive - the activeorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce country could not be foundCommerceCountry findByC_S_A_Last(long companyId, boolean shippingAllowed, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator) throws NoSuchCountryException
companyId - the company IDshippingAllowed - the shipping allowedactive - the activeorderByComparator - the comparator to order the set by (optionally null)NoSuchCountryException - if a matching commerce country could not be foundCommerceCountry fetchByC_S_A_Last(long companyId, boolean shippingAllowed, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator)
companyId - the company IDshippingAllowed - the shipping allowedactive - the activeorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce country could not be foundCommerceCountry[] findByC_S_A_PrevAndNext(long commerceCountryId, long companyId, boolean shippingAllowed, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator) throws NoSuchCountryException
commerceCountryId - the primary key of the current commerce countrycompanyId - the company IDshippingAllowed - the shipping allowedactive - the activeorderByComparator - the comparator to order the set by (optionally null)NoSuchCountryException - if a commerce country with the primary key could not be foundvoid removeByC_S_A(long companyId,
boolean shippingAllowed,
boolean active)
companyId - the company IDshippingAllowed - the shipping allowedactive - the activeint countByC_S_A(long companyId,
boolean shippingAllowed,
boolean active)
companyId - the company IDshippingAllowed - the shipping allowedactive - the activevoid cacheResult(CommerceCountry commerceCountry)
commerceCountry - the commerce countryvoid cacheResult(java.util.List<CommerceCountry> commerceCountries)
commerceCountries - the commerce countriesCommerceCountry create(long commerceCountryId)
commerceCountryId - the primary key for the new commerce countryCommerceCountry remove(long commerceCountryId) throws NoSuchCountryException
commerceCountryId - the primary key of the commerce countryNoSuchCountryException - if a commerce country with the primary key could not be foundCommerceCountry updateImpl(CommerceCountry commerceCountry)
CommerceCountry findByPrimaryKey(long commerceCountryId) throws NoSuchCountryException
NoSuchCountryException if it could not be found.commerceCountryId - the primary key of the commerce countryNoSuchCountryException - if a commerce country with the primary key could not be foundCommerceCountry fetchByPrimaryKey(long commerceCountryId)
null if it could not be found.commerceCountryId - the primary key of the commerce countrynull if a commerce country with the primary key could not be foundjava.util.List<CommerceCountry> findAll()
java.util.List<CommerceCountry> 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 CommerceCountryModelImpl.
start - the lower bound of the range of commerce countriesend - the upper bound of the range of commerce countries (not inclusive)java.util.List<CommerceCountry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> 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 CommerceCountryModelImpl.
start - the lower bound of the range of commerce countriesend - the upper bound of the range of commerce countries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<CommerceCountry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> 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 CommerceCountryModelImpl.
start - the lower bound of the range of commerce countriesend - the upper bound of the range of commerce countries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachevoid removeAll()
int countAll()