|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ImagePersistence
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.
ImagePersistenceImpl
,
ImageUtil
Method Summary | |
---|---|
void |
cacheResult(Image image)
|
void |
cacheResult(java.util.List<Image> images)
|
void |
clearCache()
|
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)
|
java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
Image |
remove(Image image)
|
Image |
remove(long imageId)
|
void |
removeAll()
|
void |
removeBySize(int size)
|
Image |
update(Image image)
Deprecated. Use update(Image, boolean merge) . |
Image |
update(Image image,
boolean merge)
Add, update, or merge, the entity. |
Image |
updateImpl(Image image,
boolean merge)
|
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
---|
getListeners, registerListener, unregisterListener |
Method Detail |
---|
void cacheResult(Image image)
void cacheResult(java.util.List<Image> images)
void clearCache()
clearCache
in interface BasePersistence
Image create(long imageId)
Image remove(long imageId) throws NoSuchImageException, com.liferay.portal.SystemException
NoSuchImageException
com.liferay.portal.SystemException
Image remove(Image image) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
Image update(Image image) throws com.liferay.portal.SystemException
update(Image, boolean merge)
.
com.liferay.portal.SystemException
Image update(Image image, boolean merge) throws com.liferay.portal.SystemException
image
- the entity to add, update, or mergemerge
- boolean value for whether to merge the entity. The default
value is false. Setting merge to true is more expensive and
should only be true when image is transient. See
LEP-5473 for a detailed discussion of this method.
com.liferay.portal.SystemException
Image updateImpl(Image image, boolean merge) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
Image findByPrimaryKey(long imageId) throws NoSuchImageException, com.liferay.portal.SystemException
NoSuchImageException
com.liferay.portal.SystemException
Image fetchByPrimaryKey(long imageId) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<Image> findBySize(int size) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<Image> findBySize(int size, int start, int end) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<Image> findBySize(int size, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
Image findBySize_First(int size, com.liferay.portal.kernel.util.OrderByComparator obc) throws NoSuchImageException, com.liferay.portal.SystemException
NoSuchImageException
com.liferay.portal.SystemException
Image findBySize_Last(int size, com.liferay.portal.kernel.util.OrderByComparator obc) throws NoSuchImageException, com.liferay.portal.SystemException
NoSuchImageException
com.liferay.portal.SystemException
Image[] findBySize_PrevAndNext(long imageId, int size, com.liferay.portal.kernel.util.OrderByComparator obc) throws NoSuchImageException, com.liferay.portal.SystemException
NoSuchImageException
com.liferay.portal.SystemException
java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<Image> findAll() throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<Image> findAll(int start, int end) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<Image> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void removeBySize(int size) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void removeAll() throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
int countBySize(int size) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
int countAll() throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |