com.liferay.portal.service
Class ImageLocalServiceWrapper
java.lang.Object
com.liferay.portal.service.ImageLocalServiceWrapper
- All Implemented Interfaces:
- ImageLocalService
public class ImageLocalServiceWrapper
- extends java.lang.Object
- implements ImageLocalService
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This class is a wrapper for ImageLocalService
.
- Author:
- Brian Wing Shun Chan
- See Also:
ImageLocalService
- Generated:
Method Summary |
Image |
addImage(Image image)
|
Image |
createImage(long imageId)
|
void |
deleteImage(Image image)
|
void |
deleteImage(long imageId)
|
java.util.List<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
java.util.List<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
Image |
getCompanyLogo(long imageId)
|
Image |
getDefaultCompanyLogo()
|
Image |
getDefaultOrganizationLogo()
|
Image |
getDefaultSpacer()
|
Image |
getDefaultUserFemalePortrait()
|
Image |
getDefaultUserMalePortrait()
|
Image |
getImage(byte[] bytes)
|
Image |
getImage(java.io.File file)
|
Image |
getImage(java.io.InputStream is)
|
Image |
getImage(long imageId)
|
Image |
getImageOrDefault(long imageId)
|
java.util.List<Image> |
getImages()
|
java.util.List<Image> |
getImages(int start,
int end)
|
java.util.List<Image> |
getImagesBySize(int size)
|
int |
getImagesCount()
|
ImageLocalService |
getWrappedImageLocalService()
|
boolean |
isNullOrDefaultSpacer(byte[] bytes)
|
Image |
updateImage(Image image)
|
Image |
updateImage(Image image,
boolean merge)
|
Image |
updateImage(long imageId,
byte[] bytes)
|
Image |
updateImage(long imageId,
byte[] bytes,
java.lang.String type,
int height,
int width,
int size)
|
Image |
updateImage(long imageId,
java.io.File file)
|
Image |
updateImage(long imageId,
java.io.InputStream is)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImageLocalServiceWrapper
public ImageLocalServiceWrapper(ImageLocalService imageLocalService)
addImage
public Image addImage(Image image)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
addImage
in interface ImageLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
createImage
public Image createImage(long imageId)
- Specified by:
createImage
in interface ImageLocalService
deleteImage
public void deleteImage(long imageId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
deleteImage
in interface ImageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
deleteImage
public void deleteImage(Image image)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
deleteImage
in interface ImageLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
dynamicQuery
public java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
dynamicQuery
in interface ImageLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
dynamicQuery
public java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
dynamicQuery
in interface ImageLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
getImage
public Image getImage(long imageId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
getImage
in interface ImageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getImages
public java.util.List<Image> getImages(int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getImages
in interface ImageLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
getImagesCount
public int getImagesCount()
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getImagesCount
in interface ImageLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
updateImage
public Image updateImage(Image image)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
updateImage
in interface ImageLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
updateImage
public Image updateImage(Image image,
boolean merge)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
updateImage
in interface ImageLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
getCompanyLogo
public Image getCompanyLogo(long imageId)
- Specified by:
getCompanyLogo
in interface ImageLocalService
getDefaultCompanyLogo
public Image getDefaultCompanyLogo()
- Specified by:
getDefaultCompanyLogo
in interface ImageLocalService
getDefaultOrganizationLogo
public Image getDefaultOrganizationLogo()
- Specified by:
getDefaultOrganizationLogo
in interface ImageLocalService
getDefaultSpacer
public Image getDefaultSpacer()
- Specified by:
getDefaultSpacer
in interface ImageLocalService
getDefaultUserFemalePortrait
public Image getDefaultUserFemalePortrait()
- Specified by:
getDefaultUserFemalePortrait
in interface ImageLocalService
getDefaultUserMalePortrait
public Image getDefaultUserMalePortrait()
- Specified by:
getDefaultUserMalePortrait
in interface ImageLocalService
getImage
public Image getImage(byte[] bytes)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
getImage
in interface ImageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getImage
public Image getImage(java.io.File file)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
getImage
in interface ImageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getImage
public Image getImage(java.io.InputStream is)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
getImage
in interface ImageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getImageOrDefault
public Image getImageOrDefault(long imageId)
- Specified by:
getImageOrDefault
in interface ImageLocalService
getImages
public java.util.List<Image> getImages()
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getImages
in interface ImageLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
getImagesBySize
public java.util.List<Image> getImagesBySize(int size)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getImagesBySize
in interface ImageLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
isNullOrDefaultSpacer
public boolean isNullOrDefaultSpacer(byte[] bytes)
- Specified by:
isNullOrDefaultSpacer
in interface ImageLocalService
updateImage
public Image updateImage(long imageId,
byte[] bytes)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
updateImage
in interface ImageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
updateImage
public Image updateImage(long imageId,
java.io.File file)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
updateImage
in interface ImageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
updateImage
public Image updateImage(long imageId,
java.io.InputStream is)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
updateImage
in interface ImageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
updateImage
public Image updateImage(long imageId,
byte[] bytes,
java.lang.String type,
int height,
int width,
int size)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
updateImage
in interface ImageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getWrappedImageLocalService
public ImageLocalService getWrappedImageLocalService()