com.liferay.portlet.imagegallery.service.persistence
Interface IGImagePersistence
- All Superinterfaces:
- BasePersistence
public interface IGImagePersistence
- extends BasePersistence
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
void |
cacheResult(IGImage igImage)
|
void |
cacheResult(java.util.List<IGImage> igImages)
|
void |
clearCache()
|
int |
countAll()
|
int |
countByCustom1ImageId(long custom1ImageId)
|
int |
countByCustom2ImageId(long custom2ImageId)
|
int |
countByF_N(long folderId,
java.lang.String name)
|
int |
countByFolderId(long folderId)
|
int |
countByG_U(long groupId,
long userId)
|
int |
countByGroupId(long groupId)
|
int |
countByLargeImageId(long largeImageId)
|
int |
countBySmallImageId(long smallImageId)
|
int |
countByUUID_G(java.lang.String uuid,
long groupId)
|
int |
countByUuid(java.lang.String uuid)
|
IGImage |
create(long imageId)
|
IGImage |
fetchByCustom1ImageId(long custom1ImageId)
|
IGImage |
fetchByCustom1ImageId(long custom1ImageId,
boolean retrieveFromCache)
|
IGImage |
fetchByCustom2ImageId(long custom2ImageId)
|
IGImage |
fetchByCustom2ImageId(long custom2ImageId,
boolean retrieveFromCache)
|
IGImage |
fetchByLargeImageId(long largeImageId)
|
IGImage |
fetchByLargeImageId(long largeImageId,
boolean retrieveFromCache)
|
IGImage |
fetchByPrimaryKey(long imageId)
|
IGImage |
fetchBySmallImageId(long smallImageId)
|
IGImage |
fetchBySmallImageId(long smallImageId,
boolean retrieveFromCache)
|
IGImage |
fetchByUUID_G(java.lang.String uuid,
long groupId)
|
IGImage |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean retrieveFromCache)
|
java.util.List<IGImage> |
findAll()
|
java.util.List<IGImage> |
findAll(int start,
int end)
|
java.util.List<IGImage> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
IGImage |
findByCustom1ImageId(long custom1ImageId)
|
IGImage |
findByCustom2ImageId(long custom2ImageId)
|
IGImage |
findByF_N_First(long folderId,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
IGImage |
findByF_N_Last(long folderId,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
IGImage[] |
findByF_N_PrevAndNext(long imageId,
long folderId,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<IGImage> |
findByF_N(long folderId,
java.lang.String name)
|
java.util.List<IGImage> |
findByF_N(long folderId,
java.lang.String name,
int start,
int end)
|
java.util.List<IGImage> |
findByF_N(long folderId,
java.lang.String name,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
IGImage |
findByFolderId_First(long folderId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
IGImage |
findByFolderId_Last(long folderId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
IGImage[] |
findByFolderId_PrevAndNext(long imageId,
long folderId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<IGImage> |
findByFolderId(long folderId)
|
java.util.List<IGImage> |
findByFolderId(long folderId,
int start,
int end)
|
java.util.List<IGImage> |
findByFolderId(long folderId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
IGImage |
findByG_U_First(long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
IGImage |
findByG_U_Last(long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
IGImage[] |
findByG_U_PrevAndNext(long imageId,
long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<IGImage> |
findByG_U(long groupId,
long userId)
|
java.util.List<IGImage> |
findByG_U(long groupId,
long userId,
int start,
int end)
|
java.util.List<IGImage> |
findByG_U(long groupId,
long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
IGImage |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
IGImage |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
IGImage[] |
findByGroupId_PrevAndNext(long imageId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<IGImage> |
findByGroupId(long groupId)
|
java.util.List<IGImage> |
findByGroupId(long groupId,
int start,
int end)
|
java.util.List<IGImage> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
IGImage |
findByLargeImageId(long largeImageId)
|
IGImage |
findByPrimaryKey(long imageId)
|
IGImage |
findBySmallImageId(long smallImageId)
|
IGImage |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
IGImage |
findByUUID_G(java.lang.String uuid,
long groupId)
|
IGImage |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
IGImage[] |
findByUuid_PrevAndNext(long imageId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<IGImage> |
findByUuid(java.lang.String uuid)
|
java.util.List<IGImage> |
findByUuid(java.lang.String uuid,
int start,
int end)
|
java.util.List<IGImage> |
findByUuid(java.lang.String uuid,
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)
|
IGImage |
remove(IGImage igImage)
|
IGImage |
remove(long imageId)
|
void |
removeAll()
|
void |
removeByCustom1ImageId(long custom1ImageId)
|
void |
removeByCustom2ImageId(long custom2ImageId)
|
void |
removeByF_N(long folderId,
java.lang.String name)
|
void |
removeByFolderId(long folderId)
|
void |
removeByG_U(long groupId,
long userId)
|
void |
removeByGroupId(long groupId)
|
void |
removeByLargeImageId(long largeImageId)
|
void |
removeBySmallImageId(long smallImageId)
|
void |
removeByUUID_G(java.lang.String uuid,
long groupId)
|
void |
removeByUuid(java.lang.String uuid)
|
IGImage |
update(IGImage igImage)
Deprecated. Use update(IGImage igImage, boolean merge) . |
IGImage |
update(IGImage igImage,
boolean merge)
Add, update, or merge, the entity. |
IGImage |
updateImpl(IGImage igImage,
boolean merge)
|
cacheResult
void cacheResult(IGImage igImage)
cacheResult
void cacheResult(java.util.List<IGImage> igImages)
clearCache
void clearCache()
- Specified by:
clearCache
in interface BasePersistence
create
IGImage create(long imageId)
remove
IGImage remove(long imageId)
throws com.liferay.portal.SystemException,
NoSuchImageException
- Throws:
com.liferay.portal.SystemException
NoSuchImageException
remove
IGImage remove(IGImage igImage)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
IGImage update(IGImage igImage)
throws com.liferay.portal.SystemException
- Deprecated. Use
update(IGImage igImage, boolean merge)
.
- Throws:
com.liferay.portal.SystemException
update
IGImage update(IGImage igImage,
boolean merge)
throws com.liferay.portal.SystemException
- Add, update, or merge, the entity. This method also calls the model
listeners to trigger the proper events associated with adding, deleting,
or updating an entity.
- Parameters:
igImage
- 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 igImage is
transient. See LEP-5473 for a detailed discussion of this
method.
- Returns:
- true if the portlet can be displayed via Ajax
- Throws:
com.liferay.portal.SystemException
updateImpl
IGImage updateImpl(IGImage igImage,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
IGImage findByPrimaryKey(long imageId)
throws com.liferay.portal.SystemException,
NoSuchImageException
- Throws:
com.liferay.portal.SystemException
NoSuchImageException
fetchByPrimaryKey
IGImage fetchByPrimaryKey(long imageId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUuid
java.util.List<IGImage> findByUuid(java.lang.String uuid)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUuid
java.util.List<IGImage> findByUuid(java.lang.String uuid,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUuid
java.util.List<IGImage> findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUuid_First
IGImage findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchImageException
- Throws:
com.liferay.portal.SystemException
NoSuchImageException
findByUuid_Last
IGImage findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchImageException
- Throws:
com.liferay.portal.SystemException
NoSuchImageException
findByUuid_PrevAndNext
IGImage[] findByUuid_PrevAndNext(long imageId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchImageException
- Throws:
com.liferay.portal.SystemException
NoSuchImageException
findByUUID_G
IGImage findByUUID_G(java.lang.String uuid,
long groupId)
throws com.liferay.portal.SystemException,
NoSuchImageException
- Throws:
com.liferay.portal.SystemException
NoSuchImageException
fetchByUUID_G
IGImage fetchByUUID_G(java.lang.String uuid,
long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
fetchByUUID_G
IGImage fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean retrieveFromCache)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId
java.util.List<IGImage> findByGroupId(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId
java.util.List<IGImage> findByGroupId(long groupId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId
java.util.List<IGImage> findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId_First
IGImage findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchImageException
- Throws:
com.liferay.portal.SystemException
NoSuchImageException
findByGroupId_Last
IGImage findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchImageException
- Throws:
com.liferay.portal.SystemException
NoSuchImageException
findByGroupId_PrevAndNext
IGImage[] findByGroupId_PrevAndNext(long imageId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchImageException
- Throws:
com.liferay.portal.SystemException
NoSuchImageException
findByFolderId
java.util.List<IGImage> findByFolderId(long folderId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByFolderId
java.util.List<IGImage> findByFolderId(long folderId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByFolderId
java.util.List<IGImage> findByFolderId(long folderId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByFolderId_First
IGImage findByFolderId_First(long folderId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchImageException
- Throws:
com.liferay.portal.SystemException
NoSuchImageException
findByFolderId_Last
IGImage findByFolderId_Last(long folderId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchImageException
- Throws:
com.liferay.portal.SystemException
NoSuchImageException
findByFolderId_PrevAndNext
IGImage[] findByFolderId_PrevAndNext(long imageId,
long folderId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchImageException
- Throws:
com.liferay.portal.SystemException
NoSuchImageException
findBySmallImageId
IGImage findBySmallImageId(long smallImageId)
throws com.liferay.portal.SystemException,
NoSuchImageException
- Throws:
com.liferay.portal.SystemException
NoSuchImageException
fetchBySmallImageId
IGImage fetchBySmallImageId(long smallImageId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
fetchBySmallImageId
IGImage fetchBySmallImageId(long smallImageId,
boolean retrieveFromCache)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByLargeImageId
IGImage findByLargeImageId(long largeImageId)
throws com.liferay.portal.SystemException,
NoSuchImageException
- Throws:
com.liferay.portal.SystemException
NoSuchImageException
fetchByLargeImageId
IGImage fetchByLargeImageId(long largeImageId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
fetchByLargeImageId
IGImage fetchByLargeImageId(long largeImageId,
boolean retrieveFromCache)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCustom1ImageId
IGImage findByCustom1ImageId(long custom1ImageId)
throws com.liferay.portal.SystemException,
NoSuchImageException
- Throws:
com.liferay.portal.SystemException
NoSuchImageException
fetchByCustom1ImageId
IGImage fetchByCustom1ImageId(long custom1ImageId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
fetchByCustom1ImageId
IGImage fetchByCustom1ImageId(long custom1ImageId,
boolean retrieveFromCache)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCustom2ImageId
IGImage findByCustom2ImageId(long custom2ImageId)
throws com.liferay.portal.SystemException,
NoSuchImageException
- Throws:
com.liferay.portal.SystemException
NoSuchImageException
fetchByCustom2ImageId
IGImage fetchByCustom2ImageId(long custom2ImageId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
fetchByCustom2ImageId
IGImage fetchByCustom2ImageId(long custom2ImageId,
boolean retrieveFromCache)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_U
java.util.List<IGImage> findByG_U(long groupId,
long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_U
java.util.List<IGImage> findByG_U(long groupId,
long userId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_U
java.util.List<IGImage> findByG_U(long groupId,
long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_U_First
IGImage findByG_U_First(long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchImageException
- Throws:
com.liferay.portal.SystemException
NoSuchImageException
findByG_U_Last
IGImage findByG_U_Last(long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchImageException
- Throws:
com.liferay.portal.SystemException
NoSuchImageException
findByG_U_PrevAndNext
IGImage[] findByG_U_PrevAndNext(long imageId,
long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchImageException
- Throws:
com.liferay.portal.SystemException
NoSuchImageException
findByF_N
java.util.List<IGImage> findByF_N(long folderId,
java.lang.String name)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByF_N
java.util.List<IGImage> findByF_N(long folderId,
java.lang.String name,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByF_N
java.util.List<IGImage> findByF_N(long folderId,
java.lang.String name,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByF_N_First
IGImage findByF_N_First(long folderId,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchImageException
- Throws:
com.liferay.portal.SystemException
NoSuchImageException
findByF_N_Last
IGImage findByF_N_Last(long folderId,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchImageException
- Throws:
com.liferay.portal.SystemException
NoSuchImageException
findByF_N_PrevAndNext
IGImage[] findByF_N_PrevAndNext(long imageId,
long folderId,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchImageException
- Throws:
com.liferay.portal.SystemException
NoSuchImageException
findWithDynamicQuery
java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
java.util.List<IGImage> findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
java.util.List<IGImage> findAll(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
java.util.List<IGImage> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByUuid
void removeByUuid(java.lang.String uuid)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByUUID_G
void removeByUUID_G(java.lang.String uuid,
long groupId)
throws com.liferay.portal.SystemException,
NoSuchImageException
- Throws:
com.liferay.portal.SystemException
NoSuchImageException
removeByGroupId
void removeByGroupId(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByFolderId
void removeByFolderId(long folderId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeBySmallImageId
void removeBySmallImageId(long smallImageId)
throws com.liferay.portal.SystemException,
NoSuchImageException
- Throws:
com.liferay.portal.SystemException
NoSuchImageException
removeByLargeImageId
void removeByLargeImageId(long largeImageId)
throws com.liferay.portal.SystemException,
NoSuchImageException
- Throws:
com.liferay.portal.SystemException
NoSuchImageException
removeByCustom1ImageId
void removeByCustom1ImageId(long custom1ImageId)
throws com.liferay.portal.SystemException,
NoSuchImageException
- Throws:
com.liferay.portal.SystemException
NoSuchImageException
removeByCustom2ImageId
void removeByCustom2ImageId(long custom2ImageId)
throws com.liferay.portal.SystemException,
NoSuchImageException
- Throws:
com.liferay.portal.SystemException
NoSuchImageException
removeByG_U
void removeByG_U(long groupId,
long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByF_N
void removeByF_N(long folderId,
java.lang.String name)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeAll
void removeAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByUuid
int countByUuid(java.lang.String uuid)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByUUID_G
int countByUUID_G(java.lang.String uuid,
long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByGroupId
int countByGroupId(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByFolderId
int countByFolderId(long folderId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countBySmallImageId
int countBySmallImageId(long smallImageId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByLargeImageId
int countByLargeImageId(long largeImageId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByCustom1ImageId
int countByCustom1ImageId(long custom1ImageId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByCustom2ImageId
int countByCustom2ImageId(long custom2ImageId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByG_U
int countByG_U(long groupId,
long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByF_N
int countByF_N(long folderId,
java.lang.String name)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countAll
int countAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException