Package | Description |
---|---|
com.liferay.portal.kernel.image | |
com.liferay.portal.kernel.model |
This package defines the portal model interfaces, classes, utilities, wrappers, and annotated types.
|
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 | Method and Description |
---|---|
static Image |
ImageToolUtil.getDefaultCompanyLogo() |
Image |
ImageTool.getDefaultCompanyLogo() |
static Image |
ImageToolUtil.getDefaultOrganizationLogo() |
Image |
ImageTool.getDefaultOrganizationLogo() |
static Image |
ImageToolUtil.getDefaultSpacer() |
Image |
ImageTool.getDefaultSpacer() |
static Image |
ImageToolUtil.getDefaultUserFemalePortrait() |
Image |
ImageTool.getDefaultUserFemalePortrait() |
static Image |
ImageToolUtil.getDefaultUserMalePortrait() |
Image |
ImageTool.getDefaultUserMalePortrait() |
static Image |
ImageToolUtil.getImage(byte[] bytes) |
Image |
ImageTool.getImage(byte[] bytes) |
static Image |
ImageToolUtil.getImage(File file) |
Image |
ImageTool.getImage(File file) |
static Image |
ImageToolUtil.getImage(InputStream is) |
Image |
ImageTool.getImage(InputStream is) |
static Image |
ImageToolUtil.getImage(InputStream is,
boolean cleanUpStream) |
Image |
ImageTool.getImage(InputStream is,
boolean cleanUpStream) |
Modifier and Type | Method and Description |
---|---|
void |
Hook.deleteImage(Image image) |
byte[] |
Hook.getImageAsBytes(Image image) |
InputStream |
Hook.getImageAsStream(Image image) |
void |
Hook.updateImage(Image image,
String type,
byte[] bytes) |
Modifier and Type | Class and Description |
---|---|
class |
ImageWrapper
This class is a wrapper for
Image . |
Modifier and Type | Field and Description |
---|---|
static Accessor<Image,Long> |
Image.IMAGE_ID_ACCESSOR |
Modifier and Type | Method and Description |
---|---|
Image |
ImageWrapper.getWrappedModel() |
Image |
ImageWrapper.toEscapedModel() |
Image |
ImageModel.toEscapedModel() |
Image |
ImageWrapper.toUnescapedModel() |
Image |
ImageModel.toUnescapedModel() |
Modifier and Type | Method and Description |
---|---|
CacheModel<Image> |
ImageWrapper.toCacheModel() |
CacheModel<Image> |
ImageModel.toCacheModel() |
Modifier and Type | Method and Description |
---|---|
int |
ImageWrapper.compareTo(Image image) |
int |
ImageModel.compareTo(Image image) |
static ImageSoap |
ImageSoap.toSoapModel(Image model) |
static ImageSoap[] |
ImageSoap.toSoapModels(Image[] models) |
static ImageSoap[][] |
ImageSoap.toSoapModels(Image[][] models) |
Modifier and Type | Method and Description |
---|---|
static ImageSoap[] |
ImageSoap.toSoapModels(List<Image> models) |
Constructor and Description |
---|
ImageWrapper(Image image) |
Modifier and Type | Method and Description |
---|---|
Image |
ImageLocalServiceWrapper.addImage(Image image)
Adds the image to the database.
|
Image |
ImageLocalService.addImage(Image image)
Adds the image to the database.
|
static Image |
ImageLocalServiceUtil.addImage(Image image)
Adds the image to the database.
|
Image |
ImageLocalServiceWrapper.createImage(long imageId)
Creates a new image with the primary key.
|
Image |
ImageLocalService.createImage(long imageId)
Creates a new image with the primary key.
|
static Image |
ImageLocalServiceUtil.createImage(long imageId)
Creates a new image with the primary key.
|
Image |
ImageLocalServiceWrapper.deleteImage(Image image)
Deletes the image from the database.
|
Image |
ImageLocalService.deleteImage(Image image)
Deletes the image from the database.
|
static Image |
ImageLocalServiceUtil.deleteImage(Image image)
Deletes the image from the database.
|
Image |
ImageLocalServiceWrapper.deleteImage(long imageId)
Deletes the image with the primary key from the database.
|
Image |
ImageLocalService.deleteImage(long imageId)
Deletes the image with the primary key from the database.
|
static Image |
ImageLocalServiceUtil.deleteImage(long imageId)
Deletes the image with the primary key from the database.
|
Image |
ImageLocalServiceWrapper.fetchImage(long imageId) |
Image |
ImageLocalService.fetchImage(long imageId) |
static Image |
ImageLocalServiceUtil.fetchImage(long imageId) |
Image |
ImageLocalServiceWrapper.getCompanyLogo(long imageId) |
Image |
ImageLocalService.getCompanyLogo(long imageId) |
static Image |
ImageLocalServiceUtil.getCompanyLogo(long imageId) |
Image |
ImageLocalServiceWrapper.getImage(long imageId)
Returns the image with the primary key.
|
Image |
ImageLocalService.getImage(long imageId)
Returns the image with the primary key.
|
static Image |
ImageLocalServiceUtil.getImage(long imageId)
Returns the image with the primary key.
|
static Image |
ImageServiceUtil.getImage(long imageId) |
Image |
ImageService.getImage(long imageId) |
Image |
ImageServiceWrapper.getImage(long imageId) |
Image |
ImageLocalServiceWrapper.getImageOrDefault(long imageId) |
Image |
ImageLocalService.getImageOrDefault(long imageId) |
static Image |
ImageLocalServiceUtil.getImageOrDefault(long imageId) |
Image |
ImageLocalServiceWrapper.moveImage(long imageId,
byte[] bytes) |
Image |
ImageLocalService.moveImage(long imageId,
byte[] bytes) |
static Image |
ImageLocalServiceUtil.moveImage(long imageId,
byte[] bytes) |
Image |
ImageLocalServiceWrapper.updateImage(Image image)
Updates the image in the database or adds it if it does not yet exist.
|
Image |
ImageLocalService.updateImage(Image image)
Updates the image in the database or adds it if it does not yet exist.
|
static Image |
ImageLocalServiceUtil.updateImage(Image image)
Updates the image in the database or adds it if it does not yet exist.
|
Image |
ImageLocalServiceWrapper.updateImage(long imageId,
byte[] bytes) |
Image |
ImageLocalService.updateImage(long imageId,
byte[] bytes) |
static Image |
ImageLocalServiceUtil.updateImage(long imageId,
byte[] bytes) |
Image |
ImageLocalServiceWrapper.updateImage(long imageId,
byte[] bytes,
String type,
int height,
int width,
int size) |
Image |
ImageLocalService.updateImage(long imageId,
byte[] bytes,
String type,
int height,
int width,
int size) |
static Image |
ImageLocalServiceUtil.updateImage(long imageId,
byte[] bytes,
String type,
int height,
int width,
int size) |
Image |
ImageLocalServiceWrapper.updateImage(long imageId,
File file) |
Image |
ImageLocalService.updateImage(long imageId,
File file) |
static Image |
ImageLocalServiceUtil.updateImage(long imageId,
File file) |
Image |
ImageLocalServiceWrapper.updateImage(long imageId,
InputStream is) |
Image |
ImageLocalService.updateImage(long imageId,
InputStream is) |
static Image |
ImageLocalServiceUtil.updateImage(long imageId,
InputStream is) |
Image |
ImageLocalServiceWrapper.updateImage(long imageId,
InputStream is,
boolean cleanUpStream) |
Image |
ImageLocalService.updateImage(long imageId,
InputStream is,
boolean cleanUpStream) |
static Image |
ImageLocalServiceUtil.updateImage(long imageId,
InputStream is,
boolean cleanUpStream) |
Modifier and Type | Method and Description |
---|---|
List<Image> |
ImageLocalServiceWrapper.getImages() |
List<Image> |
ImageLocalService.getImages() |
static List<Image> |
ImageLocalServiceUtil.getImages() |
List<Image> |
ImageLocalServiceWrapper.getImages(int start,
int end)
Returns a range of all the images.
|
List<Image> |
ImageLocalService.getImages(int start,
int end)
Returns a range of all the images.
|
static List<Image> |
ImageLocalServiceUtil.getImages(int start,
int end)
Returns a range of all the images.
|
List<Image> |
ImageLocalServiceWrapper.getImagesBySize(int size) |
List<Image> |
ImageLocalService.getImagesBySize(int size) |
static List<Image> |
ImageLocalServiceUtil.getImagesBySize(int size) |
Modifier and Type | Method and Description |
---|---|
Image |
ImageLocalServiceWrapper.addImage(Image image)
Adds the image to the database.
|
Image |
ImageLocalService.addImage(Image image)
Adds the image to the database.
|
static Image |
ImageLocalServiceUtil.addImage(Image image)
Adds the image to the database.
|
Image |
ImageLocalServiceWrapper.deleteImage(Image image)
Deletes the image from the database.
|
Image |
ImageLocalService.deleteImage(Image image)
Deletes the image from the database.
|
static Image |
ImageLocalServiceUtil.deleteImage(Image image)
Deletes the image from the database.
|
Image |
ImageLocalServiceWrapper.updateImage(Image image)
Updates the image in the database or adds it if it does not yet exist.
|
Image |
ImageLocalService.updateImage(Image image)
Updates the image in the database or adds it if it does not yet exist.
|
static Image |
ImageLocalServiceUtil.updateImage(Image image)
Updates the image in the database or adds it if it does not yet exist.
|
Modifier and Type | Method and Description |
---|---|
Image |
ImagePersistence.create(long imageId)
Creates a new image with the primary key.
|
static Image |
ImageUtil.create(long imageId)
Creates a new image with the primary key.
|
Image |
ImagePersistence.fetchByLtSize_First(int size,
OrderByComparator<Image> orderByComparator)
Returns the first image in the ordered set where size < ?.
|
static Image |
ImageUtil.fetchByLtSize_First(int size,
OrderByComparator<Image> orderByComparator)
Returns the first image in the ordered set where size < ?.
|
Image |
ImagePersistence.fetchByLtSize_Last(int size,
OrderByComparator<Image> orderByComparator)
Returns the last image in the ordered set where size < ?.
|
static Image |
ImageUtil.fetchByLtSize_Last(int size,
OrderByComparator<Image> orderByComparator)
Returns the last image in the ordered set where size < ?.
|
Image |
ImagePersistence.fetchByPrimaryKey(long imageId)
Returns the image with the primary key or returns
null if it could not be found. |
static Image |
ImageUtil.fetchByPrimaryKey(long imageId)
Returns the image with the primary key or returns
null if it could not be found. |
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.
|
static Image |
ImageUtil.update(Image image) |
static Image |
ImageUtil.update(Image image,
ServiceContext serviceContext) |
Image |
ImagePersistence.updateImpl(Image image) |
static Image |
ImageUtil.updateImpl(Image image) |
Modifier and Type | Method and Description |
---|---|
Map<Serializable,Image> |
ImagePersistence.fetchByPrimaryKeys(Set<Serializable> primaryKeys) |
static Map<Serializable,Image> |
ImageUtil.fetchByPrimaryKeys(Set<Serializable> primaryKeys) |
List<Image> |
ImagePersistence.findAll()
Returns all the images.
|
static List<Image> |
ImageUtil.findAll()
Returns all the images.
|
List<Image> |
ImagePersistence.findAll(int start,
int end)
Returns a range of all the images.
|
static List<Image> |
ImageUtil.findAll(int start,
int end)
Returns a range of all the images.
|
List<Image> |
ImagePersistence.findAll(int start,
int end,
OrderByComparator<Image> orderByComparator)
Returns an ordered range of all the images.
|
static List<Image> |
ImageUtil.findAll(int start,
int end,
OrderByComparator<Image> orderByComparator)
Returns an ordered range of all the images.
|
List<Image> |
ImagePersistence.findAll(int start,
int end,
OrderByComparator<Image> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the images.
|
static List<Image> |
ImageUtil.findAll(int start,
int end,
OrderByComparator<Image> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the images.
|
List<Image> |
ImagePersistence.findByLtSize(int size)
Returns all the images where size < ?.
|
static List<Image> |
ImageUtil.findByLtSize(int size)
Returns all the images where size < ?.
|
List<Image> |
ImagePersistence.findByLtSize(int size,
int start,
int end)
Returns a range of all the images where size < ?.
|
static List<Image> |
ImageUtil.findByLtSize(int size,
int start,
int end)
Returns a range of all the images where size < ?.
|
List<Image> |
ImagePersistence.findByLtSize(int size,
int start,
int end,
OrderByComparator<Image> orderByComparator)
Returns an ordered range of all the images where size < ?.
|
static List<Image> |
ImageUtil.findByLtSize(int size,
int start,
int end,
OrderByComparator<Image> orderByComparator)
Returns an ordered range of all the images where size < ?.
|
List<Image> |
ImagePersistence.findByLtSize(int size,
int start,
int end,
OrderByComparator<Image> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the images where size < ?.
|
static List<Image> |
ImageUtil.findByLtSize(int size,
int start,
int end,
OrderByComparator<Image> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the images where size < ?.
|
static List<Image> |
ImageUtil.findWithDynamicQuery(DynamicQuery dynamicQuery) |
static List<Image> |
ImageUtil.findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end) |
static List<Image> |
ImageUtil.findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator<Image> orderByComparator) |
Modifier and Type | Method and Description |
---|---|
void |
ImagePersistence.cacheResult(Image image)
Caches the image in the entity cache if it is enabled.
|
static void |
ImageUtil.cacheResult(Image image)
Caches the image in the entity cache if it is enabled.
|
static void |
ImageUtil.clearCache(Image image) |
static Image |
ImageUtil.update(Image image) |
static Image |
ImageUtil.update(Image image,
ServiceContext serviceContext) |
Image |
ImagePersistence.updateImpl(Image image) |
static Image |
ImageUtil.updateImpl(Image image) |
Modifier and Type | Method and Description |
---|---|
void |
ImagePersistence.cacheResult(List<Image> images)
Caches the images in the entity cache if it is enabled.
|
static void |
ImageUtil.cacheResult(List<Image> images)
Caches the images in the entity cache if it is enabled.
|
Image |
ImagePersistence.fetchByLtSize_First(int size,
OrderByComparator<Image> orderByComparator)
Returns the first image in the ordered set where size < ?.
|
static Image |
ImageUtil.fetchByLtSize_First(int size,
OrderByComparator<Image> orderByComparator)
Returns the first image in the ordered set where size < ?.
|
Image |
ImagePersistence.fetchByLtSize_Last(int size,
OrderByComparator<Image> orderByComparator)
Returns the last image in the ordered set where size < ?.
|
static Image |
ImageUtil.fetchByLtSize_Last(int size,
OrderByComparator<Image> orderByComparator)
Returns the last image in the ordered set where size < ?.
|
List<Image> |
ImagePersistence.findAll(int start,
int end,
OrderByComparator<Image> orderByComparator)
Returns an ordered range of all the images.
|
static List<Image> |
ImageUtil.findAll(int start,
int end,
OrderByComparator<Image> orderByComparator)
Returns an ordered range of all the images.
|
List<Image> |
ImagePersistence.findAll(int start,
int end,
OrderByComparator<Image> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the images.
|
static List<Image> |
ImageUtil.findAll(int start,
int end,
OrderByComparator<Image> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the images.
|
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 < ?.
|
List<Image> |
ImagePersistence.findByLtSize(int size,
int start,
int end,
OrderByComparator<Image> orderByComparator)
Returns an ordered range of all the images where size < ?.
|
static List<Image> |
ImageUtil.findByLtSize(int size,
int start,
int end,
OrderByComparator<Image> orderByComparator)
Returns an ordered range of all the images where size < ?.
|
List<Image> |
ImagePersistence.findByLtSize(int size,
int start,
int end,
OrderByComparator<Image> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the images where size < ?.
|
static List<Image> |
ImageUtil.findByLtSize(int size,
int start,
int end,
OrderByComparator<Image> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the images where size < ?.
|
static List<Image> |
ImageUtil.findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator<Image> orderByComparator) |