com.liferay.portlet.imagegallery.service.persistence
Class IGImageFinderUtil

java.lang.Object
  extended by com.liferay.portlet.imagegallery.service.persistence.IGImageFinderUtil

public class IGImageFinderUtil
extends java.lang.Object

View Source

Author:
Brian Wing Shun Chan

Constructor Summary
IGImageFinderUtil()
           
 
Method Summary
static int countByFolderIds(java.util.List<java.lang.Long> folderIds)
           
static int countByG_U(long groupId, long userId)
           
static int countByGroupId(long groupId)
           
static java.util.List<IGImage> findByG_U(long groupId, long userId, int start, int end)
           
static java.util.List<IGImage> findByGroupId(long groupId, int start, int end)
           
static java.util.List<IGImage> findByNoAssets()
           
static IGImage findByUuid_G(java.lang.String uuid, long groupId)
           
static IGImageFinder getFinder()
           
 void setFinder(IGImageFinder finder)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IGImageFinderUtil

public IGImageFinderUtil()
Method Detail

countByFolderIds

public static int countByFolderIds(java.util.List<java.lang.Long> folderIds)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByGroupId

public static int countByGroupId(long groupId)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByG_U

public static int countByG_U(long groupId,
                             long userId)
                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByGroupId

public static java.util.List<IGImage> findByGroupId(long groupId,
                                                    int start,
                                                    int end)
                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByNoAssets

public static java.util.List<IGImage> findByNoAssets()
                                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUuid_G

public static IGImage findByUuid_G(java.lang.String uuid,
                                   long groupId)
                            throws com.liferay.portal.SystemException,
                                   NoSuchImageException
Throws:
com.liferay.portal.SystemException
NoSuchImageException

findByG_U

public static java.util.List<IGImage> findByG_U(long groupId,
                                                long userId,
                                                int start,
                                                int end)
                                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getFinder

public static IGImageFinder getFinder()

setFinder

public void setFinder(IGImageFinder finder)