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 |
---|---|
Region |
RegionPersistence.findByActive_First(boolean active,
OrderByComparator<Region> orderByComparator)
Returns the first region in the ordered set where active = ?.
|
static Region |
RegionUtil.findByActive_First(boolean active,
OrderByComparator<Region> orderByComparator)
Returns the first region in the ordered set where active = ?.
|
Region |
RegionPersistence.findByActive_Last(boolean active,
OrderByComparator<Region> orderByComparator)
Returns the last region in the ordered set where active = ?.
|
static Region |
RegionUtil.findByActive_Last(boolean active,
OrderByComparator<Region> orderByComparator)
Returns the last region in the ordered set where active = ?.
|
Region[] |
RegionPersistence.findByActive_PrevAndNext(long regionId,
boolean active,
OrderByComparator<Region> orderByComparator)
Returns the regions before and after the current region in the ordered set where active = ?.
|
static Region[] |
RegionUtil.findByActive_PrevAndNext(long regionId,
boolean active,
OrderByComparator<Region> orderByComparator)
Returns the regions before and after the current region in the ordered set where active = ?.
|
Region |
RegionPersistence.findByC_A_First(long countryId,
boolean active,
OrderByComparator<Region> orderByComparator)
Returns the first region in the ordered set where countryId = ? and active = ?.
|
static Region |
RegionUtil.findByC_A_First(long countryId,
boolean active,
OrderByComparator<Region> orderByComparator)
Returns the first region in the ordered set where countryId = ? and active = ?.
|
Region |
RegionPersistence.findByC_A_Last(long countryId,
boolean active,
OrderByComparator<Region> orderByComparator)
Returns the last region in the ordered set where countryId = ? and active = ?.
|
static Region |
RegionUtil.findByC_A_Last(long countryId,
boolean active,
OrderByComparator<Region> orderByComparator)
Returns the last region in the ordered set where countryId = ? and active = ?.
|
Region[] |
RegionPersistence.findByC_A_PrevAndNext(long regionId,
long countryId,
boolean active,
OrderByComparator<Region> orderByComparator)
Returns the regions before and after the current region in the ordered set where countryId = ? and active = ?.
|
static Region[] |
RegionUtil.findByC_A_PrevAndNext(long regionId,
long countryId,
boolean active,
OrderByComparator<Region> orderByComparator)
Returns the regions before and after the current region in the ordered set where countryId = ? and active = ?.
|
Region |
RegionPersistence.findByC_R(long countryId,
String regionCode)
Returns the region where countryId = ? and regionCode = ? or throws a
NoSuchRegionException if it could not be found. |
static Region |
RegionUtil.findByC_R(long countryId,
String regionCode)
Returns the region where countryId = ? and regionCode = ? or throws a
NoSuchRegionException if it could not be found. |
Region |
RegionPersistence.findByCountryId_First(long countryId,
OrderByComparator<Region> orderByComparator)
Returns the first region in the ordered set where countryId = ?.
|
static Region |
RegionUtil.findByCountryId_First(long countryId,
OrderByComparator<Region> orderByComparator)
Returns the first region in the ordered set where countryId = ?.
|
Region |
RegionPersistence.findByCountryId_Last(long countryId,
OrderByComparator<Region> orderByComparator)
Returns the last region in the ordered set where countryId = ?.
|
static Region |
RegionUtil.findByCountryId_Last(long countryId,
OrderByComparator<Region> orderByComparator)
Returns the last region in the ordered set where countryId = ?.
|
Region[] |
RegionPersistence.findByCountryId_PrevAndNext(long regionId,
long countryId,
OrderByComparator<Region> orderByComparator)
Returns the regions before and after the current region in the ordered set where countryId = ?.
|
static Region[] |
RegionUtil.findByCountryId_PrevAndNext(long regionId,
long countryId,
OrderByComparator<Region> orderByComparator)
Returns the regions before and after the current region in the ordered set where countryId = ?.
|
Region |
RegionPersistence.findByPrimaryKey(long regionId)
Returns the region with the primary key or throws a
NoSuchRegionException if it could not be found. |
static Region |
RegionUtil.findByPrimaryKey(long regionId)
Returns the region with the primary key or throws a
NoSuchRegionException if it could not be found. |
Region |
RegionPersistence.remove(long regionId)
Removes the region with the primary key from the database.
|
static Region |
RegionUtil.remove(long regionId)
Removes the region with the primary key from the database.
|
Region |
RegionPersistence.removeByC_R(long countryId,
String regionCode)
Removes the region where countryId = ? and regionCode = ? from the database.
|
static Region |
RegionUtil.removeByC_R(long countryId,
String regionCode)
Removes the region where countryId = ? and regionCode = ? from the database.
|