com.liferay.portlet.imagegallery.service.persistence
Class IGImageUtil
java.lang.Object
com.liferay.portlet.imagegallery.service.persistence.IGImageUtil
- public class IGImageUtil
- extends java.lang.Object
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
static int |
countAll()
|
static int |
countByFolderId(long folderId)
|
static int |
countByLargeImageId(long largeImageId)
|
static int |
countBySmallImageId(long smallImageId)
|
static int |
countByUuid(java.lang.String uuid)
|
static IGImage |
create(long imageId)
|
static IGImage |
fetchByLargeImageId(long largeImageId)
|
static IGImage |
fetchByPrimaryKey(long imageId)
|
static IGImage |
fetchBySmallImageId(long smallImageId)
|
static java.util.List |
findAll()
|
static java.util.List |
findAll(int begin,
int end)
|
static java.util.List |
findAll(int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static IGImage |
findByFolderId_First(long folderId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static IGImage |
findByFolderId_Last(long folderId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static IGImage[] |
findByFolderId_PrevAndNext(long imageId,
long folderId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List |
findByFolderId(long folderId)
|
static java.util.List |
findByFolderId(long folderId,
int begin,
int end)
|
static java.util.List |
findByFolderId(long folderId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static IGImage |
findByLargeImageId(long largeImageId)
|
static IGImage |
findByPrimaryKey(long imageId)
|
static IGImage |
findBySmallImageId(long smallImageId)
|
static IGImage |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static IGImage |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static IGImage[] |
findByUuid_PrevAndNext(long imageId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List |
findByUuid(java.lang.String uuid)
|
static java.util.List |
findByUuid(java.lang.String uuid,
int begin,
int end)
|
static java.util.List |
findByUuid(java.lang.String uuid,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List |
findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
|
static java.util.List |
findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
|
static IGImagePersistence |
getPersistence()
|
static IGImage |
remove(IGImage igImage)
|
static IGImage |
remove(long imageId)
|
static void |
removeAll()
|
static void |
removeByFolderId(long folderId)
|
static void |
removeByLargeImageId(long largeImageId)
|
static void |
removeBySmallImageId(long smallImageId)
|
static void |
removeByUuid(java.lang.String uuid)
|
void |
setPersistence(IGImagePersistence persistence)
|
static IGImage |
update(IGImage igImage)
|
static IGImage |
update(IGImage igImage,
boolean merge)
|
static IGImage |
updateImpl(IGImage igImage,
boolean merge)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IGImageUtil
public IGImageUtil()
create
public static IGImage create(long imageId)
remove
public static IGImage remove(long imageId)
throws com.liferay.portal.SystemException,
NoSuchImageException
- Throws:
com.liferay.portal.SystemException
NoSuchImageException
remove
public static IGImage remove(IGImage igImage)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public static IGImage update(IGImage igImage)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public static IGImage update(IGImage igImage,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateImpl
public static IGImage updateImpl(IGImage igImage,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
public static IGImage findByPrimaryKey(long imageId)
throws com.liferay.portal.SystemException,
NoSuchImageException
- Throws:
com.liferay.portal.SystemException
NoSuchImageException
fetchByPrimaryKey
public static IGImage fetchByPrimaryKey(long imageId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUuid
public static java.util.List findByUuid(java.lang.String uuid)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUuid
public static java.util.List findByUuid(java.lang.String uuid,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUuid
public static java.util.List findByUuid(java.lang.String uuid,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUuid_First
public static 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
public static 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
public static 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
public static java.util.List findByFolderId(long folderId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByFolderId
public static java.util.List findByFolderId(long folderId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByFolderId
public static java.util.List findByFolderId(long folderId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByFolderId_First
public static 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
public static 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
public static 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
public static IGImage findBySmallImageId(long smallImageId)
throws com.liferay.portal.SystemException,
NoSuchImageException
- Throws:
com.liferay.portal.SystemException
NoSuchImageException
fetchBySmallImageId
public static IGImage fetchBySmallImageId(long smallImageId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByLargeImageId
public static IGImage findByLargeImageId(long largeImageId)
throws com.liferay.portal.SystemException,
NoSuchImageException
- Throws:
com.liferay.portal.SystemException
NoSuchImageException
fetchByLargeImageId
public static IGImage fetchByLargeImageId(long largeImageId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
public static java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
public static java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List findAll(int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List findAll(int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByUuid
public static void removeByUuid(java.lang.String uuid)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByFolderId
public static void removeByFolderId(long folderId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeBySmallImageId
public static void removeBySmallImageId(long smallImageId)
throws com.liferay.portal.SystemException,
NoSuchImageException
- Throws:
com.liferay.portal.SystemException
NoSuchImageException
removeByLargeImageId
public static void removeByLargeImageId(long largeImageId)
throws com.liferay.portal.SystemException,
NoSuchImageException
- Throws:
com.liferay.portal.SystemException
NoSuchImageException
removeAll
public static void removeAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByUuid
public static int countByUuid(java.lang.String uuid)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByFolderId
public static int countByFolderId(long folderId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countBySmallImageId
public static int countBySmallImageId(long smallImageId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByLargeImageId
public static int countByLargeImageId(long largeImageId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countAll
public static int countAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getPersistence
public static IGImagePersistence getPersistence()
setPersistence
public void setPersistence(IGImagePersistence persistence)