@ProviderType public interface CommerceCountryPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceCountry>
Caching information and settings can be found in portal.properties
com.liferay.commerce.service.persistence.impl.CommerceCountryPersistenceImpl,
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 |
countByG_A(long groupId,
boolean active)
Returns the number of commerce countries where groupId = ? and active = ?.
|
int |
countByG_B_A(long groupId,
boolean billingAllowed,
boolean active)
Returns the number of commerce countries where groupId = ? and billingAllowed = ? and active = ?.
|
int |
countByG_N(long groupId,
int numericISOCode)
Returns the number of commerce countries where groupId = ? and numericISOCode = ?.
|
int |
countByG_S_A(long groupId,
boolean shippingAllowed,
boolean active)
Returns the number of commerce countries where groupId = ? and shippingAllowed = ? and active = ?.
|
int |
countByGroupId(long groupId)
Returns the number of commerce countries where groupId = ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of commerce countries where uuid = ? and companyId = ?.
|
int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of commerce countries where uuid = ? and groupId = ?.
|
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 |
fetchByG_A_First(long groupId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator)
Returns the first commerce country in the ordered set where groupId = ? and active = ?.
|
CommerceCountry |
fetchByG_A_Last(long groupId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator)
Returns the last commerce country in the ordered set where groupId = ? and active = ?.
|
CommerceCountry |
fetchByG_B_A_First(long groupId,
boolean billingAllowed,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator)
Returns the first commerce country in the ordered set where groupId = ? and billingAllowed = ? and active = ?.
|
CommerceCountry |
fetchByG_B_A_Last(long groupId,
boolean billingAllowed,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator)
Returns the last commerce country in the ordered set where groupId = ? and billingAllowed = ? and active = ?.
|
CommerceCountry |
fetchByG_N(long groupId,
int numericISOCode)
Returns the commerce country where groupId = ? and numericISOCode = ? or returns
null if it could not be found. |
CommerceCountry |
fetchByG_N(long groupId,
int numericISOCode,
boolean retrieveFromCache)
Returns the commerce country where groupId = ? and numericISOCode = ? or returns
null if it could not be found, optionally using the finder cache. |
CommerceCountry |
fetchByG_S_A_First(long groupId,
boolean shippingAllowed,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator)
Returns the first commerce country in the ordered set where groupId = ? and shippingAllowed = ? and active = ?.
|
CommerceCountry |
fetchByG_S_A_Last(long groupId,
boolean shippingAllowed,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator)
Returns the last commerce country in the ordered set where groupId = ? and shippingAllowed = ? and active = ?.
|
CommerceCountry |
fetchByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator)
Returns the first commerce country in the ordered set where groupId = ?.
|
CommerceCountry |
fetchByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator)
Returns the last commerce country in the ordered set where groupId = ?.
|
CommerceCountry |
fetchByPrimaryKey(long commerceCountryId)
Returns the commerce country with the primary key or returns
null if it could not be found. |
java.util.Map<java.io.Serializable,CommerceCountry> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
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_G(java.lang.String uuid,
long groupId)
Returns the commerce country where uuid = ? and groupId = ? or returns
null if it could not be found. |
CommerceCountry |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean retrieveFromCache)
Returns the commerce country where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
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 retrieveFromCache)
Returns an ordered range of all the commerce countries.
|
CommerceCountry |
findByG_A_First(long groupId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator)
Returns the first commerce country in the ordered set where groupId = ? and active = ?.
|
CommerceCountry |
findByG_A_Last(long groupId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator)
Returns the last commerce country in the ordered set where groupId = ? and active = ?.
|
CommerceCountry[] |
findByG_A_PrevAndNext(long commerceCountryId,
long groupId,
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 groupId = ? and active = ?.
|
java.util.List<CommerceCountry> |
findByG_A(long groupId,
boolean active)
Returns all the commerce countries where groupId = ? and active = ?.
|
java.util.List<CommerceCountry> |
findByG_A(long groupId,
boolean active,
int start,
int end)
Returns a range of all the commerce countries where groupId = ? and active = ?.
|
java.util.List<CommerceCountry> |
findByG_A(long groupId,
boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator)
Returns an ordered range of all the commerce countries where groupId = ? and active = ?.
|
java.util.List<CommerceCountry> |
findByG_A(long groupId,
boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the commerce countries where groupId = ? and active = ?.
|
CommerceCountry |
findByG_B_A_First(long groupId,
boolean billingAllowed,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator)
Returns the first commerce country in the ordered set where groupId = ? and billingAllowed = ? and active = ?.
|
CommerceCountry |
findByG_B_A_Last(long groupId,
boolean billingAllowed,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator)
Returns the last commerce country in the ordered set where groupId = ? and billingAllowed = ? and active = ?.
|
CommerceCountry[] |
findByG_B_A_PrevAndNext(long commerceCountryId,
long groupId,
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 groupId = ? and billingAllowed = ? and active = ?.
|
java.util.List<CommerceCountry> |
findByG_B_A(long groupId,
boolean billingAllowed,
boolean active)
Returns all the commerce countries where groupId = ? and billingAllowed = ? and active = ?.
|
java.util.List<CommerceCountry> |
findByG_B_A(long groupId,
boolean billingAllowed,
boolean active,
int start,
int end)
Returns a range of all the commerce countries where groupId = ? and billingAllowed = ? and active = ?.
|
java.util.List<CommerceCountry> |
findByG_B_A(long groupId,
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 groupId = ? and billingAllowed = ? and active = ?.
|
java.util.List<CommerceCountry> |
findByG_B_A(long groupId,
boolean billingAllowed,
boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the commerce countries where groupId = ? and billingAllowed = ? and active = ?.
|
CommerceCountry |
findByG_N(long groupId,
int numericISOCode)
Returns the commerce country where groupId = ? and numericISOCode = ? or throws a
NoSuchCountryException if it could not be found. |
CommerceCountry |
findByG_S_A_First(long groupId,
boolean shippingAllowed,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator)
Returns the first commerce country in the ordered set where groupId = ? and shippingAllowed = ? and active = ?.
|
CommerceCountry |
findByG_S_A_Last(long groupId,
boolean shippingAllowed,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator)
Returns the last commerce country in the ordered set where groupId = ? and shippingAllowed = ? and active = ?.
|
CommerceCountry[] |
findByG_S_A_PrevAndNext(long commerceCountryId,
long groupId,
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 groupId = ? and shippingAllowed = ? and active = ?.
|
java.util.List<CommerceCountry> |
findByG_S_A(long groupId,
boolean shippingAllowed,
boolean active)
Returns all the commerce countries where groupId = ? and shippingAllowed = ? and active = ?.
|
java.util.List<CommerceCountry> |
findByG_S_A(long groupId,
boolean shippingAllowed,
boolean active,
int start,
int end)
Returns a range of all the commerce countries where groupId = ? and shippingAllowed = ? and active = ?.
|
java.util.List<CommerceCountry> |
findByG_S_A(long groupId,
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 groupId = ? and shippingAllowed = ? and active = ?.
|
java.util.List<CommerceCountry> |
findByG_S_A(long groupId,
boolean shippingAllowed,
boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the commerce countries where groupId = ? and shippingAllowed = ? and active = ?.
|
CommerceCountry |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator)
Returns the first commerce country in the ordered set where groupId = ?.
|
CommerceCountry |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator)
Returns the last commerce country in the ordered set where groupId = ?.
|
CommerceCountry[] |
findByGroupId_PrevAndNext(long commerceCountryId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator)
Returns the commerce countries before and after the current commerce country in the ordered set where groupId = ?.
|
java.util.List<CommerceCountry> |
findByGroupId(long groupId)
Returns all the commerce countries where groupId = ?.
|
java.util.List<CommerceCountry> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the commerce countries where groupId = ?.
|
java.util.List<CommerceCountry> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator)
Returns an ordered range of all the commerce countries where groupId = ?.
|
java.util.List<CommerceCountry> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the commerce countries where groupId = ?.
|
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 retrieveFromCache)
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_G(java.lang.String uuid,
long groupId)
Returns the commerce country where uuid = ? and groupId = ? or throws a
NoSuchCountryException if it could not be found. |
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 retrieveFromCache)
Returns an ordered range of all the commerce countries where uuid = ?.
|
java.util.Set<java.lang.String> |
getBadColumnNames() |
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 |
removeByG_A(long groupId,
boolean active)
Removes all the commerce countries where groupId = ? and active = ? from the database.
|
void |
removeByG_B_A(long groupId,
boolean billingAllowed,
boolean active)
Removes all the commerce countries where groupId = ? and billingAllowed = ? and active = ? from the database.
|
CommerceCountry |
removeByG_N(long groupId,
int numericISOCode)
Removes the commerce country where groupId = ? and numericISOCode = ? from the database.
|
void |
removeByG_S_A(long groupId,
boolean shippingAllowed,
boolean active)
Removes all the commerce countries where groupId = ? and shippingAllowed = ? and active = ? from the database.
|
void |
removeByGroupId(long groupId)
Removes all the commerce countries where groupId = ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the commerce countries where uuid = ? and companyId = ? from the database.
|
CommerceCountry |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the commerce country where uuid = ? and groupId = ? 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, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, 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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceCountryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceCountryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 retrieveFromCache)
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceCountryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)retrieveFromCache - whether to retrieve from 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 uuidCommerceCountry findByUUID_G(java.lang.String uuid, long groupId) throws NoSuchCountryException
NoSuchCountryException if it could not be found.uuid - the uuidgroupId - the group IDNoSuchCountryException - if a matching commerce country could not be foundCommerceCountry fetchByUUID_G(java.lang.String uuid, long groupId)
null if it could not be found. Uses the finder cache.uuid - the uuidgroupId - the group IDnull if a matching commerce country could not be foundCommerceCountry fetchByUUID_G(java.lang.String uuid, long groupId, boolean retrieveFromCache)
null if it could not be found, optionally using the finder cache.uuid - the uuidgroupId - the group IDretrieveFromCache - whether to retrieve from the finder cachenull if a matching commerce country could not be foundCommerceCountry removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchCountryException
uuid - the uuidgroupId - the group IDNoSuchCountryExceptionint countByUUID_G(java.lang.String uuid,
long groupId)
uuid - the uuidgroupId - the group IDjava.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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceCountryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceCountryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 retrieveFromCache)
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceCountryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)retrieveFromCache - whether to retrieve from 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> findByGroupId(long groupId)
groupId - the group IDjava.util.List<CommerceCountry> findByGroupId(long groupId, 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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceCountryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group 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> findByGroupId(long groupId, 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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceCountryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group 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> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceCountryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group 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)retrieveFromCache - whether to retrieve from the finder cacheCommerceCountry findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator) throws NoSuchCountryException
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)NoSuchCountryException - if a matching commerce country could not be foundCommerceCountry fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator)
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce country could not be foundCommerceCountry findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator) throws NoSuchCountryException
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)NoSuchCountryException - if a matching commerce country could not be foundCommerceCountry fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator)
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce country could not be foundCommerceCountry[] findByGroupId_PrevAndNext(long commerceCountryId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator) throws NoSuchCountryException
commerceCountryId - the primary key of the current commerce countrygroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)NoSuchCountryException - if a commerce country with the primary key could not be foundvoid removeByGroupId(long groupId)
groupId - the group IDint countByGroupId(long groupId)
groupId - the group IDCommerceCountry findByG_N(long groupId, int numericISOCode) throws NoSuchCountryException
NoSuchCountryException if it could not be found.groupId - the group IDnumericISOCode - the numeric iso codeNoSuchCountryException - if a matching commerce country could not be foundCommerceCountry fetchByG_N(long groupId, int numericISOCode)
null if it could not be found. Uses the finder cache.groupId - the group IDnumericISOCode - the numeric iso codenull if a matching commerce country could not be foundCommerceCountry fetchByG_N(long groupId, int numericISOCode, boolean retrieveFromCache)
null if it could not be found, optionally using the finder cache.groupId - the group IDnumericISOCode - the numeric iso coderetrieveFromCache - whether to retrieve from the finder cachenull if a matching commerce country could not be foundCommerceCountry removeByG_N(long groupId, int numericISOCode) throws NoSuchCountryException
groupId - the group IDnumericISOCode - the numeric iso codeNoSuchCountryExceptionint countByG_N(long groupId,
int numericISOCode)
groupId - the group IDnumericISOCode - the numeric iso codejava.util.List<CommerceCountry> findByG_A(long groupId, boolean active)
groupId - the group IDactive - the activejava.util.List<CommerceCountry> findByG_A(long groupId, 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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceCountryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group 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> findByG_A(long groupId, 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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceCountryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group 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> findByG_A(long groupId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceCountryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group 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)retrieveFromCache - whether to retrieve from the finder cacheCommerceCountry findByG_A_First(long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator) throws NoSuchCountryException
groupId - the group IDactive - the activeorderByComparator - the comparator to order the set by (optionally null)NoSuchCountryException - if a matching commerce country could not be foundCommerceCountry fetchByG_A_First(long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator)
groupId - the group IDactive - the activeorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce country could not be foundCommerceCountry findByG_A_Last(long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator) throws NoSuchCountryException
groupId - the group IDactive - the activeorderByComparator - the comparator to order the set by (optionally null)NoSuchCountryException - if a matching commerce country could not be foundCommerceCountry fetchByG_A_Last(long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator)
groupId - the group IDactive - the activeorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce country could not be foundCommerceCountry[] findByG_A_PrevAndNext(long commerceCountryId, long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator) throws NoSuchCountryException
commerceCountryId - the primary key of the current commerce countrygroupId - the group 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 removeByG_A(long groupId,
boolean active)
groupId - the group IDactive - the activeint countByG_A(long groupId,
boolean active)
groupId - the group IDactive - the activejava.util.List<CommerceCountry> findByG_B_A(long groupId, boolean billingAllowed, boolean active)
groupId - the group IDbillingAllowed - the billing allowedactive - the activejava.util.List<CommerceCountry> findByG_B_A(long groupId, 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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceCountryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group 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> findByG_B_A(long groupId, 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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceCountryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group 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> findByG_B_A(long groupId, boolean billingAllowed, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceCountryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group 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)retrieveFromCache - whether to retrieve from the finder cacheCommerceCountry findByG_B_A_First(long groupId, boolean billingAllowed, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator) throws NoSuchCountryException
groupId - the group 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 fetchByG_B_A_First(long groupId, boolean billingAllowed, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator)
groupId - the group 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 findByG_B_A_Last(long groupId, boolean billingAllowed, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator) throws NoSuchCountryException
groupId - the group 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 fetchByG_B_A_Last(long groupId, boolean billingAllowed, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator)
groupId - the group 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[] findByG_B_A_PrevAndNext(long commerceCountryId, long groupId, boolean billingAllowed, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator) throws NoSuchCountryException
commerceCountryId - the primary key of the current commerce countrygroupId - the group 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 removeByG_B_A(long groupId,
boolean billingAllowed,
boolean active)
groupId - the group IDbillingAllowed - the billing allowedactive - the activeint countByG_B_A(long groupId,
boolean billingAllowed,
boolean active)
groupId - the group IDbillingAllowed - the billing allowedactive - the activejava.util.List<CommerceCountry> findByG_S_A(long groupId, boolean shippingAllowed, boolean active)
groupId - the group IDshippingAllowed - the shipping allowedactive - the activejava.util.List<CommerceCountry> findByG_S_A(long groupId, 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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceCountryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group 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> findByG_S_A(long groupId, 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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceCountryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group 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> findByG_S_A(long groupId, boolean shippingAllowed, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceCountryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group 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)retrieveFromCache - whether to retrieve from the finder cacheCommerceCountry findByG_S_A_First(long groupId, boolean shippingAllowed, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator) throws NoSuchCountryException
groupId - the group 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 fetchByG_S_A_First(long groupId, boolean shippingAllowed, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator)
groupId - the group 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 findByG_S_A_Last(long groupId, boolean shippingAllowed, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator) throws NoSuchCountryException
groupId - the group 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 fetchByG_S_A_Last(long groupId, boolean shippingAllowed, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator)
groupId - the group 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[] findByG_S_A_PrevAndNext(long commerceCountryId, long groupId, boolean shippingAllowed, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator) throws NoSuchCountryException
commerceCountryId - the primary key of the current commerce countrygroupId - the group 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 removeByG_S_A(long groupId,
boolean shippingAllowed,
boolean active)
groupId - the group IDshippingAllowed - the shipping allowedactive - the activeint countByG_S_A(long groupId,
boolean shippingAllowed,
boolean active)
groupId - the group 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.Map<java.io.Serializable,CommerceCountry> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
fetchByPrimaryKeys in interface com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceCountry>java.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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceCountryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceCountryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 retrieveFromCache)
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceCountryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)retrieveFromCache - whether to retrieve from the finder cachevoid removeAll()
int countAll()
java.util.Set<java.lang.String> getBadColumnNames()
getBadColumnNames in interface com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceCountry>