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 |
---|---|
Image |
ImagePersistence.findByLtSize_First(int size,
OrderByComparator<Image> orderByComparator)
Returns the first image in the ordered set where size < ?.
|
static Image |
ImageUtil.findByLtSize_First(int size,
OrderByComparator<Image> orderByComparator)
Returns the first image in the ordered set where size < ?.
|
Image |
ImagePersistence.findByLtSize_Last(int size,
OrderByComparator<Image> orderByComparator)
Returns the last image in the ordered set where size < ?.
|
static Image |
ImageUtil.findByLtSize_Last(int size,
OrderByComparator<Image> orderByComparator)
Returns the last image in the ordered set where size < ?.
|
Image[] |
ImagePersistence.findByLtSize_PrevAndNext(long imageId,
int size,
OrderByComparator<Image> orderByComparator)
Returns the images before and after the current image in the ordered set where size < ?.
|
static Image[] |
ImageUtil.findByLtSize_PrevAndNext(long imageId,
int size,
OrderByComparator<Image> orderByComparator)
Returns the images before and after the current image in the ordered set where size < ?.
|
Image |
ImagePersistence.findByPrimaryKey(long imageId)
Returns the image with the primary key or throws a
NoSuchImageException if it could not be found. |
static Image |
ImageUtil.findByPrimaryKey(long imageId)
Returns the image with the primary key or throws a
NoSuchImageException if it could not be found. |
Image |
ImagePersistence.remove(long imageId)
Removes the image with the primary key from the database.
|
static Image |
ImageUtil.remove(long imageId)
Removes the image with the primary key from the database.
|