com.liferay.portlet.imagegallery.service.persistence
Interface IGImagePersistence
- All Superinterfaces:
- BasePersistence
@Transactional(rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
public interface IGImagePersistence
- extends BasePersistence
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
int |
countAll()
|
int |
countByCustom1ImageId(long custom1ImageId)
|
int |
countByCustom2ImageId(long custom2ImageId)
|
int |
countByF_N(long folderId,
java.lang.String name)
|
int |
countByFolderId(long folderId)
|
int |
countByLargeImageId(long largeImageId)
|
int |
countBySmallImageId(long smallImageId)
|
int |
countByUuid(java.lang.String uuid)
|
IGImage |
create(long imageId)
|
IGImage |
fetchByCustom1ImageId(long custom1ImageId)
|
IGImage |
fetchByCustom2ImageId(long custom2ImageId)
|
IGImage |
fetchByLargeImageId(long largeImageId)
|
IGImage |
fetchByPrimaryKey(long imageId)
|
IGImage |
fetchBySmallImageId(long smallImageId)
|
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 |
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_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 |
removeByLargeImageId(long largeImageId)
|
void |
removeBySmallImageId(long smallImageId)
|
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)
|
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<IGImage> findByUuid(java.lang.String uuid)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUuid
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<IGImage> findByUuid(java.lang.String uuid,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUuid
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
findByFolderId
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<IGImage> findByFolderId(long folderId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByFolderId
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<IGImage> findByFolderId(long folderId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByFolderId
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
findByLargeImageId
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
findByCustom1ImageId
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
findByCustom2ImageId
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
findByF_N
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<IGImage> findByF_N(long folderId,
java.lang.String name)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByF_N
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<IGImage> findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<IGImage> findAll(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
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
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByUuid(java.lang.String uuid)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByFolderId
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByFolderId(long folderId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countBySmallImageId
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countBySmallImageId(long smallImageId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByLargeImageId
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByLargeImageId(long largeImageId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByCustom1ImageId
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByCustom1ImageId(long custom1ImageId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByCustom2ImageId
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByCustom2ImageId(long custom2ImageId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByF_N
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByF_N(long folderId,
java.lang.String name)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countAll
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException