public class CountryPersistenceImpl
extends com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Country>
implements com.liferay.portal.kernel.service.persistence.CountryPersistence
Caching information and settings can be found in portal.properties
| Modifier and Type | Field and Description |
|---|---|
protected com.liferay.portal.kernel.service.persistence.CountryLocalizationPersistence |
countryLocalizationPersistence |
static String |
FINDER_CLASS_NAME_ENTITY |
static String |
FINDER_CLASS_NAME_LIST_WITH_PAGINATION |
static String |
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION |
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, databaseInMaxParameters, dbColumnNames, dummyEntityCache, dummyFinderCache, entityCacheEnabled, FINDER_ARGS_EMPTY, finderCacheEnabled, NULL_SAFE_STRING_COMPARATOR, nullModel, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR| Constructor and Description |
|---|
CountryPersistenceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet()
Initializes the country persistence.
|
void |
cacheResult(com.liferay.portal.kernel.model.Country country)
Caches the country in the entity cache if it is enabled.
|
void |
cacheResult(List<com.liferay.portal.kernel.model.Country> countries)
Caches the countries in the entity cache if it is enabled.
|
protected void |
cacheUniqueFindersCache(CountryModelImpl countryModelImpl) |
void |
clearCache()
Clears the cache for all countries.
|
void |
clearCache(com.liferay.portal.kernel.model.Country country)
Clears the cache for the country.
|
void |
clearCache(List<com.liferay.portal.kernel.model.Country> countries) |
void |
clearCache(Set<Serializable> primaryKeys) |
int |
countAll()
Returns the number of countries.
|
int |
countByActive(boolean active)
Returns the number of countries where active = ?.
|
int |
countByC_A_B(long companyId,
boolean active,
boolean billingAllowed)
Returns the number of countries where companyId = ? and active = ? and billingAllowed = ?.
|
int |
countByC_A_S(long companyId,
boolean active,
boolean shippingAllowed)
Returns the number of countries where companyId = ? and active = ? and shippingAllowed = ?.
|
int |
countByC_A2(long companyId,
String a2)
Returns the number of countries where companyId = ? and a2 = ?.
|
int |
countByC_A3(long companyId,
String a3)
Returns the number of countries where companyId = ? and a3 = ?.
|
int |
countByC_Active(long companyId,
boolean active)
Returns the number of countries where companyId = ? and active = ?.
|
int |
countByC_Name(long companyId,
String name)
Returns the number of countries where companyId = ? and name = ?.
|
int |
countByC_Number(long companyId,
String number)
Returns the number of countries where companyId = ? and number = ?.
|
int |
countByCompanyId(long companyId)
Returns the number of countries where companyId = ?.
|
int |
countByUuid_C(String uuid,
long companyId)
Returns the number of countries where uuid = ? and companyId = ?.
|
int |
countByUuid(String uuid)
Returns the number of countries where uuid = ?.
|
com.liferay.portal.kernel.model.Country |
create(long countryId)
Creates a new country with the primary key.
|
void |
destroy() |
com.liferay.portal.kernel.model.Country |
fetchByActive_First(boolean active,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
Returns the first country in the ordered set where active = ?.
|
com.liferay.portal.kernel.model.Country |
fetchByActive_Last(boolean active,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
Returns the last country in the ordered set where active = ?.
|
com.liferay.portal.kernel.model.Country |
fetchByC_A_B_First(long companyId,
boolean active,
boolean billingAllowed,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
Returns the first country in the ordered set where companyId = ? and active = ? and billingAllowed = ?.
|
com.liferay.portal.kernel.model.Country |
fetchByC_A_B_Last(long companyId,
boolean active,
boolean billingAllowed,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
Returns the last country in the ordered set where companyId = ? and active = ? and billingAllowed = ?.
|
com.liferay.portal.kernel.model.Country |
fetchByC_A_S_First(long companyId,
boolean active,
boolean shippingAllowed,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
Returns the first country in the ordered set where companyId = ? and active = ? and shippingAllowed = ?.
|
com.liferay.portal.kernel.model.Country |
fetchByC_A_S_Last(long companyId,
boolean active,
boolean shippingAllowed,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
Returns the last country in the ordered set where companyId = ? and active = ? and shippingAllowed = ?.
|
com.liferay.portal.kernel.model.Country |
fetchByC_A2(long companyId,
String a2)
Returns the country where companyId = ? and a2 = ? or returns
null if it could not be found. |
com.liferay.portal.kernel.model.Country |
fetchByC_A2(long companyId,
String a2,
boolean useFinderCache)
Returns the country where companyId = ? and a2 = ? or returns
null if it could not be found, optionally using the finder cache. |
com.liferay.portal.kernel.model.Country |
fetchByC_A3(long companyId,
String a3)
Returns the country where companyId = ? and a3 = ? or returns
null if it could not be found. |
com.liferay.portal.kernel.model.Country |
fetchByC_A3(long companyId,
String a3,
boolean useFinderCache)
Returns the country where companyId = ? and a3 = ? or returns
null if it could not be found, optionally using the finder cache. |
com.liferay.portal.kernel.model.Country |
fetchByC_Active_First(long companyId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
Returns the first country in the ordered set where companyId = ? and active = ?.
|
com.liferay.portal.kernel.model.Country |
fetchByC_Active_Last(long companyId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
Returns the last country in the ordered set where companyId = ? and active = ?.
|
com.liferay.portal.kernel.model.Country |
fetchByC_Name(long companyId,
String name)
Returns the country where companyId = ? and name = ? or returns
null if it could not be found. |
com.liferay.portal.kernel.model.Country |
fetchByC_Name(long companyId,
String name,
boolean useFinderCache)
Returns the country where companyId = ? and name = ? or returns
null if it could not be found, optionally using the finder cache. |
com.liferay.portal.kernel.model.Country |
fetchByC_Number(long companyId,
String number)
Returns the country where companyId = ? and number = ? or returns
null if it could not be found. |
com.liferay.portal.kernel.model.Country |
fetchByC_Number(long companyId,
String number,
boolean useFinderCache)
Returns the country where companyId = ? and number = ? or returns
null if it could not be found, optionally using the finder cache. |
com.liferay.portal.kernel.model.Country |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
Returns the first country in the ordered set where companyId = ?.
|
com.liferay.portal.kernel.model.Country |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
Returns the last country in the ordered set where companyId = ?.
|
com.liferay.portal.kernel.model.Country |
fetchByPrimaryKey(long countryId)
Returns the country with the primary key or returns
null if it could not be found. |
com.liferay.portal.kernel.model.Country |
fetchByUuid_C_First(String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
Returns the first country in the ordered set where uuid = ? and companyId = ?.
|
com.liferay.portal.kernel.model.Country |
fetchByUuid_C_Last(String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
Returns the last country in the ordered set where uuid = ? and companyId = ?.
|
com.liferay.portal.kernel.model.Country |
fetchByUuid_First(String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
Returns the first country in the ordered set where uuid = ?.
|
com.liferay.portal.kernel.model.Country |
fetchByUuid_Last(String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
Returns the last country in the ordered set where uuid = ?.
|
List<com.liferay.portal.kernel.model.Country> |
findAll()
Returns all the countries.
|
List<com.liferay.portal.kernel.model.Country> |
findAll(int start,
int end)
Returns a range of all the countries.
|
List<com.liferay.portal.kernel.model.Country> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
Returns an ordered range of all the countries.
|
List<com.liferay.portal.kernel.model.Country> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the countries.
|
com.liferay.portal.kernel.model.Country |
findByActive_First(boolean active,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
Returns the first country in the ordered set where active = ?.
|
com.liferay.portal.kernel.model.Country |
findByActive_Last(boolean active,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
Returns the last country in the ordered set where active = ?.
|
com.liferay.portal.kernel.model.Country[] |
findByActive_PrevAndNext(long countryId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
Returns the countries before and after the current country in the ordered set where active = ?.
|
List<com.liferay.portal.kernel.model.Country> |
findByActive(boolean active)
Returns all the countries where active = ?.
|
List<com.liferay.portal.kernel.model.Country> |
findByActive(boolean active,
int start,
int end)
Returns a range of all the countries where active = ?.
|
List<com.liferay.portal.kernel.model.Country> |
findByActive(boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
Returns an ordered range of all the countries where active = ?.
|
List<com.liferay.portal.kernel.model.Country> |
findByActive(boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the countries where active = ?.
|
com.liferay.portal.kernel.model.Country |
findByC_A_B_First(long companyId,
boolean active,
boolean billingAllowed,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
Returns the first country in the ordered set where companyId = ? and active = ? and billingAllowed = ?.
|
com.liferay.portal.kernel.model.Country |
findByC_A_B_Last(long companyId,
boolean active,
boolean billingAllowed,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
Returns the last country in the ordered set where companyId = ? and active = ? and billingAllowed = ?.
|
com.liferay.portal.kernel.model.Country[] |
findByC_A_B_PrevAndNext(long countryId,
long companyId,
boolean active,
boolean billingAllowed,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
Returns the countries before and after the current country in the ordered set where companyId = ? and active = ? and billingAllowed = ?.
|
List<com.liferay.portal.kernel.model.Country> |
findByC_A_B(long companyId,
boolean active,
boolean billingAllowed)
Returns all the countries where companyId = ? and active = ? and billingAllowed = ?.
|
List<com.liferay.portal.kernel.model.Country> |
findByC_A_B(long companyId,
boolean active,
boolean billingAllowed,
int start,
int end)
Returns a range of all the countries where companyId = ? and active = ? and billingAllowed = ?.
|
List<com.liferay.portal.kernel.model.Country> |
findByC_A_B(long companyId,
boolean active,
boolean billingAllowed,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
Returns an ordered range of all the countries where companyId = ? and active = ? and billingAllowed = ?.
|
List<com.liferay.portal.kernel.model.Country> |
findByC_A_B(long companyId,
boolean active,
boolean billingAllowed,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the countries where companyId = ? and active = ? and billingAllowed = ?.
|
com.liferay.portal.kernel.model.Country |
findByC_A_S_First(long companyId,
boolean active,
boolean shippingAllowed,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
Returns the first country in the ordered set where companyId = ? and active = ? and shippingAllowed = ?.
|
com.liferay.portal.kernel.model.Country |
findByC_A_S_Last(long companyId,
boolean active,
boolean shippingAllowed,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
Returns the last country in the ordered set where companyId = ? and active = ? and shippingAllowed = ?.
|
com.liferay.portal.kernel.model.Country[] |
findByC_A_S_PrevAndNext(long countryId,
long companyId,
boolean active,
boolean shippingAllowed,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
Returns the countries before and after the current country in the ordered set where companyId = ? and active = ? and shippingAllowed = ?.
|
List<com.liferay.portal.kernel.model.Country> |
findByC_A_S(long companyId,
boolean active,
boolean shippingAllowed)
Returns all the countries where companyId = ? and active = ? and shippingAllowed = ?.
|
List<com.liferay.portal.kernel.model.Country> |
findByC_A_S(long companyId,
boolean active,
boolean shippingAllowed,
int start,
int end)
Returns a range of all the countries where companyId = ? and active = ? and shippingAllowed = ?.
|
List<com.liferay.portal.kernel.model.Country> |
findByC_A_S(long companyId,
boolean active,
boolean shippingAllowed,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
Returns an ordered range of all the countries where companyId = ? and active = ? and shippingAllowed = ?.
|
List<com.liferay.portal.kernel.model.Country> |
findByC_A_S(long companyId,
boolean active,
boolean shippingAllowed,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the countries where companyId = ? and active = ? and shippingAllowed = ?.
|
com.liferay.portal.kernel.model.Country |
findByC_A2(long companyId,
String a2)
Returns the country where companyId = ? and a2 = ? or throws a
NoSuchCountryException if it could not be found. |
com.liferay.portal.kernel.model.Country |
findByC_A3(long companyId,
String a3)
Returns the country where companyId = ? and a3 = ? or throws a
NoSuchCountryException if it could not be found. |
com.liferay.portal.kernel.model.Country |
findByC_Active_First(long companyId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
Returns the first country in the ordered set where companyId = ? and active = ?.
|
com.liferay.portal.kernel.model.Country |
findByC_Active_Last(long companyId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
Returns the last country in the ordered set where companyId = ? and active = ?.
|
com.liferay.portal.kernel.model.Country[] |
findByC_Active_PrevAndNext(long countryId,
long companyId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
Returns the countries before and after the current country in the ordered set where companyId = ? and active = ?.
|
List<com.liferay.portal.kernel.model.Country> |
findByC_Active(long companyId,
boolean active)
Returns all the countries where companyId = ? and active = ?.
|
List<com.liferay.portal.kernel.model.Country> |
findByC_Active(long companyId,
boolean active,
int start,
int end)
Returns a range of all the countries where companyId = ? and active = ?.
|
List<com.liferay.portal.kernel.model.Country> |
findByC_Active(long companyId,
boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
Returns an ordered range of all the countries where companyId = ? and active = ?.
|
List<com.liferay.portal.kernel.model.Country> |
findByC_Active(long companyId,
boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the countries where companyId = ? and active = ?.
|
com.liferay.portal.kernel.model.Country |
findByC_Name(long companyId,
String name)
Returns the country where companyId = ? and name = ? or throws a
NoSuchCountryException if it could not be found. |
com.liferay.portal.kernel.model.Country |
findByC_Number(long companyId,
String number)
Returns the country where companyId = ? and number = ? or throws a
NoSuchCountryException if it could not be found. |
com.liferay.portal.kernel.model.Country |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
Returns the first country in the ordered set where companyId = ?.
|
com.liferay.portal.kernel.model.Country |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
Returns the last country in the ordered set where companyId = ?.
|
com.liferay.portal.kernel.model.Country[] |
findByCompanyId_PrevAndNext(long countryId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
Returns the countries before and after the current country in the ordered set where companyId = ?.
|
List<com.liferay.portal.kernel.model.Country> |
findByCompanyId(long companyId)
Returns all the countries where companyId = ?.
|
List<com.liferay.portal.kernel.model.Country> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the countries where companyId = ?.
|
List<com.liferay.portal.kernel.model.Country> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
Returns an ordered range of all the countries where companyId = ?.
|
List<com.liferay.portal.kernel.model.Country> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the countries where companyId = ?.
|
com.liferay.portal.kernel.model.Country |
findByPrimaryKey(long countryId)
Returns the country with the primary key or throws a
NoSuchCountryException if it could not be found. |
com.liferay.portal.kernel.model.Country |
findByPrimaryKey(Serializable primaryKey)
Returns the country with the primary key or throws a
com.liferay.portal.kernel.exception.NoSuchModelException if it could not be found. |
com.liferay.portal.kernel.model.Country |
findByUuid_C_First(String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
Returns the first country in the ordered set where uuid = ? and companyId = ?.
|
com.liferay.portal.kernel.model.Country |
findByUuid_C_Last(String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
Returns the last country in the ordered set where uuid = ? and companyId = ?.
|
com.liferay.portal.kernel.model.Country[] |
findByUuid_C_PrevAndNext(long countryId,
String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
Returns the countries before and after the current country in the ordered set where uuid = ? and companyId = ?.
|
List<com.liferay.portal.kernel.model.Country> |
findByUuid_C(String uuid,
long companyId)
Returns all the countries where uuid = ? and companyId = ?.
|
List<com.liferay.portal.kernel.model.Country> |
findByUuid_C(String uuid,
long companyId,
int start,
int end)
Returns a range of all the countries where uuid = ? and companyId = ?.
|
List<com.liferay.portal.kernel.model.Country> |
findByUuid_C(String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
Returns an ordered range of all the countries where uuid = ? and companyId = ?.
|
List<com.liferay.portal.kernel.model.Country> |
findByUuid_C(String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the countries where uuid = ? and companyId = ?.
|
com.liferay.portal.kernel.model.Country |
findByUuid_First(String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
Returns the first country in the ordered set where uuid = ?.
|
com.liferay.portal.kernel.model.Country |
findByUuid_Last(String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
Returns the last country in the ordered set where uuid = ?.
|
com.liferay.portal.kernel.model.Country[] |
findByUuid_PrevAndNext(long countryId,
String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
Returns the countries before and after the current country in the ordered set where uuid = ?.
|
List<com.liferay.portal.kernel.model.Country> |
findByUuid(String uuid)
Returns all the countries where uuid = ?.
|
List<com.liferay.portal.kernel.model.Country> |
findByUuid(String uuid,
int start,
int end)
Returns a range of all the countries where uuid = ?.
|
List<com.liferay.portal.kernel.model.Country> |
findByUuid(String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
Returns an ordered range of all the countries where uuid = ?.
|
List<com.liferay.portal.kernel.model.Country> |
findByUuid(String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the countries where uuid = ?.
|
Set<String> |
getBadColumnNames() |
protected com.liferay.portal.kernel.model.Country |
getByActive_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.Country country,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.model.Country |
getByC_A_B_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.Country country,
long companyId,
boolean active,
boolean billingAllowed,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.model.Country |
getByC_A_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.Country country,
long companyId,
boolean active,
boolean shippingAllowed,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.model.Country |
getByC_Active_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.Country country,
long companyId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.model.Country |
getByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.Country country,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.model.Country |
getByUuid_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.Country country,
String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.model.Country |
getByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.Country country,
String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.dao.orm.EntityCache |
getEntityCache() |
protected com.liferay.portal.kernel.dao.orm.FinderCache |
getFinderCache() |
protected String |
getPKDBName() |
protected String |
getSelectSQL() |
protected Map<String,Integer> |
getTableColumnsMap() |
com.liferay.portal.kernel.model.Country |
remove(long countryId)
Removes the country with the primary key from the database.
|
com.liferay.portal.kernel.model.Country |
remove(Serializable primaryKey)
Removes the country with the primary key from the database.
|
void |
removeAll()
Removes all the countries from the database.
|
void |
removeByActive(boolean active)
Removes all the countries where active = ? from the database.
|
void |
removeByC_A_B(long companyId,
boolean active,
boolean billingAllowed)
Removes all the countries where companyId = ? and active = ? and billingAllowed = ? from the database.
|
void |
removeByC_A_S(long companyId,
boolean active,
boolean shippingAllowed)
Removes all the countries where companyId = ? and active = ? and shippingAllowed = ? from the database.
|
com.liferay.portal.kernel.model.Country |
removeByC_A2(long companyId,
String a2)
Removes the country where companyId = ? and a2 = ? from the database.
|
com.liferay.portal.kernel.model.Country |
removeByC_A3(long companyId,
String a3)
Removes the country where companyId = ? and a3 = ? from the database.
|
void |
removeByC_Active(long companyId,
boolean active)
Removes all the countries where companyId = ? and active = ? from the database.
|
com.liferay.portal.kernel.model.Country |
removeByC_Name(long companyId,
String name)
Removes the country where companyId = ? and name = ? from the database.
|
com.liferay.portal.kernel.model.Country |
removeByC_Number(long companyId,
String number)
Removes the country where companyId = ? and number = ? from the database.
|
void |
removeByCompanyId(long companyId)
Removes all the countries where companyId = ? from the database.
|
void |
removeByUuid_C(String uuid,
long companyId)
Removes all the countries where uuid = ? and companyId = ? from the database.
|
void |
removeByUuid(String uuid)
Removes all the countries where uuid = ? from the database.
|
protected com.liferay.portal.kernel.model.Country |
removeImpl(com.liferay.portal.kernel.model.Country country) |
com.liferay.portal.kernel.model.Country |
updateImpl(com.liferay.portal.kernel.model.Country country) |
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getColumnName, getCompoundPKColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setConfiguration, setDataSource, setDBColumnNames, setEntityCacheEnabled, setModelClass, setModelImplClass, setModelPKClass, setSessionFactory, setTable, unregisterListener, update, updateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcloseSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, updatepublic static final String FINDER_CLASS_NAME_ENTITY
public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
@BeanReference(type=com.liferay.portal.kernel.service.persistence.CountryLocalizationPersistence.class) protected com.liferay.portal.kernel.service.persistence.CountryLocalizationPersistence countryLocalizationPersistence
public List<com.liferay.portal.kernel.model.Country> findByUuid(String uuid)
findByUuid in interface com.liferay.portal.kernel.service.persistence.CountryPersistenceuuid - the uuidpublic List<com.liferay.portal.kernel.model.Country> findByUuid(String uuid,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CountryModelImpl.
findByUuid in interface com.liferay.portal.kernel.service.persistence.CountryPersistenceuuid - the uuidstart - the lower bound of the range of countriesend - the upper bound of the range of countries (not inclusive)public List<com.liferay.portal.kernel.model.Country> findByUuid(String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CountryModelImpl.
findByUuid in interface com.liferay.portal.kernel.service.persistence.CountryPersistenceuuid - the uuidstart - the lower bound of the range of countriesend - the upper bound of the range of countries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public List<com.liferay.portal.kernel.model.Country> findByUuid(String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator,
boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CountryModelImpl.
findByUuid in interface com.liferay.portal.kernel.service.persistence.CountryPersistenceuuid - the uuidstart - the lower bound of the range of countriesend - the upper bound of the range of countries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachepublic com.liferay.portal.kernel.model.Country findByUuid_First(String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchCountryException
findByUuid_First in interface com.liferay.portal.kernel.service.persistence.CountryPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchCountryException - if a matching country could not be foundpublic com.liferay.portal.kernel.model.Country fetchByUuid_First(String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
fetchByUuid_First in interface com.liferay.portal.kernel.service.persistence.CountryPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)null if a matching country could not be foundpublic com.liferay.portal.kernel.model.Country findByUuid_Last(String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchCountryException
findByUuid_Last in interface com.liferay.portal.kernel.service.persistence.CountryPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchCountryException - if a matching country could not be foundpublic com.liferay.portal.kernel.model.Country fetchByUuid_Last(String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
fetchByUuid_Last in interface com.liferay.portal.kernel.service.persistence.CountryPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)null if a matching country could not be foundpublic com.liferay.portal.kernel.model.Country[] findByUuid_PrevAndNext(long countryId,
String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchCountryException
findByUuid_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.CountryPersistencecountryId - the primary key of the current countryuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchCountryException - if a country with the primary key could not be foundprotected com.liferay.portal.kernel.model.Country getByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.Country country,
String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator,
boolean previous)
public void removeByUuid(String uuid)
removeByUuid in interface com.liferay.portal.kernel.service.persistence.CountryPersistenceuuid - the uuidpublic int countByUuid(String uuid)
countByUuid in interface com.liferay.portal.kernel.service.persistence.CountryPersistenceuuid - the uuidpublic List<com.liferay.portal.kernel.model.Country> findByUuid_C(String uuid,
long companyId)
findByUuid_C in interface com.liferay.portal.kernel.service.persistence.CountryPersistenceuuid - the uuidcompanyId - the company IDpublic List<com.liferay.portal.kernel.model.Country> findByUuid_C(String uuid,
long companyId,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CountryModelImpl.
findByUuid_C in interface com.liferay.portal.kernel.service.persistence.CountryPersistenceuuid - the uuidcompanyId - the company IDstart - the lower bound of the range of countriesend - the upper bound of the range of countries (not inclusive)public List<com.liferay.portal.kernel.model.Country> findByUuid_C(String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CountryModelImpl.
findByUuid_C in interface com.liferay.portal.kernel.service.persistence.CountryPersistenceuuid - the uuidcompanyId - the company IDstart - the lower bound of the range of countriesend - the upper bound of the range of countries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public List<com.liferay.portal.kernel.model.Country> findByUuid_C(String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator,
boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CountryModelImpl.
findByUuid_C in interface com.liferay.portal.kernel.service.persistence.CountryPersistenceuuid - the uuidcompanyId - the company IDstart - the lower bound of the range of countriesend - the upper bound of the range of countries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachepublic com.liferay.portal.kernel.model.Country findByUuid_C_First(String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchCountryException
findByUuid_C_First in interface com.liferay.portal.kernel.service.persistence.CountryPersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchCountryException - if a matching country could not be foundpublic com.liferay.portal.kernel.model.Country fetchByUuid_C_First(String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
fetchByUuid_C_First in interface com.liferay.portal.kernel.service.persistence.CountryPersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching country could not be foundpublic com.liferay.portal.kernel.model.Country findByUuid_C_Last(String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchCountryException
findByUuid_C_Last in interface com.liferay.portal.kernel.service.persistence.CountryPersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchCountryException - if a matching country could not be foundpublic com.liferay.portal.kernel.model.Country fetchByUuid_C_Last(String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
fetchByUuid_C_Last in interface com.liferay.portal.kernel.service.persistence.CountryPersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching country could not be foundpublic com.liferay.portal.kernel.model.Country[] findByUuid_C_PrevAndNext(long countryId,
String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchCountryException
findByUuid_C_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.CountryPersistencecountryId - the primary key of the current countryuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchCountryException - if a country with the primary key could not be foundprotected com.liferay.portal.kernel.model.Country getByUuid_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.Country country,
String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator,
boolean previous)
public void removeByUuid_C(String uuid,
long companyId)
removeByUuid_C in interface com.liferay.portal.kernel.service.persistence.CountryPersistenceuuid - the uuidcompanyId - the company IDpublic int countByUuid_C(String uuid,
long companyId)
countByUuid_C in interface com.liferay.portal.kernel.service.persistence.CountryPersistenceuuid - the uuidcompanyId - the company IDpublic List<com.liferay.portal.kernel.model.Country> findByCompanyId(long companyId)
findByCompanyId in interface com.liferay.portal.kernel.service.persistence.CountryPersistencecompanyId - the company IDpublic List<com.liferay.portal.kernel.model.Country> findByCompanyId(long companyId,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CountryModelImpl.
findByCompanyId in interface com.liferay.portal.kernel.service.persistence.CountryPersistencecompanyId - the company IDstart - the lower bound of the range of countriesend - the upper bound of the range of countries (not inclusive)public List<com.liferay.portal.kernel.model.Country> findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CountryModelImpl.
findByCompanyId in interface com.liferay.portal.kernel.service.persistence.CountryPersistencecompanyId - the company IDstart - the lower bound of the range of countriesend - the upper bound of the range of countries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public List<com.liferay.portal.kernel.model.Country> findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator,
boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CountryModelImpl.
findByCompanyId in interface com.liferay.portal.kernel.service.persistence.CountryPersistencecompanyId - the company IDstart - the lower bound of the range of countriesend - the upper bound of the range of countries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachepublic com.liferay.portal.kernel.model.Country findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchCountryException
findByCompanyId_First in interface com.liferay.portal.kernel.service.persistence.CountryPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchCountryException - if a matching country could not be foundpublic com.liferay.portal.kernel.model.Country fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
fetchByCompanyId_First in interface com.liferay.portal.kernel.service.persistence.CountryPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching country could not be foundpublic com.liferay.portal.kernel.model.Country findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchCountryException
findByCompanyId_Last in interface com.liferay.portal.kernel.service.persistence.CountryPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchCountryException - if a matching country could not be foundpublic com.liferay.portal.kernel.model.Country fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
fetchByCompanyId_Last in interface com.liferay.portal.kernel.service.persistence.CountryPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching country could not be foundpublic com.liferay.portal.kernel.model.Country[] findByCompanyId_PrevAndNext(long countryId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchCountryException
findByCompanyId_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.CountryPersistencecountryId - the primary key of the current countrycompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchCountryException - if a country with the primary key could not be foundprotected com.liferay.portal.kernel.model.Country getByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.Country country,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator,
boolean previous)
public void removeByCompanyId(long companyId)
removeByCompanyId in interface com.liferay.portal.kernel.service.persistence.CountryPersistencecompanyId - the company IDpublic int countByCompanyId(long companyId)
countByCompanyId in interface com.liferay.portal.kernel.service.persistence.CountryPersistencecompanyId - the company IDpublic List<com.liferay.portal.kernel.model.Country> findByActive(boolean active)
findByActive in interface com.liferay.portal.kernel.service.persistence.CountryPersistenceactive - the activepublic List<com.liferay.portal.kernel.model.Country> findByActive(boolean active,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CountryModelImpl.
findByActive in interface com.liferay.portal.kernel.service.persistence.CountryPersistenceactive - the activestart - the lower bound of the range of countriesend - the upper bound of the range of countries (not inclusive)public List<com.liferay.portal.kernel.model.Country> findByActive(boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CountryModelImpl.
findByActive in interface com.liferay.portal.kernel.service.persistence.CountryPersistenceactive - the activestart - the lower bound of the range of countriesend - the upper bound of the range of countries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public List<com.liferay.portal.kernel.model.Country> findByActive(boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator,
boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CountryModelImpl.
findByActive in interface com.liferay.portal.kernel.service.persistence.CountryPersistenceactive - the activestart - the lower bound of the range of countriesend - the upper bound of the range of countries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachepublic com.liferay.portal.kernel.model.Country findByActive_First(boolean active,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchCountryException
findByActive_First in interface com.liferay.portal.kernel.service.persistence.CountryPersistenceactive - the activeorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchCountryException - if a matching country could not be foundpublic com.liferay.portal.kernel.model.Country fetchByActive_First(boolean active,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
fetchByActive_First in interface com.liferay.portal.kernel.service.persistence.CountryPersistenceactive - the activeorderByComparator - the comparator to order the set by (optionally null)null if a matching country could not be foundpublic com.liferay.portal.kernel.model.Country findByActive_Last(boolean active,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchCountryException
findByActive_Last in interface com.liferay.portal.kernel.service.persistence.CountryPersistenceactive - the activeorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchCountryException - if a matching country could not be foundpublic com.liferay.portal.kernel.model.Country fetchByActive_Last(boolean active,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
fetchByActive_Last in interface com.liferay.portal.kernel.service.persistence.CountryPersistenceactive - the activeorderByComparator - the comparator to order the set by (optionally null)null if a matching country could not be foundpublic com.liferay.portal.kernel.model.Country[] findByActive_PrevAndNext(long countryId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchCountryException
findByActive_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.CountryPersistencecountryId - the primary key of the current countryactive - the activeorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchCountryException - if a country with the primary key could not be foundprotected com.liferay.portal.kernel.model.Country getByActive_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.Country country,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator,
boolean previous)
public void removeByActive(boolean active)
removeByActive in interface com.liferay.portal.kernel.service.persistence.CountryPersistenceactive - the activepublic int countByActive(boolean active)
countByActive in interface com.liferay.portal.kernel.service.persistence.CountryPersistenceactive - the activepublic com.liferay.portal.kernel.model.Country findByC_A2(long companyId,
String a2)
throws com.liferay.portal.kernel.exception.NoSuchCountryException
NoSuchCountryException if it could not be found.findByC_A2 in interface com.liferay.portal.kernel.service.persistence.CountryPersistencecompanyId - the company IDa2 - the a2com.liferay.portal.kernel.exception.NoSuchCountryException - if a matching country could not be foundpublic com.liferay.portal.kernel.model.Country fetchByC_A2(long companyId,
String a2)
null if it could not be found. Uses the finder cache.fetchByC_A2 in interface com.liferay.portal.kernel.service.persistence.CountryPersistencecompanyId - the company IDa2 - the a2null if a matching country could not be foundpublic com.liferay.portal.kernel.model.Country fetchByC_A2(long companyId,
String a2,
boolean useFinderCache)
null if it could not be found, optionally using the finder cache.fetchByC_A2 in interface com.liferay.portal.kernel.service.persistence.CountryPersistencecompanyId - the company IDa2 - the a2useFinderCache - whether to use the finder cachenull if a matching country could not be foundpublic com.liferay.portal.kernel.model.Country removeByC_A2(long companyId,
String a2)
throws com.liferay.portal.kernel.exception.NoSuchCountryException
removeByC_A2 in interface com.liferay.portal.kernel.service.persistence.CountryPersistencecompanyId - the company IDa2 - the a2com.liferay.portal.kernel.exception.NoSuchCountryExceptionpublic int countByC_A2(long companyId,
String a2)
countByC_A2 in interface com.liferay.portal.kernel.service.persistence.CountryPersistencecompanyId - the company IDa2 - the a2public com.liferay.portal.kernel.model.Country findByC_A3(long companyId,
String a3)
throws com.liferay.portal.kernel.exception.NoSuchCountryException
NoSuchCountryException if it could not be found.findByC_A3 in interface com.liferay.portal.kernel.service.persistence.CountryPersistencecompanyId - the company IDa3 - the a3com.liferay.portal.kernel.exception.NoSuchCountryException - if a matching country could not be foundpublic com.liferay.portal.kernel.model.Country fetchByC_A3(long companyId,
String a3)
null if it could not be found. Uses the finder cache.fetchByC_A3 in interface com.liferay.portal.kernel.service.persistence.CountryPersistencecompanyId - the company IDa3 - the a3null if a matching country could not be foundpublic com.liferay.portal.kernel.model.Country fetchByC_A3(long companyId,
String a3,
boolean useFinderCache)
null if it could not be found, optionally using the finder cache.fetchByC_A3 in interface com.liferay.portal.kernel.service.persistence.CountryPersistencecompanyId - the company IDa3 - the a3useFinderCache - whether to use the finder cachenull if a matching country could not be foundpublic com.liferay.portal.kernel.model.Country removeByC_A3(long companyId,
String a3)
throws com.liferay.portal.kernel.exception.NoSuchCountryException
removeByC_A3 in interface com.liferay.portal.kernel.service.persistence.CountryPersistencecompanyId - the company IDa3 - the a3com.liferay.portal.kernel.exception.NoSuchCountryExceptionpublic int countByC_A3(long companyId,
String a3)
countByC_A3 in interface com.liferay.portal.kernel.service.persistence.CountryPersistencecompanyId - the company IDa3 - the a3public List<com.liferay.portal.kernel.model.Country> findByC_Active(long companyId,
boolean active)
findByC_Active in interface com.liferay.portal.kernel.service.persistence.CountryPersistencecompanyId - the company IDactive - the activepublic List<com.liferay.portal.kernel.model.Country> findByC_Active(long companyId,
boolean active,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CountryModelImpl.
findByC_Active in interface com.liferay.portal.kernel.service.persistence.CountryPersistencecompanyId - the company IDactive - the activestart - the lower bound of the range of countriesend - the upper bound of the range of countries (not inclusive)public List<com.liferay.portal.kernel.model.Country> findByC_Active(long companyId,
boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CountryModelImpl.
findByC_Active in interface com.liferay.portal.kernel.service.persistence.CountryPersistencecompanyId - the company IDactive - the activestart - the lower bound of the range of countriesend - the upper bound of the range of countries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public List<com.liferay.portal.kernel.model.Country> findByC_Active(long companyId,
boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator,
boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CountryModelImpl.
findByC_Active in interface com.liferay.portal.kernel.service.persistence.CountryPersistencecompanyId - the company IDactive - the activestart - the lower bound of the range of countriesend - the upper bound of the range of countries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachepublic com.liferay.portal.kernel.model.Country findByC_Active_First(long companyId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchCountryException
findByC_Active_First in interface com.liferay.portal.kernel.service.persistence.CountryPersistencecompanyId - the company IDactive - the activeorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchCountryException - if a matching country could not be foundpublic com.liferay.portal.kernel.model.Country fetchByC_Active_First(long companyId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
fetchByC_Active_First in interface com.liferay.portal.kernel.service.persistence.CountryPersistencecompanyId - the company IDactive - the activeorderByComparator - the comparator to order the set by (optionally null)null if a matching country could not be foundpublic com.liferay.portal.kernel.model.Country findByC_Active_Last(long companyId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchCountryException
findByC_Active_Last in interface com.liferay.portal.kernel.service.persistence.CountryPersistencecompanyId - the company IDactive - the activeorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchCountryException - if a matching country could not be foundpublic com.liferay.portal.kernel.model.Country fetchByC_Active_Last(long companyId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
fetchByC_Active_Last in interface com.liferay.portal.kernel.service.persistence.CountryPersistencecompanyId - the company IDactive - the activeorderByComparator - the comparator to order the set by (optionally null)null if a matching country could not be foundpublic com.liferay.portal.kernel.model.Country[] findByC_Active_PrevAndNext(long countryId,
long companyId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchCountryException
findByC_Active_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.CountryPersistencecountryId - the primary key of the current countrycompanyId - the company IDactive - the activeorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchCountryException - if a country with the primary key could not be foundprotected com.liferay.portal.kernel.model.Country getByC_Active_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.Country country,
long companyId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator,
boolean previous)
public void removeByC_Active(long companyId,
boolean active)
removeByC_Active in interface com.liferay.portal.kernel.service.persistence.CountryPersistencecompanyId - the company IDactive - the activepublic int countByC_Active(long companyId,
boolean active)
countByC_Active in interface com.liferay.portal.kernel.service.persistence.CountryPersistencecompanyId - the company IDactive - the activepublic com.liferay.portal.kernel.model.Country findByC_Name(long companyId,
String name)
throws com.liferay.portal.kernel.exception.NoSuchCountryException
NoSuchCountryException if it could not be found.findByC_Name in interface com.liferay.portal.kernel.service.persistence.CountryPersistencecompanyId - the company IDname - the namecom.liferay.portal.kernel.exception.NoSuchCountryException - if a matching country could not be foundpublic com.liferay.portal.kernel.model.Country fetchByC_Name(long companyId,
String name)
null if it could not be found. Uses the finder cache.fetchByC_Name in interface com.liferay.portal.kernel.service.persistence.CountryPersistencecompanyId - the company IDname - the namenull if a matching country could not be foundpublic com.liferay.portal.kernel.model.Country fetchByC_Name(long companyId,
String name,
boolean useFinderCache)
null if it could not be found, optionally using the finder cache.fetchByC_Name in interface com.liferay.portal.kernel.service.persistence.CountryPersistencecompanyId - the company IDname - the nameuseFinderCache - whether to use the finder cachenull if a matching country could not be foundpublic com.liferay.portal.kernel.model.Country removeByC_Name(long companyId,
String name)
throws com.liferay.portal.kernel.exception.NoSuchCountryException
removeByC_Name in interface com.liferay.portal.kernel.service.persistence.CountryPersistencecompanyId - the company IDname - the namecom.liferay.portal.kernel.exception.NoSuchCountryExceptionpublic int countByC_Name(long companyId,
String name)
countByC_Name in interface com.liferay.portal.kernel.service.persistence.CountryPersistencecompanyId - the company IDname - the namepublic com.liferay.portal.kernel.model.Country findByC_Number(long companyId,
String number)
throws com.liferay.portal.kernel.exception.NoSuchCountryException
NoSuchCountryException if it could not be found.findByC_Number in interface com.liferay.portal.kernel.service.persistence.CountryPersistencecompanyId - the company IDnumber - the numbercom.liferay.portal.kernel.exception.NoSuchCountryException - if a matching country could not be foundpublic com.liferay.portal.kernel.model.Country fetchByC_Number(long companyId,
String number)
null if it could not be found. Uses the finder cache.fetchByC_Number in interface com.liferay.portal.kernel.service.persistence.CountryPersistencecompanyId - the company IDnumber - the numbernull if a matching country could not be foundpublic com.liferay.portal.kernel.model.Country fetchByC_Number(long companyId,
String number,
boolean useFinderCache)
null if it could not be found, optionally using the finder cache.fetchByC_Number in interface com.liferay.portal.kernel.service.persistence.CountryPersistencecompanyId - the company IDnumber - the numberuseFinderCache - whether to use the finder cachenull if a matching country could not be foundpublic com.liferay.portal.kernel.model.Country removeByC_Number(long companyId,
String number)
throws com.liferay.portal.kernel.exception.NoSuchCountryException
removeByC_Number in interface com.liferay.portal.kernel.service.persistence.CountryPersistencecompanyId - the company IDnumber - the numbercom.liferay.portal.kernel.exception.NoSuchCountryExceptionpublic int countByC_Number(long companyId,
String number)
countByC_Number in interface com.liferay.portal.kernel.service.persistence.CountryPersistencecompanyId - the company IDnumber - the numberpublic List<com.liferay.portal.kernel.model.Country> findByC_A_B(long companyId,
boolean active,
boolean billingAllowed)
findByC_A_B in interface com.liferay.portal.kernel.service.persistence.CountryPersistencecompanyId - the company IDactive - the activebillingAllowed - the billing allowedpublic List<com.liferay.portal.kernel.model.Country> findByC_A_B(long companyId,
boolean active,
boolean billingAllowed,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CountryModelImpl.
findByC_A_B in interface com.liferay.portal.kernel.service.persistence.CountryPersistencecompanyId - the company IDactive - the activebillingAllowed - the billing allowedstart - the lower bound of the range of countriesend - the upper bound of the range of countries (not inclusive)public List<com.liferay.portal.kernel.model.Country> findByC_A_B(long companyId,
boolean active,
boolean billingAllowed,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CountryModelImpl.
findByC_A_B in interface com.liferay.portal.kernel.service.persistence.CountryPersistencecompanyId - the company IDactive - the activebillingAllowed - the billing allowedstart - the lower bound of the range of countriesend - the upper bound of the range of countries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public List<com.liferay.portal.kernel.model.Country> findByC_A_B(long companyId,
boolean active,
boolean billingAllowed,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator,
boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CountryModelImpl.
findByC_A_B in interface com.liferay.portal.kernel.service.persistence.CountryPersistencecompanyId - the company IDactive - the activebillingAllowed - the billing allowedstart - the lower bound of the range of countriesend - the upper bound of the range of countries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachepublic com.liferay.portal.kernel.model.Country findByC_A_B_First(long companyId,
boolean active,
boolean billingAllowed,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchCountryException
findByC_A_B_First in interface com.liferay.portal.kernel.service.persistence.CountryPersistencecompanyId - the company IDactive - the activebillingAllowed - the billing allowedorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchCountryException - if a matching country could not be foundpublic com.liferay.portal.kernel.model.Country fetchByC_A_B_First(long companyId,
boolean active,
boolean billingAllowed,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
fetchByC_A_B_First in interface com.liferay.portal.kernel.service.persistence.CountryPersistencecompanyId - the company IDactive - the activebillingAllowed - the billing allowedorderByComparator - the comparator to order the set by (optionally null)null if a matching country could not be foundpublic com.liferay.portal.kernel.model.Country findByC_A_B_Last(long companyId,
boolean active,
boolean billingAllowed,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchCountryException
findByC_A_B_Last in interface com.liferay.portal.kernel.service.persistence.CountryPersistencecompanyId - the company IDactive - the activebillingAllowed - the billing allowedorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchCountryException - if a matching country could not be foundpublic com.liferay.portal.kernel.model.Country fetchByC_A_B_Last(long companyId,
boolean active,
boolean billingAllowed,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
fetchByC_A_B_Last in interface com.liferay.portal.kernel.service.persistence.CountryPersistencecompanyId - the company IDactive - the activebillingAllowed - the billing allowedorderByComparator - the comparator to order the set by (optionally null)null if a matching country could not be foundpublic com.liferay.portal.kernel.model.Country[] findByC_A_B_PrevAndNext(long countryId,
long companyId,
boolean active,
boolean billingAllowed,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchCountryException
findByC_A_B_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.CountryPersistencecountryId - the primary key of the current countrycompanyId - the company IDactive - the activebillingAllowed - the billing allowedorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchCountryException - if a country with the primary key could not be foundprotected com.liferay.portal.kernel.model.Country getByC_A_B_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.Country country,
long companyId,
boolean active,
boolean billingAllowed,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator,
boolean previous)
public void removeByC_A_B(long companyId,
boolean active,
boolean billingAllowed)
removeByC_A_B in interface com.liferay.portal.kernel.service.persistence.CountryPersistencecompanyId - the company IDactive - the activebillingAllowed - the billing allowedpublic int countByC_A_B(long companyId,
boolean active,
boolean billingAllowed)
countByC_A_B in interface com.liferay.portal.kernel.service.persistence.CountryPersistencecompanyId - the company IDactive - the activebillingAllowed - the billing allowedpublic List<com.liferay.portal.kernel.model.Country> findByC_A_S(long companyId,
boolean active,
boolean shippingAllowed)
findByC_A_S in interface com.liferay.portal.kernel.service.persistence.CountryPersistencecompanyId - the company IDactive - the activeshippingAllowed - the shipping allowedpublic List<com.liferay.portal.kernel.model.Country> findByC_A_S(long companyId,
boolean active,
boolean shippingAllowed,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CountryModelImpl.
findByC_A_S in interface com.liferay.portal.kernel.service.persistence.CountryPersistencecompanyId - the company IDactive - the activeshippingAllowed - the shipping allowedstart - the lower bound of the range of countriesend - the upper bound of the range of countries (not inclusive)public List<com.liferay.portal.kernel.model.Country> findByC_A_S(long companyId,
boolean active,
boolean shippingAllowed,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CountryModelImpl.
findByC_A_S in interface com.liferay.portal.kernel.service.persistence.CountryPersistencecompanyId - the company IDactive - the activeshippingAllowed - the shipping allowedstart - the lower bound of the range of countriesend - the upper bound of the range of countries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public List<com.liferay.portal.kernel.model.Country> findByC_A_S(long companyId,
boolean active,
boolean shippingAllowed,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator,
boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CountryModelImpl.
findByC_A_S in interface com.liferay.portal.kernel.service.persistence.CountryPersistencecompanyId - the company IDactive - the activeshippingAllowed - the shipping allowedstart - the lower bound of the range of countriesend - the upper bound of the range of countries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachepublic com.liferay.portal.kernel.model.Country findByC_A_S_First(long companyId,
boolean active,
boolean shippingAllowed,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchCountryException
findByC_A_S_First in interface com.liferay.portal.kernel.service.persistence.CountryPersistencecompanyId - the company IDactive - the activeshippingAllowed - the shipping allowedorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchCountryException - if a matching country could not be foundpublic com.liferay.portal.kernel.model.Country fetchByC_A_S_First(long companyId,
boolean active,
boolean shippingAllowed,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
fetchByC_A_S_First in interface com.liferay.portal.kernel.service.persistence.CountryPersistencecompanyId - the company IDactive - the activeshippingAllowed - the shipping allowedorderByComparator - the comparator to order the set by (optionally null)null if a matching country could not be foundpublic com.liferay.portal.kernel.model.Country findByC_A_S_Last(long companyId,
boolean active,
boolean shippingAllowed,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchCountryException
findByC_A_S_Last in interface com.liferay.portal.kernel.service.persistence.CountryPersistencecompanyId - the company IDactive - the activeshippingAllowed - the shipping allowedorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchCountryException - if a matching country could not be foundpublic com.liferay.portal.kernel.model.Country fetchByC_A_S_Last(long companyId,
boolean active,
boolean shippingAllowed,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
fetchByC_A_S_Last in interface com.liferay.portal.kernel.service.persistence.CountryPersistencecompanyId - the company IDactive - the activeshippingAllowed - the shipping allowedorderByComparator - the comparator to order the set by (optionally null)null if a matching country could not be foundpublic com.liferay.portal.kernel.model.Country[] findByC_A_S_PrevAndNext(long countryId,
long companyId,
boolean active,
boolean shippingAllowed,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchCountryException
findByC_A_S_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.CountryPersistencecountryId - the primary key of the current countrycompanyId - the company IDactive - the activeshippingAllowed - the shipping allowedorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchCountryException - if a country with the primary key could not be foundprotected com.liferay.portal.kernel.model.Country getByC_A_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.Country country,
long companyId,
boolean active,
boolean shippingAllowed,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator,
boolean previous)
public void removeByC_A_S(long companyId,
boolean active,
boolean shippingAllowed)
removeByC_A_S in interface com.liferay.portal.kernel.service.persistence.CountryPersistencecompanyId - the company IDactive - the activeshippingAllowed - the shipping allowedpublic int countByC_A_S(long companyId,
boolean active,
boolean shippingAllowed)
countByC_A_S in interface com.liferay.portal.kernel.service.persistence.CountryPersistencecompanyId - the company IDactive - the activeshippingAllowed - the shipping allowedpublic void cacheResult(com.liferay.portal.kernel.model.Country country)
cacheResult in interface com.liferay.portal.kernel.service.persistence.CountryPersistencecacheResult in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Country>country - the countrypublic void cacheResult(List<com.liferay.portal.kernel.model.Country> countries)
cacheResult in interface com.liferay.portal.kernel.service.persistence.CountryPersistencecountries - the countriespublic void clearCache()
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Country>clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Country>public void clearCache(com.liferay.portal.kernel.model.Country country)
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Country>clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Country>public void clearCache(List<com.liferay.portal.kernel.model.Country> countries)
clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Country>clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Country>public void clearCache(Set<Serializable> primaryKeys)
clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Country>protected void cacheUniqueFindersCache(CountryModelImpl countryModelImpl)
public com.liferay.portal.kernel.model.Country create(long countryId)
create in interface com.liferay.portal.kernel.service.persistence.CountryPersistencecountryId - the primary key for the new countrypublic com.liferay.portal.kernel.model.Country remove(long countryId)
throws com.liferay.portal.kernel.exception.NoSuchCountryException
remove in interface com.liferay.portal.kernel.service.persistence.CountryPersistencecountryId - the primary key of the countrycom.liferay.portal.kernel.exception.NoSuchCountryException - if a country with the primary key could not be foundpublic com.liferay.portal.kernel.model.Country remove(Serializable primaryKey)
throws com.liferay.portal.kernel.exception.NoSuchCountryException
remove in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Country>remove in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Country>primaryKey - the primary key of the countrycom.liferay.portal.kernel.exception.NoSuchCountryException - if a country with the primary key could not be foundprotected com.liferay.portal.kernel.model.Country removeImpl(com.liferay.portal.kernel.model.Country country)
removeImpl in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Country>public com.liferay.portal.kernel.model.Country updateImpl(com.liferay.portal.kernel.model.Country country)
updateImpl in interface com.liferay.portal.kernel.service.persistence.CountryPersistenceupdateImpl in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Country>public com.liferay.portal.kernel.model.Country findByPrimaryKey(Serializable primaryKey)
throws com.liferay.portal.kernel.exception.NoSuchCountryException
com.liferay.portal.kernel.exception.NoSuchModelException if it could not be found.findByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Country>findByPrimaryKey in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Country>primaryKey - the primary key of the countrycom.liferay.portal.kernel.exception.NoSuchCountryException - if a country with the primary key could not be foundpublic com.liferay.portal.kernel.model.Country findByPrimaryKey(long countryId)
throws com.liferay.portal.kernel.exception.NoSuchCountryException
NoSuchCountryException if it could not be found.findByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.CountryPersistencecountryId - the primary key of the countrycom.liferay.portal.kernel.exception.NoSuchCountryException - if a country with the primary key could not be foundpublic com.liferay.portal.kernel.model.Country fetchByPrimaryKey(long countryId)
null if it could not be found.fetchByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.CountryPersistencecountryId - the primary key of the countrynull if a country with the primary key could not be foundpublic List<com.liferay.portal.kernel.model.Country> findAll()
findAll in interface com.liferay.portal.kernel.service.persistence.CountryPersistencepublic List<com.liferay.portal.kernel.model.Country> findAll(int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CountryModelImpl.
findAll in interface com.liferay.portal.kernel.service.persistence.CountryPersistencestart - the lower bound of the range of countriesend - the upper bound of the range of countries (not inclusive)public List<com.liferay.portal.kernel.model.Country> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CountryModelImpl.
findAll in interface com.liferay.portal.kernel.service.persistence.CountryPersistencestart - the lower bound of the range of countriesend - the upper bound of the range of countries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public List<com.liferay.portal.kernel.model.Country> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator,
boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CountryModelImpl.
findAll in interface com.liferay.portal.kernel.service.persistence.CountryPersistencestart - the lower bound of the range of countriesend - the upper bound of the range of countries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachepublic void removeAll()
removeAll in interface com.liferay.portal.kernel.service.persistence.CountryPersistencepublic int countAll()
countAll in interface com.liferay.portal.kernel.service.persistence.CountryPersistencepublic Set<String> getBadColumnNames()
getBadColumnNames in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Country>getBadColumnNames in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Country>protected com.liferay.portal.kernel.dao.orm.EntityCache getEntityCache()
getEntityCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Country>protected String getPKDBName()
getPKDBName in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Country>protected String getSelectSQL()
getSelectSQL in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Country>protected Map<String,Integer> getTableColumnsMap()
getTableColumnsMap in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Country>public void afterPropertiesSet()
public void destroy()
protected com.liferay.portal.kernel.dao.orm.FinderCache getFinderCache()
getFinderCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Country>