com.liferay.portal.service
Class ImageLocalServiceUtil

java.lang.Object
  extended bycom.liferay.portal.service.ImageLocalServiceUtil

public class ImageLocalServiceUtil
extends java.lang.Object

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This class provides static methods for the com.liferay.portal.service.ImageLocalService bean. The static methods of this class calls the same methods of the bean instance. It's convenient to be able to just write one line to call a method on a bean instead of writing a lookup call and a method call.

com.liferay.portal.service.ImageLocalServiceFactory is responsible for the lookup of the bean.

Author:
Brian Wing Shun Chan
See Also:
ImageLocalService, ImageLocalServiceFactory

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

Constructor Detail

ImageLocalServiceUtil

public ImageLocalServiceUtil()
Method Detail

addImage

public static Image addImage(Image model)
                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

public static java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

public static java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
                                          int begin,
                                          int end)
                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateImage

public static Image updateImage(Image model)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

deleteImage

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

getImage

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

getImages

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

getImages

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

getImagesBySize

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

updateImage

public static 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