Liferay 6.0.3

com.liferay.portal.service.persistence
Interface ImagePersistence

All Superinterfaces:
BasePersistence<Image>
All Known Implementing Classes:
ImagePersistenceImpl

public interface ImagePersistence
extends BasePersistence<Image>

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

Method Summary
 void cacheResult(Image image)
           
 void cacheResult(List<Image> images)
           
 int countAll()
           
 int countByLtSize(int size)
           
 Image create(long imageId)
           
 Image fetchByPrimaryKey(long imageId)
           
 List<Image> findAll()
           
 List<Image> findAll(int start, int end)
           
 List<Image> findAll(int start, int end, OrderByComparator orderByComparator)
           
 Image findByLtSize_First(int size, OrderByComparator orderByComparator)
           
 Image findByLtSize_Last(int size, OrderByComparator orderByComparator)
           
 Image[] findByLtSize_PrevAndNext(long imageId, int size, OrderByComparator orderByComparator)
           
 List<Image> findByLtSize(int size)
           
 List<Image> findByLtSize(int size, int start, int end)
           
 List<Image> findByLtSize(int size, int start, int end, OrderByComparator orderByComparator)
           
 Image findByPrimaryKey(long imageId)
           
 Image remove(long imageId)
           
 void removeAll()
           
 void removeByLtSize(int size)
           
 Image updateImpl(Image image, boolean merge)
           
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
clearCache, clearCache, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, remove, setDataSource, unregisterListener, update, update
 

Method Detail

cacheResult

void cacheResult(Image image)

cacheResult

void cacheResult(List<Image> images)

create

Image create(long imageId)

remove

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

updateImpl

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

findByPrimaryKey

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

fetchByPrimaryKey

Image fetchByPrimaryKey(long imageId)
                        throws SystemException
Throws:
SystemException

findByLtSize

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

findByLtSize

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

findByLtSize

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

findByLtSize_First

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

findByLtSize_Last

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

findByLtSize_PrevAndNext

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

findAll

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

findAll

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

findAll

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

removeByLtSize

void removeByLtSize(int size)
                    throws SystemException
Throws:
SystemException

removeAll

void removeAll()
               throws SystemException
Throws:
SystemException

countByLtSize

int countByLtSize(int size)
                  throws SystemException
Throws:
SystemException

countAll

int countAll()
             throws SystemException
Throws:
SystemException

Liferay 6.0.3