Package | Description |
---|---|
com.liferay.portal.kernel.service.persistence |
This package defines the portal service persistence interfaces, classes, and utilities.
|
Modifier and Type | Method and Description |
---|---|
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.
|