Package | Description |
---|---|
com.liferay.portal.kernel.model |
This package defines the portal model interfaces, classes, utilities, wrappers, and annotated types.
|
com.liferay.portal.kernel.search | |
com.liferay.portal.kernel.service |
This package defines the portal service interfaces and classes.
|
com.liferay.portal.kernel.service.persistence |
This package defines the portal service persistence interfaces, classes, and utilities.
|
Modifier and Type | Class and Description |
---|---|
class |
CountryWrapper
This class is a wrapper for
Country . |
Modifier and Type | Field and Description |
---|---|
static Accessor<Country,Long> |
Country.COUNTRY_ID_ACCESSOR |
Modifier and Type | Method and Description |
---|---|
Country |
AddressWrapper.getCountry() |
Country |
Address.getCountry() |
Country |
CountryWrapper.getWrappedModel() |
Country |
CountryWrapper.toEscapedModel() |
Country |
CountryModel.toEscapedModel() |
Country |
CountryWrapper.toUnescapedModel() |
Country |
CountryModel.toUnescapedModel() |
Modifier and Type | Method and Description |
---|---|
CacheModel<Country> |
CountryWrapper.toCacheModel() |
CacheModel<Country> |
CountryModel.toCacheModel() |
Modifier and Type | Method and Description |
---|---|
int |
CountryWrapper.compareTo(Country country) |
int |
CountryModel.compareTo(Country country) |
static CountrySoap |
CountrySoap.toSoapModel(Country model) |
static CountrySoap[] |
CountrySoap.toSoapModels(Country[] models) |
static CountrySoap[][] |
CountrySoap.toSoapModels(Country[][] models) |
Modifier and Type | Method and Description |
---|---|
static CountrySoap[] |
CountrySoap.toSoapModels(List<Country> models) |
Constructor and Description |
---|
CountryWrapper(Country country) |
Modifier and Type | Method and Description |
---|---|
protected Set<String> |
BaseIndexer.getLocalizedCountryNames(Country country) |
Modifier and Type | Method and Description |
---|---|
static Country |
CountryServiceUtil.addCountry(String name,
String a2,
String a3,
String number,
String idd,
boolean active) |
Country |
CountryService.addCountry(String name,
String a2,
String a3,
String number,
String idd,
boolean active) |
Country |
CountryServiceWrapper.addCountry(String name,
String a2,
String a3,
String number,
String idd,
boolean active) |
static Country |
CountryServiceUtil.fetchCountry(long countryId) |
Country |
CountryService.fetchCountry(long countryId) |
Country |
CountryServiceWrapper.fetchCountry(long countryId) |
static Country |
CountryServiceUtil.fetchCountryByA2(String a2) |
Country |
CountryService.fetchCountryByA2(String a2) |
Country |
CountryServiceWrapper.fetchCountryByA2(String a2) |
static Country |
CountryServiceUtil.fetchCountryByA3(String a3) |
Country |
CountryService.fetchCountryByA3(String a3) |
Country |
CountryServiceWrapper.fetchCountryByA3(String a3) |
static Country |
CountryServiceUtil.getCountry(long countryId) |
Country |
CountryService.getCountry(long countryId) |
Country |
CountryServiceWrapper.getCountry(long countryId) |
static Country |
CountryServiceUtil.getCountryByA2(String a2) |
Country |
CountryService.getCountryByA2(String a2) |
Country |
CountryServiceWrapper.getCountryByA2(String a2) |
static Country |
CountryServiceUtil.getCountryByA3(String a3) |
Country |
CountryService.getCountryByA3(String a3) |
Country |
CountryServiceWrapper.getCountryByA3(String a3) |
static Country |
CountryServiceUtil.getCountryByName(String name) |
Country |
CountryService.getCountryByName(String name) |
Country |
CountryServiceWrapper.getCountryByName(String name) |
Modifier and Type | Method and Description |
---|---|
static List<Country> |
CountryServiceUtil.getCountries() |
List<Country> |
CountryService.getCountries() |
List<Country> |
CountryServiceWrapper.getCountries() |
static List<Country> |
CountryServiceUtil.getCountries(boolean active) |
List<Country> |
CountryService.getCountries(boolean active) |
List<Country> |
CountryServiceWrapper.getCountries(boolean active) |
Modifier and Type | Method and Description |
---|---|
Country |
CountryPersistence.create(long countryId)
Creates a new country with the primary key.
|
static Country |
CountryUtil.create(long countryId)
Creates a new country with the primary key.
|
Country |
CountryPersistence.fetchByA2(String a2)
Returns the country where a2 = ? or returns
null if it could not be found. |
static Country |
CountryUtil.fetchByA2(String a2)
Returns the country where a2 = ? or returns
null if it could not be found. |
Country |
CountryPersistence.fetchByA2(String a2,
boolean retrieveFromCache)
Returns the country where a2 = ? or returns
null if it could not be found, optionally using the finder cache. |
static Country |
CountryUtil.fetchByA2(String a2,
boolean retrieveFromCache)
Returns the country where a2 = ? or returns
null if it could not be found, optionally using the finder cache. |
Country |
CountryPersistence.fetchByA3(String a3)
Returns the country where a3 = ? or returns
null if it could not be found. |
static Country |
CountryUtil.fetchByA3(String a3)
Returns the country where a3 = ? or returns
null if it could not be found. |
Country |
CountryPersistence.fetchByA3(String a3,
boolean retrieveFromCache)
Returns the country where a3 = ? or returns
null if it could not be found, optionally using the finder cache. |
static Country |
CountryUtil.fetchByA3(String a3,
boolean retrieveFromCache)
Returns the country where a3 = ? or returns
null if it could not be found, optionally using the finder cache. |
Country |
CountryPersistence.fetchByActive_First(boolean active,
OrderByComparator<Country> orderByComparator)
Returns the first country in the ordered set where active = ?.
|
static Country |
CountryUtil.fetchByActive_First(boolean active,
OrderByComparator<Country> orderByComparator)
Returns the first country in the ordered set where active = ?.
|
Country |
CountryPersistence.fetchByActive_Last(boolean active,
OrderByComparator<Country> orderByComparator)
Returns the last country in the ordered set where active = ?.
|
static Country |
CountryUtil.fetchByActive_Last(boolean active,
OrderByComparator<Country> orderByComparator)
Returns the last country in the ordered set where active = ?.
|
Country |
CountryPersistence.fetchByName(String name)
Returns the country where name = ? or returns
null if it could not be found. |
static Country |
CountryUtil.fetchByName(String name)
Returns the country where name = ? or returns
null if it could not be found. |
Country |
CountryPersistence.fetchByName(String name,
boolean retrieveFromCache)
Returns the country where name = ? or returns
null if it could not be found, optionally using the finder cache. |
static Country |
CountryUtil.fetchByName(String name,
boolean retrieveFromCache)
Returns the country where name = ? or returns
null if it could not be found, optionally using the finder cache. |
Country |
CountryPersistence.fetchByPrimaryKey(long countryId)
Returns the country with the primary key or returns
null if it could not be found. |
static Country |
CountryUtil.fetchByPrimaryKey(long countryId)
Returns the country with the primary key or returns
null if it could not be found. |
Country |
CountryPersistence.findByA2(String a2)
Returns the country where a2 = ? or throws a
NoSuchCountryException if it could not be found. |
static Country |
CountryUtil.findByA2(String a2)
Returns the country where a2 = ? or throws a
NoSuchCountryException if it could not be found. |
Country |
CountryPersistence.findByA3(String a3)
Returns the country where a3 = ? or throws a
NoSuchCountryException if it could not be found. |
static Country |
CountryUtil.findByA3(String a3)
Returns the country where a3 = ? or throws a
NoSuchCountryException if it could not be found. |
Country |
CountryPersistence.findByActive_First(boolean active,
OrderByComparator<Country> orderByComparator)
Returns the first country in the ordered set where active = ?.
|
static Country |
CountryUtil.findByActive_First(boolean active,
OrderByComparator<Country> orderByComparator)
Returns the first country in the ordered set where active = ?.
|
Country |
CountryPersistence.findByActive_Last(boolean active,
OrderByComparator<Country> orderByComparator)
Returns the last country in the ordered set where active = ?.
|
static Country |
CountryUtil.findByActive_Last(boolean active,
OrderByComparator<Country> orderByComparator)
Returns the last country in the ordered set where active = ?.
|
Country[] |
CountryPersistence.findByActive_PrevAndNext(long countryId,
boolean active,
OrderByComparator<Country> orderByComparator)
Returns the countries before and after the current country in the ordered set where active = ?.
|
static Country[] |
CountryUtil.findByActive_PrevAndNext(long countryId,
boolean active,
OrderByComparator<Country> orderByComparator)
Returns the countries before and after the current country in the ordered set where active = ?.
|
Country |
CountryPersistence.findByName(String name)
Returns the country where name = ? or throws a
NoSuchCountryException if it could not be found. |
static Country |
CountryUtil.findByName(String name)
Returns the country where name = ? or throws a
NoSuchCountryException if it could not be found. |
Country |
CountryPersistence.findByPrimaryKey(long countryId)
Returns the country with the primary key or throws a
NoSuchCountryException if it could not be found. |
static Country |
CountryUtil.findByPrimaryKey(long countryId)
Returns the country with the primary key or throws a
NoSuchCountryException if it could not be found. |
Country |
CountryPersistence.remove(long countryId)
Removes the country with the primary key from the database.
|
static Country |
CountryUtil.remove(long countryId)
Removes the country with the primary key from the database.
|
Country |
CountryPersistence.removeByA2(String a2)
Removes the country where a2 = ? from the database.
|
static Country |
CountryUtil.removeByA2(String a2)
Removes the country where a2 = ? from the database.
|
Country |
CountryPersistence.removeByA3(String a3)
Removes the country where a3 = ? from the database.
|
static Country |
CountryUtil.removeByA3(String a3)
Removes the country where a3 = ? from the database.
|
Country |
CountryPersistence.removeByName(String name)
Removes the country where name = ? from the database.
|
static Country |
CountryUtil.removeByName(String name)
Removes the country where name = ? from the database.
|
static Country |
CountryUtil.update(Country country) |
static Country |
CountryUtil.update(Country country,
ServiceContext serviceContext) |
Country |
CountryPersistence.updateImpl(Country country) |
static Country |
CountryUtil.updateImpl(Country country) |
Modifier and Type | Method and Description |
---|---|
Map<Serializable,Country> |
CountryPersistence.fetchByPrimaryKeys(Set<Serializable> primaryKeys) |
static Map<Serializable,Country> |
CountryUtil.fetchByPrimaryKeys(Set<Serializable> primaryKeys) |
List<Country> |
CountryPersistence.findAll()
Returns all the countries.
|
static List<Country> |
CountryUtil.findAll()
Returns all the countries.
|
List<Country> |
CountryPersistence.findAll(int start,
int end)
Returns a range of all the countries.
|
static List<Country> |
CountryUtil.findAll(int start,
int end)
Returns a range of all the countries.
|
List<Country> |
CountryPersistence.findAll(int start,
int end,
OrderByComparator<Country> orderByComparator)
Returns an ordered range of all the countries.
|
static List<Country> |
CountryUtil.findAll(int start,
int end,
OrderByComparator<Country> orderByComparator)
Returns an ordered range of all the countries.
|
List<Country> |
CountryPersistence.findAll(int start,
int end,
OrderByComparator<Country> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the countries.
|
static List<Country> |
CountryUtil.findAll(int start,
int end,
OrderByComparator<Country> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the countries.
|
List<Country> |
CountryPersistence.findByActive(boolean active)
Returns all the countries where active = ?.
|
static List<Country> |
CountryUtil.findByActive(boolean active)
Returns all the countries where active = ?.
|
List<Country> |
CountryPersistence.findByActive(boolean active,
int start,
int end)
Returns a range of all the countries where active = ?.
|
static List<Country> |
CountryUtil.findByActive(boolean active,
int start,
int end)
Returns a range of all the countries where active = ?.
|
List<Country> |
CountryPersistence.findByActive(boolean active,
int start,
int end,
OrderByComparator<Country> orderByComparator)
Returns an ordered range of all the countries where active = ?.
|
static List<Country> |
CountryUtil.findByActive(boolean active,
int start,
int end,
OrderByComparator<Country> orderByComparator)
Returns an ordered range of all the countries where active = ?.
|
List<Country> |
CountryPersistence.findByActive(boolean active,
int start,
int end,
OrderByComparator<Country> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the countries where active = ?.
|
static List<Country> |
CountryUtil.findByActive(boolean active,
int start,
int end,
OrderByComparator<Country> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the countries where active = ?.
|
static List<Country> |
CountryUtil.findWithDynamicQuery(DynamicQuery dynamicQuery) |
static List<Country> |
CountryUtil.findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end) |
static List<Country> |
CountryUtil.findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator<Country> orderByComparator) |
Modifier and Type | Method and Description |
---|---|
void |
CountryPersistence.cacheResult(Country country)
Caches the country in the entity cache if it is enabled.
|
static void |
CountryUtil.cacheResult(Country country)
Caches the country in the entity cache if it is enabled.
|
static void |
CountryUtil.clearCache(Country country) |
static Country |
CountryUtil.update(Country country) |
static Country |
CountryUtil.update(Country country,
ServiceContext serviceContext) |
Country |
CountryPersistence.updateImpl(Country country) |
static Country |
CountryUtil.updateImpl(Country country) |
Modifier and Type | Method and Description |
---|---|
void |
CountryPersistence.cacheResult(List<Country> countries)
Caches the countries in the entity cache if it is enabled.
|
static void |
CountryUtil.cacheResult(List<Country> countries)
Caches the countries in the entity cache if it is enabled.
|
Country |
CountryPersistence.fetchByActive_First(boolean active,
OrderByComparator<Country> orderByComparator)
Returns the first country in the ordered set where active = ?.
|
static Country |
CountryUtil.fetchByActive_First(boolean active,
OrderByComparator<Country> orderByComparator)
Returns the first country in the ordered set where active = ?.
|
Country |
CountryPersistence.fetchByActive_Last(boolean active,
OrderByComparator<Country> orderByComparator)
Returns the last country in the ordered set where active = ?.
|
static Country |
CountryUtil.fetchByActive_Last(boolean active,
OrderByComparator<Country> orderByComparator)
Returns the last country in the ordered set where active = ?.
|
List<Country> |
CountryPersistence.findAll(int start,
int end,
OrderByComparator<Country> orderByComparator)
Returns an ordered range of all the countries.
|
static List<Country> |
CountryUtil.findAll(int start,
int end,
OrderByComparator<Country> orderByComparator)
Returns an ordered range of all the countries.
|
List<Country> |
CountryPersistence.findAll(int start,
int end,
OrderByComparator<Country> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the countries.
|
static List<Country> |
CountryUtil.findAll(int start,
int end,
OrderByComparator<Country> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the countries.
|
Country |
CountryPersistence.findByActive_First(boolean active,
OrderByComparator<Country> orderByComparator)
Returns the first country in the ordered set where active = ?.
|
static Country |
CountryUtil.findByActive_First(boolean active,
OrderByComparator<Country> orderByComparator)
Returns the first country in the ordered set where active = ?.
|
Country |
CountryPersistence.findByActive_Last(boolean active,
OrderByComparator<Country> orderByComparator)
Returns the last country in the ordered set where active = ?.
|
static Country |
CountryUtil.findByActive_Last(boolean active,
OrderByComparator<Country> orderByComparator)
Returns the last country in the ordered set where active = ?.
|
Country[] |
CountryPersistence.findByActive_PrevAndNext(long countryId,
boolean active,
OrderByComparator<Country> orderByComparator)
Returns the countries before and after the current country in the ordered set where active = ?.
|
static Country[] |
CountryUtil.findByActive_PrevAndNext(long countryId,
boolean active,
OrderByComparator<Country> orderByComparator)
Returns the countries before and after the current country in the ordered set where active = ?.
|
List<Country> |
CountryPersistence.findByActive(boolean active,
int start,
int end,
OrderByComparator<Country> orderByComparator)
Returns an ordered range of all the countries where active = ?.
|
static List<Country> |
CountryUtil.findByActive(boolean active,
int start,
int end,
OrderByComparator<Country> orderByComparator)
Returns an ordered range of all the countries where active = ?.
|
List<Country> |
CountryPersistence.findByActive(boolean active,
int start,
int end,
OrderByComparator<Country> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the countries where active = ?.
|
static List<Country> |
CountryUtil.findByActive(boolean active,
int start,
int end,
OrderByComparator<Country> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the countries where active = ?.
|
static List<Country> |
CountryUtil.findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator<Country> orderByComparator) |