Liferay 6.0.3

com.liferay.portal.service.persistence
Class ImageUtil

java.lang.Object
  extended by com.liferay.portal.service.persistence.ImageUtil

public class ImageUtil
extends Object

See Also:
ImagePersistence, ImagePersistenceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Constructor Summary
ImageUtil()
           
 
Method Summary
static void cacheResult(Image image)
           
static void cacheResult(List<Image> images)
           
static void clearCache()
           
static void clearCache(Image image)
           
static int countAll()
           
static int countByLtSize(int size)
           
 long countWithDynamicQuery(DynamicQuery dynamicQuery)
           
static Image create(long imageId)
           
static Image fetchByPrimaryKey(long imageId)
           
static List<Image> findAll()
           
static List<Image> findAll(int start, int end)
           
static List<Image> findAll(int start, int end, OrderByComparator orderByComparator)
           
static Image findByLtSize_First(int size, OrderByComparator orderByComparator)
           
static Image findByLtSize_Last(int size, OrderByComparator orderByComparator)
           
static Image[] findByLtSize_PrevAndNext(long imageId, int size, OrderByComparator orderByComparator)
           
static List<Image> findByLtSize(int size)
           
static List<Image> findByLtSize(int size, int start, int end)
           
static List<Image> findByLtSize(int size, int start, int end, OrderByComparator orderByComparator)
           
static Image findByPrimaryKey(long imageId)
           
static List<Image> findWithDynamicQuery(DynamicQuery dynamicQuery)
           
static List<Image> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end)
           
static List<Image> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator)
           
static ImagePersistence getPersistence()
           
static Image remove(Image image)
           
static Image remove(long imageId)
           
static void removeAll()
           
static void removeByLtSize(int size)
           
 void setPersistence(ImagePersistence persistence)
           
static Image update(Image image, boolean merge)
           
static Image update(Image image, boolean merge, ServiceContext serviceContext)
           
static Image updateImpl(Image image, boolean merge)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageUtil

public ImageUtil()
Method Detail

clearCache

public static void clearCache()
See Also:
BasePersistence.clearCache()

clearCache

public static void clearCache(Image image)
See Also:
BasePersistence.clearCache(com.liferay.portal.model.BaseModel)

countWithDynamicQuery

public long countWithDynamicQuery(DynamicQuery dynamicQuery)
                           throws SystemException
Throws:
SystemException
See Also:
BasePersistence.countWithDynamicQuery(DynamicQuery)

findWithDynamicQuery

public static List<Image> findWithDynamicQuery(DynamicQuery dynamicQuery)
                                        throws SystemException
Throws:
SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery)

findWithDynamicQuery

public static List<Image> findWithDynamicQuery(DynamicQuery dynamicQuery,
                                               int start,
                                               int end)
                                        throws SystemException
Throws:
SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)

findWithDynamicQuery

public static List<Image> findWithDynamicQuery(DynamicQuery dynamicQuery,
                                               int start,
                                               int end,
                                               OrderByComparator orderByComparator)
                                        throws SystemException
Throws:
SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)

remove

public static Image remove(Image image)
                    throws SystemException
Throws:
SystemException
See Also:
BasePersistence.remove(com.liferay.portal.model.BaseModel)

update

public static Image update(Image image,
                           boolean merge)
                    throws SystemException
Throws:
SystemException
See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)

update

public static Image update(Image image,
                           boolean merge,
                           ServiceContext serviceContext)
                    throws SystemException
Throws:
SystemException
See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean, ServiceContext)

cacheResult

public static void cacheResult(Image image)

cacheResult

public static void cacheResult(List<Image> images)

create

public static Image create(long imageId)

remove

public static Image remove(long imageId)
                    throws NoSuchImageException,
                           SystemException
Throws:
NoSuchImageException
SystemException

updateImpl

public static Image updateImpl(Image image,
                               boolean merge)
                        throws SystemException
Throws:
SystemException

findByPrimaryKey

public static Image findByPrimaryKey(long imageId)
                              throws NoSuchImageException,
                                     SystemException
Throws:
NoSuchImageException
SystemException

fetchByPrimaryKey

public static Image fetchByPrimaryKey(long imageId)
                               throws SystemException
Throws:
SystemException

findByLtSize

public static List<Image> findByLtSize(int size)
                                throws SystemException
Throws:
SystemException

findByLtSize

public static List<Image> findByLtSize(int size,
                                       int start,
                                       int end)
                                throws SystemException
Throws:
SystemException

findByLtSize

public static List<Image> findByLtSize(int size,
                                       int start,
                                       int end,
                                       OrderByComparator orderByComparator)
                                throws SystemException
Throws:
SystemException

findByLtSize_First

public static Image findByLtSize_First(int size,
                                       OrderByComparator orderByComparator)
                                throws NoSuchImageException,
                                       SystemException
Throws:
NoSuchImageException
SystemException

findByLtSize_Last

public static Image findByLtSize_Last(int size,
                                      OrderByComparator orderByComparator)
                               throws NoSuchImageException,
                                      SystemException
Throws:
NoSuchImageException
SystemException

findByLtSize_PrevAndNext

public static Image[] findByLtSize_PrevAndNext(long imageId,
                                               int size,
                                               OrderByComparator orderByComparator)
                                        throws NoSuchImageException,
                                               SystemException
Throws:
NoSuchImageException
SystemException

findAll

public static List<Image> findAll()
                           throws SystemException
Throws:
SystemException

findAll

public static List<Image> findAll(int start,
                                  int end)
                           throws SystemException
Throws:
SystemException

findAll

public static List<Image> findAll(int start,
                                  int end,
                                  OrderByComparator orderByComparator)
                           throws SystemException
Throws:
SystemException

removeByLtSize

public static void removeByLtSize(int size)
                           throws SystemException
Throws:
SystemException

removeAll

public static void removeAll()
                      throws SystemException
Throws:
SystemException

countByLtSize

public static int countByLtSize(int size)
                         throws SystemException
Throws:
SystemException

countAll

public static int countAll()
                    throws SystemException
Throws:
SystemException

getPersistence

public static ImagePersistence getPersistence()

setPersistence

public void setPersistence(ImagePersistence persistence)

Liferay 6.0.3