com.liferay.portal.service.persistence
Interface ImagePersistence
- All Superinterfaces:
- BasePersistence<Image>
public interface ImagePersistence
- extends BasePersistence<Image>
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
- Author:
- Brian Wing Shun Chan
- See Also:
ImagePersistenceImpl
,
ImageUtil
- Generated:
Method Summary |
void |
cacheResult(Image image)
|
void |
cacheResult(java.util.List<Image> images)
|
int |
countAll()
|
int |
countBySize(int size)
|
Image |
create(long imageId)
|
Image |
fetchByPrimaryKey(long imageId)
|
java.util.List<Image> |
findAll()
|
java.util.List<Image> |
findAll(int start,
int end)
|
java.util.List<Image> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
Image |
findByPrimaryKey(long imageId)
|
Image |
findBySize_First(int size,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
Image |
findBySize_Last(int size,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
Image[] |
findBySize_PrevAndNext(long imageId,
int size,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<Image> |
findBySize(int size)
|
java.util.List<Image> |
findBySize(int size,
int start,
int end)
|
java.util.List<Image> |
findBySize(int size,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
Image |
remove(long imageId)
|
void |
removeAll()
|
void |
removeBySize(int size)
|
Image |
updateImpl(Image image,
boolean merge)
|
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
clearCache, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, getListeners, registerListener, remove, remove, unregisterListener, update |
cacheResult
void cacheResult(Image image)
cacheResult
void cacheResult(java.util.List<Image> images)
create
Image create(long imageId)
remove
Image remove(long imageId)
throws NoSuchImageException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
NoSuchImageException
com.liferay.portal.kernel.exception.SystemException
updateImpl
Image updateImpl(Image image,
boolean merge)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByPrimaryKey
Image findByPrimaryKey(long imageId)
throws NoSuchImageException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
NoSuchImageException
com.liferay.portal.kernel.exception.SystemException
fetchByPrimaryKey
Image fetchByPrimaryKey(long imageId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findBySize
java.util.List<Image> findBySize(int size)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findBySize
java.util.List<Image> findBySize(int size,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findBySize
java.util.List<Image> findBySize(int size,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findBySize_First
Image findBySize_First(int size,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws NoSuchImageException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
NoSuchImageException
com.liferay.portal.kernel.exception.SystemException
findBySize_Last
Image findBySize_Last(int size,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws NoSuchImageException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
NoSuchImageException
com.liferay.portal.kernel.exception.SystemException
findBySize_PrevAndNext
Image[] findBySize_PrevAndNext(long imageId,
int size,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws NoSuchImageException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
NoSuchImageException
com.liferay.portal.kernel.exception.SystemException
findAll
java.util.List<Image> findAll()
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findAll
java.util.List<Image> findAll(int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findAll
java.util.List<Image> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeBySize
void removeBySize(int size)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeAll
void removeAll()
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
countBySize
int countBySize(int size)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
countAll
int countAll()
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException