com.liferay.portal.service.impl
Class ImageLocalServiceImpl

java.lang.Object
  extended bycom.liferay.portal.service.base.ImageLocalServiceBaseImpl
      extended bycom.liferay.portal.service.impl.ImageLocalServiceImpl
All Implemented Interfaces:
com.liferay.portal.service.ImageLocalService

public class ImageLocalServiceImpl
extends ImageLocalServiceBaseImpl

View Source

Author:
Brian Wing Shun Chan

Constructor Summary
ImageLocalServiceImpl()
           
 
Method Summary
 void deleteImage(long imageId)
           
 com.liferay.portal.model.Image getImage(long imageId)
           
 java.util.List getImages()
           
 java.util.List getImages(int begin, int end)
           
 java.util.List getImagesBySize(int size)
           
 com.liferay.portal.model.Image updateImage(long imageId, byte[] bytes, java.lang.String type, int height, int width, int size)
           
 
Methods inherited from class com.liferay.portal.service.base.ImageLocalServiceBaseImpl
addImage, dynamicQuery, dynamicQuery, updateImage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageLocalServiceImpl

public ImageLocalServiceImpl()
Method Detail

deleteImage

public void deleteImage(long imageId)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getImage

public com.liferay.portal.model.Image getImage(long imageId)
                                        throws com.liferay.portal.PortalException,
                                               com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getImages

public java.util.List getImages()
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getImages

public java.util.List getImages(int begin,
                                int end)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getImagesBySize

public java.util.List getImagesBySize(int size)
                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateImage

public com.liferay.portal.model.Image updateImage(long imageId,
                                                  byte[] bytes,
                                                  java.lang.String type,
                                                  int height,
                                                  int width,
                                                  int size)
                                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException