Liferay 6.0.5

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

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

public class IGImageUtil
extends Object

The persistence utility for the i g image service. This utility wraps IGImagePersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.

Never modify this class directly. Modify service.xml and rerun ServiceBuilder to regenerate this class.

Caching information and settings can be found in portal.properties

See Also:
IGImagePersistence, IGImagePersistenceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Constructor Summary
IGImageUtil()
           
 
Method Summary
static void cacheResult(IGImage igImage)
          Caches the i g image in the entity cache if it is enabled.
static void cacheResult(List<IGImage> igImages)
          Caches the i g images in the entity cache if it is enabled.
static void clearCache()
           
static void clearCache(IGImage igImage)
           
static int countAll()
          Counts all the i g images.
static int countByCustom1ImageId(long custom1ImageId)
          Counts all the i g images where custom1ImageId = ?.
static int countByCustom2ImageId(long custom2ImageId)
          Counts all the i g images where custom2ImageId = ?.
static int countByG_F_N(long groupId, long folderId, String name)
          Counts all the i g images where groupId = ? and folderId = ? and name = ?.
static int countByG_F(long groupId, long folderId)
          Counts all the i g images where groupId = ? and folderId = ?.
static int countByG_F(long groupId, long[] folderIds)
          Counts all the i g images where groupId = ? and folderId = any ?.
static int countByG_U(long groupId, long userId)
          Counts all the i g images where groupId = ? and userId = ?.
static int countByGroupId(long groupId)
          Counts all the i g images where groupId = ?.
static int countByLargeImageId(long largeImageId)
          Counts all the i g images where largeImageId = ?.
static int countBySmallImageId(long smallImageId)
          Counts all the i g images where smallImageId = ?.
static int countByUUID_G(String uuid, long groupId)
          Counts all the i g images where uuid = ? and groupId = ?.
static int countByUuid(String uuid)
          Counts all the i g images where uuid = ?.
 long countWithDynamicQuery(DynamicQuery dynamicQuery)
           
static IGImage create(long imageId)
          Creates a new i g image with the primary key.
static IGImage fetchByCustom1ImageId(long custom1ImageId)
          Finds the i g image where custom1ImageId = ? or returns null if it could not be found.
static IGImage fetchByCustom1ImageId(long custom1ImageId, boolean retrieveFromCache)
          Finds the i g image where custom1ImageId = ? or returns null if it could not be found, optionally using the finder cache.
static IGImage fetchByCustom2ImageId(long custom2ImageId)
          Finds the i g image where custom2ImageId = ? or returns null if it could not be found.
static IGImage fetchByCustom2ImageId(long custom2ImageId, boolean retrieveFromCache)
          Finds the i g image where custom2ImageId = ? or returns null if it could not be found, optionally using the finder cache.
static IGImage fetchByLargeImageId(long largeImageId)
          Finds the i g image where largeImageId = ? or returns null if it could not be found.
static IGImage fetchByLargeImageId(long largeImageId, boolean retrieveFromCache)
          Finds the i g image where largeImageId = ? or returns null if it could not be found, optionally using the finder cache.
static IGImage fetchByPrimaryKey(long imageId)
          Finds the i g image with the primary key or returns null if it could not be found.
static IGImage fetchBySmallImageId(long smallImageId)
          Finds the i g image where smallImageId = ? or returns null if it could not be found.
static IGImage fetchBySmallImageId(long smallImageId, boolean retrieveFromCache)
          Finds the i g image where smallImageId = ? or returns null if it could not be found, optionally using the finder cache.
static IGImage fetchByUUID_G(String uuid, long groupId)
          Finds the i g image where uuid = ? and groupId = ? or returns null if it could not be found.
static IGImage fetchByUUID_G(String uuid, long groupId, boolean retrieveFromCache)
          Finds the i g image where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
static int filterCountByG_F_N(long groupId, long folderId, String name)
          Filters by the user's permissions and counts all the i g images where groupId = ? and folderId = ? and name = ?.
static int filterCountByG_F(long groupId, long folderId)
          Filters by the user's permissions and counts all the i g images where groupId = ? and folderId = ?.
static int filterCountByG_F(long groupId, long[] folderIds)
          Filters by the user's permissions and counts all the i g images where groupId = ? and folderId = any ?.
static int filterCountByG_U(long groupId, long userId)
          Filters by the user's permissions and counts all the i g images where groupId = ? and userId = ?.
static int filterCountByGroupId(long groupId)
          Filters by the user's permissions and counts all the i g images where groupId = ?.
static List<IGImage> filterFindByG_F_N(long groupId, long folderId, String name)
          Filters by the user's permissions and finds all the i g images where groupId = ? and folderId = ? and name = ?.
static List<IGImage> filterFindByG_F_N(long groupId, long folderId, String name, int start, int end)
          Filters by the user's permissions and finds a range of all the i g images where groupId = ? and folderId = ? and name = ?.
static List<IGImage> filterFindByG_F_N(long groupId, long folderId, String name, int start, int end, OrderByComparator orderByComparator)
          Filters by the user's permissions and finds an ordered range of all the i g images where groupId = ? and folderId = ? and name = ?.
static List<IGImage> filterFindByG_F(long groupId, long folderId)
          Filters by the user's permissions and finds all the i g images where groupId = ? and folderId = ?.
static List<IGImage> filterFindByG_F(long groupId, long[] folderIds)
          Filters by the user's permissions and finds all the i g images where groupId = ? and folderId = any ?.
static List<IGImage> filterFindByG_F(long groupId, long[] folderIds, int start, int end)
          Filters by the user's permissions and finds a range of all the i g images where groupId = ? and folderId = any ?.
static List<IGImage> filterFindByG_F(long groupId, long[] folderIds, int start, int end, OrderByComparator orderByComparator)
          Filters by the user's permissions and finds an ordered range of all the i g images where groupId = ? and folderId = any ?.
static List<IGImage> filterFindByG_F(long groupId, long folderId, int start, int end)
          Filters by the user's permissions and finds a range of all the i g images where groupId = ? and folderId = ?.
static List<IGImage> filterFindByG_F(long groupId, long folderId, int start, int end, OrderByComparator orderByComparator)
          Filters by the user's permissions and finds an ordered range of all the i g images where groupId = ? and folderId = ?.
static List<IGImage> filterFindByG_U(long groupId, long userId)
          Filters by the user's permissions and finds all the i g images where groupId = ? and userId = ?.
static List<IGImage> filterFindByG_U(long groupId, long userId, int start, int end)
          Filters by the user's permissions and finds a range of all the i g images where groupId = ? and userId = ?.
static List<IGImage> filterFindByG_U(long groupId, long userId, int start, int end, OrderByComparator orderByComparator)
          Filters by the user's permissions and finds an ordered range of all the i g images where groupId = ? and userId = ?.
static List<IGImage> filterFindByGroupId(long groupId)
          Filters by the user's permissions and finds all the i g images where groupId = ?.
static List<IGImage> filterFindByGroupId(long groupId, int start, int end)
          Filters by the user's permissions and finds a range of all the i g images where groupId = ?.
static List<IGImage> filterFindByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
          Filters by the user's permissions and finds an ordered range of all the i g images where groupId = ?.
static List<IGImage> findAll()
          Finds all the i g images.
static List<IGImage> findAll(int start, int end)
          Finds a range of all the i g images.
static List<IGImage> findAll(int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the i g images.
static IGImage findByCustom1ImageId(long custom1ImageId)
          Finds the i g image where custom1ImageId = ? or throws a NoSuchImageException if it could not be found.
static IGImage findByCustom2ImageId(long custom2ImageId)
          Finds the i g image where custom2ImageId = ? or throws a NoSuchImageException if it could not be found.
static IGImage findByG_F_First(long groupId, long folderId, OrderByComparator orderByComparator)
          Finds the first i g image in the ordered set where groupId = ? and folderId = ?.
static IGImage findByG_F_Last(long groupId, long folderId, OrderByComparator orderByComparator)
          Finds the last i g image in the ordered set where groupId = ? and folderId = ?.
static IGImage findByG_F_N_First(long groupId, long folderId, String name, OrderByComparator orderByComparator)
          Finds the first i g image in the ordered set where groupId = ? and folderId = ? and name = ?.
static IGImage findByG_F_N_Last(long groupId, long folderId, String name, OrderByComparator orderByComparator)
          Finds the last i g image in the ordered set where groupId = ? and folderId = ? and name = ?.
static IGImage[] findByG_F_N_PrevAndNext(long imageId, long groupId, long folderId, String name, OrderByComparator orderByComparator)
          Finds the i g images before and after the current i g image in the ordered set where groupId = ? and folderId = ? and name = ?.
static List<IGImage> findByG_F_N(long groupId, long folderId, String name)
          Finds all the i g images where groupId = ? and folderId = ? and name = ?.
static List<IGImage> findByG_F_N(long groupId, long folderId, String name, int start, int end)
          Finds a range of all the i g images where groupId = ? and folderId = ? and name = ?.
static List<IGImage> findByG_F_N(long groupId, long folderId, String name, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the i g images where groupId = ? and folderId = ? and name = ?.
static IGImage[] findByG_F_PrevAndNext(long imageId, long groupId, long folderId, OrderByComparator orderByComparator)
          Finds the i g images before and after the current i g image in the ordered set where groupId = ? and folderId = ?.
static List<IGImage> findByG_F(long groupId, long folderId)
          Finds all the i g images where groupId = ? and folderId = ?.
static List<IGImage> findByG_F(long groupId, long[] folderIds)
          Finds all the i g images where groupId = ? and folderId = any ?.
static List<IGImage> findByG_F(long groupId, long[] folderIds, int start, int end)
          Finds a range of all the i g images where groupId = ? and folderId = any ?.
static List<IGImage> findByG_F(long groupId, long[] folderIds, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the i g images where groupId = ? and folderId = any ?.
static List<IGImage> findByG_F(long groupId, long folderId, int start, int end)
          Finds a range of all the i g images where groupId = ? and folderId = ?.
static List<IGImage> findByG_F(long groupId, long folderId, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the i g images where groupId = ? and folderId = ?.
static IGImage findByG_U_First(long groupId, long userId, OrderByComparator orderByComparator)
          Finds the first i g image in the ordered set where groupId = ? and userId = ?.
static IGImage findByG_U_Last(long groupId, long userId, OrderByComparator orderByComparator)
          Finds the last i g image in the ordered set where groupId = ? and userId = ?.
static IGImage[] findByG_U_PrevAndNext(long imageId, long groupId, long userId, OrderByComparator orderByComparator)
          Finds the i g images before and after the current i g image in the ordered set where groupId = ? and userId = ?.
static List<IGImage> findByG_U(long groupId, long userId)
          Finds all the i g images where groupId = ? and userId = ?.
static List<IGImage> findByG_U(long groupId, long userId, int start, int end)
          Finds a range of all the i g images where groupId = ? and userId = ?.
static List<IGImage> findByG_U(long groupId, long userId, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the i g images where groupId = ? and userId = ?.
static IGImage findByGroupId_First(long groupId, OrderByComparator orderByComparator)
          Finds the first i g image in the ordered set where groupId = ?.
static IGImage findByGroupId_Last(long groupId, OrderByComparator orderByComparator)
          Finds the last i g image in the ordered set where groupId = ?.
static IGImage[] findByGroupId_PrevAndNext(long imageId, long groupId, OrderByComparator orderByComparator)
          Finds the i g images before and after the current i g image in the ordered set where groupId = ?.
static List<IGImage> findByGroupId(long groupId)
          Finds all the i g images where groupId = ?.
static List<IGImage> findByGroupId(long groupId, int start, int end)
          Finds a range of all the i g images where groupId = ?.
static List<IGImage> findByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the i g images where groupId = ?.
static IGImage findByLargeImageId(long largeImageId)
          Finds the i g image where largeImageId = ? or throws a NoSuchImageException if it could not be found.
static IGImage findByPrimaryKey(long imageId)
          Finds the i g image with the primary key or throws a NoSuchImageException if it could not be found.
static IGImage findBySmallImageId(long smallImageId)
          Finds the i g image where smallImageId = ? or throws a NoSuchImageException if it could not be found.
static IGImage findByUuid_First(String uuid, OrderByComparator orderByComparator)
          Finds the first i g image in the ordered set where uuid = ?.
static IGImage findByUUID_G(String uuid, long groupId)
          Finds the i g image where uuid = ? and groupId = ? or throws a NoSuchImageException if it could not be found.
static IGImage findByUuid_Last(String uuid, OrderByComparator orderByComparator)
          Finds the last i g image in the ordered set where uuid = ?.
static IGImage[] findByUuid_PrevAndNext(long imageId, String uuid, OrderByComparator orderByComparator)
          Finds the i g images before and after the current i g image in the ordered set where uuid = ?.
static List<IGImage> findByUuid(String uuid)
          Finds all the i g images where uuid = ?.
static List<IGImage> findByUuid(String uuid, int start, int end)
          Finds a range of all the i g images where uuid = ?.
static List<IGImage> findByUuid(String uuid, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the i g images where uuid = ?.
static List<IGImage> findWithDynamicQuery(DynamicQuery dynamicQuery)
           
static List<IGImage> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end)
           
static List<IGImage> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator)
           
static IGImagePersistence getPersistence()
           
static IGImage remove(IGImage igImage)
           
static IGImage remove(long imageId)
          Removes the i g image with the primary key from the database.
static void removeAll()
          Removes all the i g images from the database.
static void removeByCustom1ImageId(long custom1ImageId)
          Removes the i g image where custom1ImageId = ? from the database.
static void removeByCustom2ImageId(long custom2ImageId)
          Removes the i g image where custom2ImageId = ? from the database.
static void removeByG_F_N(long groupId, long folderId, String name)
          Removes all the i g images where groupId = ? and folderId = ? and name = ? from the database.
static void removeByG_F(long groupId, long folderId)
          Removes all the i g images where groupId = ? and folderId = ? from the database.
static void removeByG_U(long groupId, long userId)
          Removes all the i g images where groupId = ? and userId = ? from the database.
static void removeByGroupId(long groupId)
          Removes all the i g images where groupId = ? from the database.
static void removeByLargeImageId(long largeImageId)
          Removes the i g image where largeImageId = ? from the database.
static void removeBySmallImageId(long smallImageId)
          Removes the i g image where smallImageId = ? from the database.
static void removeByUUID_G(String uuid, long groupId)
          Removes the i g image where uuid = ? and groupId = ? from the database.
static void removeByUuid(String uuid)
          Removes all the i g images where uuid = ? from the database.
 void setPersistence(IGImagePersistence persistence)
           
static IGImage update(IGImage igImage, boolean merge)
           
static IGImage update(IGImage igImage, boolean merge, ServiceContext serviceContext)
           
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
 

Constructor Detail

IGImageUtil

public IGImageUtil()
Method Detail

clearCache

public static void clearCache()
See Also:
BasePersistence.clearCache()

clearCache

public static void clearCache(IGImage igImage)
See Also:
BasePersistence.clearCache(com.liferay.portal.model.BaseModel)

countWithDynamicQuery

public long countWithDynamicQuery(DynamicQuery dynamicQuery)
                           throws SystemException
Throws:
SystemException
See Also:
BasePersistence.countWithDynamicQuery(DynamicQuery)

findWithDynamicQuery

public static List<IGImage> findWithDynamicQuery(DynamicQuery dynamicQuery)
                                          throws SystemException
Throws:
SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery)

findWithDynamicQuery

public static List<IGImage> findWithDynamicQuery(DynamicQuery dynamicQuery,
                                                 int start,
                                                 int end)
                                          throws SystemException
Throws:
SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)

findWithDynamicQuery

public static List<IGImage> findWithDynamicQuery(DynamicQuery dynamicQuery,
                                                 int start,
                                                 int end,
                                                 OrderByComparator orderByComparator)
                                          throws SystemException
Throws:
SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)

remove

public static IGImage remove(IGImage igImage)
                      throws SystemException
Throws:
SystemException
See Also:
BasePersistence.remove(com.liferay.portal.model.BaseModel)

update

public static IGImage update(IGImage igImage,
                             boolean merge)
                      throws SystemException
Throws:
SystemException
See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)

update

public static IGImage update(IGImage igImage,
                             boolean merge,
                             ServiceContext serviceContext)
                      throws SystemException
Throws:
SystemException
See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean, ServiceContext)

cacheResult

public static void cacheResult(IGImage igImage)
Caches the i g image in the entity cache if it is enabled.

Parameters:
igImage - the i g image to cache

cacheResult

public static void cacheResult(List<IGImage> igImages)
Caches the i g images in the entity cache if it is enabled.

Parameters:
igImages - the i g images to cache

create

public static IGImage create(long imageId)
Creates a new i g image with the primary key. Does not add the i g image to the database.

Parameters:
imageId - the primary key for the new i g image
Returns:
the new i g image

remove

public static IGImage remove(long imageId)
                      throws SystemException,
                             NoSuchImageException
Removes the i g image with the primary key from the database. Also notifies the appropriate model listeners.

Parameters:
imageId - the primary key of the i g image to remove
Returns:
the i g image that was removed
Throws:
NoSuchImageException - if a i g image with the primary key could not be found
SystemException - if a system exception occurred

updateImpl

public static IGImage updateImpl(IGImage igImage,
                                 boolean merge)
                          throws SystemException
Throws:
SystemException

findByPrimaryKey

public static IGImage findByPrimaryKey(long imageId)
                                throws SystemException,
                                       NoSuchImageException
Finds the i g image with the primary key or throws a NoSuchImageException if it could not be found.

Parameters:
imageId - the primary key of the i g image to find
Returns:
the i g image
Throws:
NoSuchImageException - if a i g image with the primary key could not be found
SystemException - if a system exception occurred

fetchByPrimaryKey

public static IGImage fetchByPrimaryKey(long imageId)
                                 throws SystemException
Finds the i g image with the primary key or returns null if it could not be found.

Parameters:
imageId - the primary key of the i g image to find
Returns:
the i g image, or null if a i g image with the primary key could not be found
Throws:
SystemException - if a system exception occurred

findByUuid

public static List<IGImage> findByUuid(String uuid)
                                throws SystemException
Finds all the i g images where uuid = ?.

Parameters:
uuid - the uuid to search with
Returns:
the matching i g images
Throws:
SystemException - if a system exception occurred

findByUuid

public static List<IGImage> findByUuid(String uuid,
                                       int start,
                                       int end)
                                throws SystemException
Finds a range of all the i g images where uuid = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
uuid - the uuid to search with
start - the lower bound of the range of i g images to return
end - the upper bound of the range of i g images to return (not inclusive)
Returns:
the range of matching i g images
Throws:
SystemException - if a system exception occurred

findByUuid

public static List<IGImage> findByUuid(String uuid,
                                       int start,
                                       int end,
                                       OrderByComparator orderByComparator)
                                throws SystemException
Finds an ordered range of all the i g images where uuid = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
uuid - the uuid to search with
start - the lower bound of the range of i g images to return
end - the upper bound of the range of i g images to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching i g images
Throws:
SystemException - if a system exception occurred

findByUuid_First

public static IGImage findByUuid_First(String uuid,
                                       OrderByComparator orderByComparator)
                                throws SystemException,
                                       NoSuchImageException
Finds the first i g image in the ordered set where uuid = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
uuid - the uuid to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching i g image
Throws:
NoSuchImageException - if a matching i g image could not be found
SystemException - if a system exception occurred

findByUuid_Last

public static IGImage findByUuid_Last(String uuid,
                                      OrderByComparator orderByComparator)
                               throws SystemException,
                                      NoSuchImageException
Finds the last i g image in the ordered set where uuid = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
uuid - the uuid to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching i g image
Throws:
NoSuchImageException - if a matching i g image could not be found
SystemException - if a system exception occurred

findByUuid_PrevAndNext

public static IGImage[] findByUuid_PrevAndNext(long imageId,
                                               String uuid,
                                               OrderByComparator orderByComparator)
                                        throws SystemException,
                                               NoSuchImageException
Finds the i g images before and after the current i g image in the ordered set where uuid = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
imageId - the primary key of the current i g image
uuid - the uuid to search with
orderByComparator - the comparator to order the set by
Returns:
the previous, current, and next i g image
Throws:
NoSuchImageException - if a i g image with the primary key could not be found
SystemException - if a system exception occurred

findByUUID_G

public static IGImage findByUUID_G(String uuid,
                                   long groupId)
                            throws SystemException,
                                   NoSuchImageException
Finds the i g image where uuid = ? and groupId = ? or throws a NoSuchImageException if it could not be found.

Parameters:
uuid - the uuid to search with
groupId - the group id to search with
Returns:
the matching i g image
Throws:
NoSuchImageException - if a matching i g image could not be found
SystemException - if a system exception occurred

fetchByUUID_G

public static IGImage fetchByUUID_G(String uuid,
                                    long groupId)
                             throws SystemException
Finds the i g image where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache.

Parameters:
uuid - the uuid to search with
groupId - the group id to search with
Returns:
the matching i g image, or null if a matching i g image could not be found
Throws:
SystemException - if a system exception occurred

fetchByUUID_G

public static IGImage fetchByUUID_G(String uuid,
                                    long groupId,
                                    boolean retrieveFromCache)
                             throws SystemException
Finds the i g image where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.

Parameters:
uuid - the uuid to search with
groupId - the group id to search with
Returns:
the matching i g image, or null if a matching i g image could not be found
Throws:
SystemException - if a system exception occurred

findByGroupId

public static List<IGImage> findByGroupId(long groupId)
                                   throws SystemException
Finds all the i g images where groupId = ?.

Parameters:
groupId - the group id to search with
Returns:
the matching i g images
Throws:
SystemException - if a system exception occurred

findByGroupId

public static List<IGImage> findByGroupId(long groupId,
                                          int start,
                                          int end)
                                   throws SystemException
Finds a range of all the i g images where groupId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
groupId - the group id to search with
start - the lower bound of the range of i g images to return
end - the upper bound of the range of i g images to return (not inclusive)
Returns:
the range of matching i g images
Throws:
SystemException - if a system exception occurred

findByGroupId

public static List<IGImage> findByGroupId(long groupId,
                                          int start,
                                          int end,
                                          OrderByComparator orderByComparator)
                                   throws SystemException
Finds an ordered range of all the i g images where groupId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
groupId - the group id to search with
start - the lower bound of the range of i g images to return
end - the upper bound of the range of i g images to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching i g images
Throws:
SystemException - if a system exception occurred

findByGroupId_First

public static IGImage findByGroupId_First(long groupId,
                                          OrderByComparator orderByComparator)
                                   throws SystemException,
                                          NoSuchImageException
Finds the first i g image in the ordered set where groupId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
groupId - the group id to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching i g image
Throws:
NoSuchImageException - if a matching i g image could not be found
SystemException - if a system exception occurred

findByGroupId_Last

public static IGImage findByGroupId_Last(long groupId,
                                         OrderByComparator orderByComparator)
                                  throws SystemException,
                                         NoSuchImageException
Finds the last i g image in the ordered set where groupId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
groupId - the group id to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching i g image
Throws:
NoSuchImageException - if a matching i g image could not be found
SystemException - if a system exception occurred

findByGroupId_PrevAndNext

public static IGImage[] findByGroupId_PrevAndNext(long imageId,
                                                  long groupId,
                                                  OrderByComparator orderByComparator)
                                           throws SystemException,
                                                  NoSuchImageException
Finds the i g images before and after the current i g image in the ordered set where groupId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
imageId - the primary key of the current i g image
groupId - the group id to search with
orderByComparator - the comparator to order the set by
Returns:
the previous, current, and next i g image
Throws:
NoSuchImageException - if a i g image with the primary key could not be found
SystemException - if a system exception occurred

filterFindByGroupId

public static List<IGImage> filterFindByGroupId(long groupId)
                                         throws SystemException
Filters by the user's permissions and finds all the i g images where groupId = ?.

Parameters:
groupId - the group id to search with
Returns:
the matching i g images that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByGroupId

public static List<IGImage> filterFindByGroupId(long groupId,
                                                int start,
                                                int end)
                                         throws SystemException
Filters by the user's permissions and finds a range of all the i g images where groupId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
groupId - the group id to search with
start - the lower bound of the range of i g images to return
end - the upper bound of the range of i g images to return (not inclusive)
Returns:
the range of matching i g images that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByGroupId

public static List<IGImage> filterFindByGroupId(long groupId,
                                                int start,
                                                int end,
                                                OrderByComparator orderByComparator)
                                         throws SystemException
Filters by the user's permissions and finds an ordered range of all the i g images where groupId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
groupId - the group id to search with
start - the lower bound of the range of i g images to return
end - the upper bound of the range of i g images to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching i g images that the user has permission to view
Throws:
SystemException - if a system exception occurred

findBySmallImageId

public static IGImage findBySmallImageId(long smallImageId)
                                  throws SystemException,
                                         NoSuchImageException
Finds the i g image where smallImageId = ? or throws a NoSuchImageException if it could not be found.

Parameters:
smallImageId - the small image id to search with
Returns:
the matching i g image
Throws:
NoSuchImageException - if a matching i g image could not be found
SystemException - if a system exception occurred

fetchBySmallImageId

public static IGImage fetchBySmallImageId(long smallImageId)
                                   throws SystemException
Finds the i g image where smallImageId = ? or returns null if it could not be found. Uses the finder cache.

Parameters:
smallImageId - the small image id to search with
Returns:
the matching i g image, or null if a matching i g image could not be found
Throws:
SystemException - if a system exception occurred

fetchBySmallImageId

public static IGImage fetchBySmallImageId(long smallImageId,
                                          boolean retrieveFromCache)
                                   throws SystemException
Finds the i g image where smallImageId = ? or returns null if it could not be found, optionally using the finder cache.

Parameters:
smallImageId - the small image id to search with
Returns:
the matching i g image, or null if a matching i g image could not be found
Throws:
SystemException - if a system exception occurred

findByLargeImageId

public static IGImage findByLargeImageId(long largeImageId)
                                  throws SystemException,
                                         NoSuchImageException
Finds the i g image where largeImageId = ? or throws a NoSuchImageException if it could not be found.

Parameters:
largeImageId - the large image id to search with
Returns:
the matching i g image
Throws:
NoSuchImageException - if a matching i g image could not be found
SystemException - if a system exception occurred

fetchByLargeImageId

public static IGImage fetchByLargeImageId(long largeImageId)
                                   throws SystemException
Finds the i g image where largeImageId = ? or returns null if it could not be found. Uses the finder cache.

Parameters:
largeImageId - the large image id to search with
Returns:
the matching i g image, or null if a matching i g image could not be found
Throws:
SystemException - if a system exception occurred

fetchByLargeImageId

public static IGImage fetchByLargeImageId(long largeImageId,
                                          boolean retrieveFromCache)
                                   throws SystemException
Finds the i g image where largeImageId = ? or returns null if it could not be found, optionally using the finder cache.

Parameters:
largeImageId - the large image id to search with
Returns:
the matching i g image, or null if a matching i g image could not be found
Throws:
SystemException - if a system exception occurred

findByCustom1ImageId

public static IGImage findByCustom1ImageId(long custom1ImageId)
                                    throws SystemException,
                                           NoSuchImageException
Finds the i g image where custom1ImageId = ? or throws a NoSuchImageException if it could not be found.

Parameters:
custom1ImageId - the custom1 image id to search with
Returns:
the matching i g image
Throws:
NoSuchImageException - if a matching i g image could not be found
SystemException - if a system exception occurred

fetchByCustom1ImageId

public static IGImage fetchByCustom1ImageId(long custom1ImageId)
                                     throws SystemException
Finds the i g image where custom1ImageId = ? or returns null if it could not be found. Uses the finder cache.

Parameters:
custom1ImageId - the custom1 image id to search with
Returns:
the matching i g image, or null if a matching i g image could not be found
Throws:
SystemException - if a system exception occurred

fetchByCustom1ImageId

public static IGImage fetchByCustom1ImageId(long custom1ImageId,
                                            boolean retrieveFromCache)
                                     throws SystemException
Finds the i g image where custom1ImageId = ? or returns null if it could not be found, optionally using the finder cache.

Parameters:
custom1ImageId - the custom1 image id to search with
Returns:
the matching i g image, or null if a matching i g image could not be found
Throws:
SystemException - if a system exception occurred

findByCustom2ImageId

public static IGImage findByCustom2ImageId(long custom2ImageId)
                                    throws SystemException,
                                           NoSuchImageException
Finds the i g image where custom2ImageId = ? or throws a NoSuchImageException if it could not be found.

Parameters:
custom2ImageId - the custom2 image id to search with
Returns:
the matching i g image
Throws:
NoSuchImageException - if a matching i g image could not be found
SystemException - if a system exception occurred

fetchByCustom2ImageId

public static IGImage fetchByCustom2ImageId(long custom2ImageId)
                                     throws SystemException
Finds the i g image where custom2ImageId = ? or returns null if it could not be found. Uses the finder cache.

Parameters:
custom2ImageId - the custom2 image id to search with
Returns:
the matching i g image, or null if a matching i g image could not be found
Throws:
SystemException - if a system exception occurred

fetchByCustom2ImageId

public static IGImage fetchByCustom2ImageId(long custom2ImageId,
                                            boolean retrieveFromCache)
                                     throws SystemException
Finds the i g image where custom2ImageId = ? or returns null if it could not be found, optionally using the finder cache.

Parameters:
custom2ImageId - the custom2 image id to search with
Returns:
the matching i g image, or null if a matching i g image could not be found
Throws:
SystemException - if a system exception occurred

findByG_U

public static List<IGImage> findByG_U(long groupId,
                                      long userId)
                               throws SystemException
Finds all the i g images where groupId = ? and userId = ?.

Parameters:
groupId - the group id to search with
userId - the user id to search with
Returns:
the matching i g images
Throws:
SystemException - if a system exception occurred

findByG_U

public static List<IGImage> findByG_U(long groupId,
                                      long userId,
                                      int start,
                                      int end)
                               throws SystemException
Finds a range of all the i g images where groupId = ? and userId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
groupId - the group id to search with
userId - the user id to search with
start - the lower bound of the range of i g images to return
end - the upper bound of the range of i g images to return (not inclusive)
Returns:
the range of matching i g images
Throws:
SystemException - if a system exception occurred

findByG_U

public static List<IGImage> findByG_U(long groupId,
                                      long userId,
                                      int start,
                                      int end,
                                      OrderByComparator orderByComparator)
                               throws SystemException
Finds an ordered range of all the i g images where groupId = ? and userId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
groupId - the group id to search with
userId - the user id to search with
start - the lower bound of the range of i g images to return
end - the upper bound of the range of i g images to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching i g images
Throws:
SystemException - if a system exception occurred

findByG_U_First

public static IGImage findByG_U_First(long groupId,
                                      long userId,
                                      OrderByComparator orderByComparator)
                               throws SystemException,
                                      NoSuchImageException
Finds the first i g image in the ordered set where groupId = ? and userId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
groupId - the group id to search with
userId - the user id to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching i g image
Throws:
NoSuchImageException - if a matching i g image could not be found
SystemException - if a system exception occurred

findByG_U_Last

public static IGImage findByG_U_Last(long groupId,
                                     long userId,
                                     OrderByComparator orderByComparator)
                              throws SystemException,
                                     NoSuchImageException
Finds the last i g image in the ordered set where groupId = ? and userId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
groupId - the group id to search with
userId - the user id to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching i g image
Throws:
NoSuchImageException - if a matching i g image could not be found
SystemException - if a system exception occurred

findByG_U_PrevAndNext

public static IGImage[] findByG_U_PrevAndNext(long imageId,
                                              long groupId,
                                              long userId,
                                              OrderByComparator orderByComparator)
                                       throws SystemException,
                                              NoSuchImageException
Finds the i g images before and after the current i g image in the ordered set where groupId = ? and userId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
imageId - the primary key of the current i g image
groupId - the group id to search with
userId - the user id to search with
orderByComparator - the comparator to order the set by
Returns:
the previous, current, and next i g image
Throws:
NoSuchImageException - if a i g image with the primary key could not be found
SystemException - if a system exception occurred

filterFindByG_U

public static List<IGImage> filterFindByG_U(long groupId,
                                            long userId)
                                     throws SystemException
Filters by the user's permissions and finds all the i g images where groupId = ? and userId = ?.

Parameters:
groupId - the group id to search with
userId - the user id to search with
Returns:
the matching i g images that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_U

public static List<IGImage> filterFindByG_U(long groupId,
                                            long userId,
                                            int start,
                                            int end)
                                     throws SystemException
Filters by the user's permissions and finds a range of all the i g images where groupId = ? and userId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
groupId - the group id to search with
userId - the user id to search with
start - the lower bound of the range of i g images to return
end - the upper bound of the range of i g images to return (not inclusive)
Returns:
the range of matching i g images that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_U

public static List<IGImage> filterFindByG_U(long groupId,
                                            long userId,
                                            int start,
                                            int end,
                                            OrderByComparator orderByComparator)
                                     throws SystemException
Filters by the user's permissions and finds an ordered range of all the i g images where groupId = ? and userId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
groupId - the group id to search with
userId - the user id to search with
start - the lower bound of the range of i g images to return
end - the upper bound of the range of i g images to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching i g images that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByG_F

public static List<IGImage> findByG_F(long groupId,
                                      long folderId)
                               throws SystemException
Finds all the i g images where groupId = ? and folderId = ?.

Parameters:
groupId - the group id to search with
folderId - the folder id to search with
Returns:
the matching i g images
Throws:
SystemException - if a system exception occurred

findByG_F

public static List<IGImage> findByG_F(long groupId,
                                      long folderId,
                                      int start,
                                      int end)
                               throws SystemException
Finds a range of all the i g images where groupId = ? and folderId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
groupId - the group id to search with
folderId - the folder id to search with
start - the lower bound of the range of i g images to return
end - the upper bound of the range of i g images to return (not inclusive)
Returns:
the range of matching i g images
Throws:
SystemException - if a system exception occurred

findByG_F

public static List<IGImage> findByG_F(long groupId,
                                      long folderId,
                                      int start,
                                      int end,
                                      OrderByComparator orderByComparator)
                               throws SystemException
Finds an ordered range of all the i g images where groupId = ? and folderId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
groupId - the group id to search with
folderId - the folder id to search with
start - the lower bound of the range of i g images to return
end - the upper bound of the range of i g images to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching i g images
Throws:
SystemException - if a system exception occurred

findByG_F_First

public static IGImage findByG_F_First(long groupId,
                                      long folderId,
                                      OrderByComparator orderByComparator)
                               throws SystemException,
                                      NoSuchImageException
Finds the first i g image in the ordered set where groupId = ? and folderId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
groupId - the group id to search with
folderId - the folder id to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching i g image
Throws:
NoSuchImageException - if a matching i g image could not be found
SystemException - if a system exception occurred

findByG_F_Last

public static IGImage findByG_F_Last(long groupId,
                                     long folderId,
                                     OrderByComparator orderByComparator)
                              throws SystemException,
                                     NoSuchImageException
Finds the last i g image in the ordered set where groupId = ? and folderId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
groupId - the group id to search with
folderId - the folder id to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching i g image
Throws:
NoSuchImageException - if a matching i g image could not be found
SystemException - if a system exception occurred

findByG_F_PrevAndNext

public static IGImage[] findByG_F_PrevAndNext(long imageId,
                                              long groupId,
                                              long folderId,
                                              OrderByComparator orderByComparator)
                                       throws SystemException,
                                              NoSuchImageException
Finds the i g images before and after the current i g image in the ordered set where groupId = ? and folderId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
imageId - the primary key of the current i g image
groupId - the group id to search with
folderId - the folder id to search with
orderByComparator - the comparator to order the set by
Returns:
the previous, current, and next i g image
Throws:
NoSuchImageException - if a i g image with the primary key could not be found
SystemException - if a system exception occurred

findByG_F

public static List<IGImage> findByG_F(long groupId,
                                      long[] folderIds)
                               throws SystemException
Finds all the i g images where groupId = ? and folderId = any ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
groupId - the group id to search with
folderIds - the folder ids to search with
Returns:
the matching i g images
Throws:
SystemException - if a system exception occurred

findByG_F

public static List<IGImage> findByG_F(long groupId,
                                      long[] folderIds,
                                      int start,
                                      int end)
                               throws SystemException
Finds a range of all the i g images where groupId = ? and folderId = any ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
groupId - the group id to search with
folderIds - the folder ids to search with
start - the lower bound of the range of i g images to return
end - the upper bound of the range of i g images to return (not inclusive)
Returns:
the range of matching i g images
Throws:
SystemException - if a system exception occurred

findByG_F

public static List<IGImage> findByG_F(long groupId,
                                      long[] folderIds,
                                      int start,
                                      int end,
                                      OrderByComparator orderByComparator)
                               throws SystemException
Finds an ordered range of all the i g images where groupId = ? and folderId = any ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
groupId - the group id to search with
folderIds - the folder ids to search with
start - the lower bound of the range of i g images to return
end - the upper bound of the range of i g images to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching i g images
Throws:
SystemException - if a system exception occurred

filterFindByG_F

public static List<IGImage> filterFindByG_F(long groupId,
                                            long folderId)
                                     throws SystemException
Filters by the user's permissions and finds all the i g images where groupId = ? and folderId = ?.

Parameters:
groupId - the group id to search with
folderId - the folder id to search with
Returns:
the matching i g images that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_F

public static List<IGImage> filterFindByG_F(long groupId,
                                            long folderId,
                                            int start,
                                            int end)
                                     throws SystemException
Filters by the user's permissions and finds a range of all the i g images where groupId = ? and folderId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
groupId - the group id to search with
folderId - the folder id to search with
start - the lower bound of the range of i g images to return
end - the upper bound of the range of i g images to return (not inclusive)
Returns:
the range of matching i g images that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_F

public static List<IGImage> filterFindByG_F(long groupId,
                                            long folderId,
                                            int start,
                                            int end,
                                            OrderByComparator orderByComparator)
                                     throws SystemException
Filters by the user's permissions and finds an ordered range of all the i g images where groupId = ? and folderId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
groupId - the group id to search with
folderId - the folder id to search with
start - the lower bound of the range of i g images to return
end - the upper bound of the range of i g images to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching i g images that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_F

public static List<IGImage> filterFindByG_F(long groupId,
                                            long[] folderIds)
                                     throws SystemException
Filters by the user's permissions and finds all the i g images where groupId = ? and folderId = any ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
groupId - the group id to search with
folderIds - the folder ids to search with
Returns:
the matching i g images that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_F

public static List<IGImage> filterFindByG_F(long groupId,
                                            long[] folderIds,
                                            int start,
                                            int end)
                                     throws SystemException
Filters by the user's permissions and finds a range of all the i g images where groupId = ? and folderId = any ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
groupId - the group id to search with
folderIds - the folder ids to search with
start - the lower bound of the range of i g images to return
end - the upper bound of the range of i g images to return (not inclusive)
Returns:
the range of matching i g images that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_F

public static List<IGImage> filterFindByG_F(long groupId,
                                            long[] folderIds,
                                            int start,
                                            int end,
                                            OrderByComparator orderByComparator)
                                     throws SystemException
Filters by the user's permissions and finds an ordered range of all the i g images where groupId = ? and folderId = any ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
groupId - the group id to search with
folderIds - the folder ids to search with
start - the lower bound of the range of i g images to return
end - the upper bound of the range of i g images to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching i g images that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByG_F_N

public static List<IGImage> findByG_F_N(long groupId,
                                        long folderId,
                                        String name)
                                 throws SystemException
Finds all the i g images where groupId = ? and folderId = ? and name = ?.

Parameters:
groupId - the group id to search with
folderId - the folder id to search with
name - the name to search with
Returns:
the matching i g images
Throws:
SystemException - if a system exception occurred

findByG_F_N

public static List<IGImage> findByG_F_N(long groupId,
                                        long folderId,
                                        String name,
                                        int start,
                                        int end)
                                 throws SystemException
Finds a range of all the i g images where groupId = ? and folderId = ? and name = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
groupId - the group id to search with
folderId - the folder id to search with
name - the name to search with
start - the lower bound of the range of i g images to return
end - the upper bound of the range of i g images to return (not inclusive)
Returns:
the range of matching i g images
Throws:
SystemException - if a system exception occurred

findByG_F_N

public static List<IGImage> findByG_F_N(long groupId,
                                        long folderId,
                                        String name,
                                        int start,
                                        int end,
                                        OrderByComparator orderByComparator)
                                 throws SystemException
Finds an ordered range of all the i g images where groupId = ? and folderId = ? and name = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
groupId - the group id to search with
folderId - the folder id to search with
name - the name to search with
start - the lower bound of the range of i g images to return
end - the upper bound of the range of i g images to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching i g images
Throws:
SystemException - if a system exception occurred

findByG_F_N_First

public static IGImage findByG_F_N_First(long groupId,
                                        long folderId,
                                        String name,
                                        OrderByComparator orderByComparator)
                                 throws SystemException,
                                        NoSuchImageException
Finds the first i g image in the ordered set where groupId = ? and folderId = ? and name = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
groupId - the group id to search with
folderId - the folder id to search with
name - the name to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching i g image
Throws:
NoSuchImageException - if a matching i g image could not be found
SystemException - if a system exception occurred

findByG_F_N_Last

public static IGImage findByG_F_N_Last(long groupId,
                                       long folderId,
                                       String name,
                                       OrderByComparator orderByComparator)
                                throws SystemException,
                                       NoSuchImageException
Finds the last i g image in the ordered set where groupId = ? and folderId = ? and name = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
groupId - the group id to search with
folderId - the folder id to search with
name - the name to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching i g image
Throws:
NoSuchImageException - if a matching i g image could not be found
SystemException - if a system exception occurred

findByG_F_N_PrevAndNext

public static IGImage[] findByG_F_N_PrevAndNext(long imageId,
                                                long groupId,
                                                long folderId,
                                                String name,
                                                OrderByComparator orderByComparator)
                                         throws SystemException,
                                                NoSuchImageException
Finds the i g images before and after the current i g image in the ordered set where groupId = ? and folderId = ? and name = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
imageId - the primary key of the current i g image
groupId - the group id to search with
folderId - the folder id to search with
name - the name to search with
orderByComparator - the comparator to order the set by
Returns:
the previous, current, and next i g image
Throws:
NoSuchImageException - if a i g image with the primary key could not be found
SystemException - if a system exception occurred

filterFindByG_F_N

public static List<IGImage> filterFindByG_F_N(long groupId,
                                              long folderId,
                                              String name)
                                       throws SystemException
Filters by the user's permissions and finds all the i g images where groupId = ? and folderId = ? and name = ?.

Parameters:
groupId - the group id to search with
folderId - the folder id to search with
name - the name to search with
Returns:
the matching i g images that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_F_N

public static List<IGImage> filterFindByG_F_N(long groupId,
                                              long folderId,
                                              String name,
                                              int start,
                                              int end)
                                       throws SystemException
Filters by the user's permissions and finds a range of all the i g images where groupId = ? and folderId = ? and name = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
groupId - the group id to search with
folderId - the folder id to search with
name - the name to search with
start - the lower bound of the range of i g images to return
end - the upper bound of the range of i g images to return (not inclusive)
Returns:
the range of matching i g images that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_F_N

public static List<IGImage> filterFindByG_F_N(long groupId,
                                              long folderId,
                                              String name,
                                              int start,
                                              int end,
                                              OrderByComparator orderByComparator)
                                       throws SystemException
Filters by the user's permissions and finds an ordered range of all the i g images where groupId = ? and folderId = ? and name = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
groupId - the group id to search with
folderId - the folder id to search with
name - the name to search with
start - the lower bound of the range of i g images to return
end - the upper bound of the range of i g images to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching i g images that the user has permission to view
Throws:
SystemException - if a system exception occurred

findAll

public static List<IGImage> findAll()
                             throws SystemException
Finds all the i g images.

Returns:
the i g images
Throws:
SystemException - if a system exception occurred

findAll

public static List<IGImage> findAll(int start,
                                    int end)
                             throws SystemException
Finds a range of all the i g images.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
start - the lower bound of the range of i g images to return
end - the upper bound of the range of i g images to return (not inclusive)
Returns:
the range of i g images
Throws:
SystemException - if a system exception occurred

findAll

public static List<IGImage> findAll(int start,
                                    int end,
                                    OrderByComparator orderByComparator)
                             throws SystemException
Finds an ordered range of all the i g images.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
start - the lower bound of the range of i g images to return
end - the upper bound of the range of i g images to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of i g images
Throws:
SystemException - if a system exception occurred

removeByUuid

public static void removeByUuid(String uuid)
                         throws SystemException
Removes all the i g images where uuid = ? from the database.

Parameters:
uuid - the uuid to search with
Throws:
SystemException - if a system exception occurred

removeByUUID_G

public static void removeByUUID_G(String uuid,
                                  long groupId)
                           throws SystemException,
                                  NoSuchImageException
Removes the i g image where uuid = ? and groupId = ? from the database.

Parameters:
uuid - the uuid to search with
groupId - the group id to search with
Throws:
SystemException - if a system exception occurred
NoSuchImageException

removeByGroupId

public static void removeByGroupId(long groupId)
                            throws SystemException
Removes all the i g images where groupId = ? from the database.

Parameters:
groupId - the group id to search with
Throws:
SystemException - if a system exception occurred

removeBySmallImageId

public static void removeBySmallImageId(long smallImageId)
                                 throws SystemException,
                                        NoSuchImageException
Removes the i g image where smallImageId = ? from the database.

Parameters:
smallImageId - the small image id to search with
Throws:
SystemException - if a system exception occurred
NoSuchImageException

removeByLargeImageId

public static void removeByLargeImageId(long largeImageId)
                                 throws SystemException,
                                        NoSuchImageException
Removes the i g image where largeImageId = ? from the database.

Parameters:
largeImageId - the large image id to search with
Throws:
SystemException - if a system exception occurred
NoSuchImageException

removeByCustom1ImageId

public static void removeByCustom1ImageId(long custom1ImageId)
                                   throws SystemException,
                                          NoSuchImageException
Removes the i g image where custom1ImageId = ? from the database.

Parameters:
custom1ImageId - the custom1 image id to search with
Throws:
SystemException - if a system exception occurred
NoSuchImageException

removeByCustom2ImageId

public static void removeByCustom2ImageId(long custom2ImageId)
                                   throws SystemException,
                                          NoSuchImageException
Removes the i g image where custom2ImageId = ? from the database.

Parameters:
custom2ImageId - the custom2 image id to search with
Throws:
SystemException - if a system exception occurred
NoSuchImageException

removeByG_U

public static void removeByG_U(long groupId,
                               long userId)
                        throws SystemException
Removes all the i g images where groupId = ? and userId = ? from the database.

Parameters:
groupId - the group id to search with
userId - the user id to search with
Throws:
SystemException - if a system exception occurred

removeByG_F

public static void removeByG_F(long groupId,
                               long folderId)
                        throws SystemException
Removes all the i g images where groupId = ? and folderId = ? from the database.

Parameters:
groupId - the group id to search with
folderId - the folder id to search with
Throws:
SystemException - if a system exception occurred

removeByG_F_N

public static void removeByG_F_N(long groupId,
                                 long folderId,
                                 String name)
                          throws SystemException
Removes all the i g images where groupId = ? and folderId = ? and name = ? from the database.

Parameters:
groupId - the group id to search with
folderId - the folder id to search with
name - the name to search with
Throws:
SystemException - if a system exception occurred

removeAll

public static void removeAll()
                      throws SystemException
Removes all the i g images from the database.

Throws:
SystemException - if a system exception occurred

countByUuid

public static int countByUuid(String uuid)
                       throws SystemException
Counts all the i g images where uuid = ?.

Parameters:
uuid - the uuid to search with
Returns:
the number of matching i g images
Throws:
SystemException - if a system exception occurred

countByUUID_G

public static int countByUUID_G(String uuid,
                                long groupId)
                         throws SystemException
Counts all the i g images where uuid = ? and groupId = ?.

Parameters:
uuid - the uuid to search with
groupId - the group id to search with
Returns:
the number of matching i g images
Throws:
SystemException - if a system exception occurred

countByGroupId

public static int countByGroupId(long groupId)
                          throws SystemException
Counts all the i g images where groupId = ?.

Parameters:
groupId - the group id to search with
Returns:
the number of matching i g images
Throws:
SystemException - if a system exception occurred

filterCountByGroupId

public static int filterCountByGroupId(long groupId)
                                throws SystemException
Filters by the user's permissions and counts all the i g images where groupId = ?.

Parameters:
groupId - the group id to search with
Returns:
the number of matching i g images that the user has permission to view
Throws:
SystemException - if a system exception occurred

countBySmallImageId

public static int countBySmallImageId(long smallImageId)
                               throws SystemException
Counts all the i g images where smallImageId = ?.

Parameters:
smallImageId - the small image id to search with
Returns:
the number of matching i g images
Throws:
SystemException - if a system exception occurred

countByLargeImageId

public static int countByLargeImageId(long largeImageId)
                               throws SystemException
Counts all the i g images where largeImageId = ?.

Parameters:
largeImageId - the large image id to search with
Returns:
the number of matching i g images
Throws:
SystemException - if a system exception occurred

countByCustom1ImageId

public static int countByCustom1ImageId(long custom1ImageId)
                                 throws SystemException
Counts all the i g images where custom1ImageId = ?.

Parameters:
custom1ImageId - the custom1 image id to search with
Returns:
the number of matching i g images
Throws:
SystemException - if a system exception occurred

countByCustom2ImageId

public static int countByCustom2ImageId(long custom2ImageId)
                                 throws SystemException
Counts all the i g images where custom2ImageId = ?.

Parameters:
custom2ImageId - the custom2 image id to search with
Returns:
the number of matching i g images
Throws:
SystemException - if a system exception occurred

countByG_U

public static int countByG_U(long groupId,
                             long userId)
                      throws SystemException
Counts all the i g images where groupId = ? and userId = ?.

Parameters:
groupId - the group id to search with
userId - the user id to search with
Returns:
the number of matching i g images
Throws:
SystemException - if a system exception occurred

filterCountByG_U

public static int filterCountByG_U(long groupId,
                                   long userId)
                            throws SystemException
Filters by the user's permissions and counts all the i g images where groupId = ? and userId = ?.

Parameters:
groupId - the group id to search with
userId - the user id to search with
Returns:
the number of matching i g images that the user has permission to view
Throws:
SystemException - if a system exception occurred

countByG_F

public static int countByG_F(long groupId,
                             long folderId)
                      throws SystemException
Counts all the i g images where groupId = ? and folderId = ?.

Parameters:
groupId - the group id to search with
folderId - the folder id to search with
Returns:
the number of matching i g images
Throws:
SystemException - if a system exception occurred

countByG_F

public static int countByG_F(long groupId,
                             long[] folderIds)
                      throws SystemException
Counts all the i g images where groupId = ? and folderId = any ?.

Parameters:
groupId - the group id to search with
folderIds - the folder ids to search with
Returns:
the number of matching i g images
Throws:
SystemException - if a system exception occurred

filterCountByG_F

public static int filterCountByG_F(long groupId,
                                   long folderId)
                            throws SystemException
Filters by the user's permissions and counts all the i g images where groupId = ? and folderId = ?.

Parameters:
groupId - the group id to search with
folderId - the folder id to search with
Returns:
the number of matching i g images that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterCountByG_F

public static int filterCountByG_F(long groupId,
                                   long[] folderIds)
                            throws SystemException
Filters by the user's permissions and counts all the i g images where groupId = ? and folderId = any ?.

Parameters:
groupId - the group id to search with
folderIds - the folder ids to search with
Returns:
the number of matching i g images that the user has permission to view
Throws:
SystemException - if a system exception occurred

countByG_F_N

public static int countByG_F_N(long groupId,
                               long folderId,
                               String name)
                        throws SystemException
Counts all the i g images where groupId = ? and folderId = ? and name = ?.

Parameters:
groupId - the group id to search with
folderId - the folder id to search with
name - the name to search with
Returns:
the number of matching i g images
Throws:
SystemException - if a system exception occurred

filterCountByG_F_N

public static int filterCountByG_F_N(long groupId,
                                     long folderId,
                                     String name)
                              throws SystemException
Filters by the user's permissions and counts all the i g images where groupId = ? and folderId = ? and name = ?.

Parameters:
groupId - the group id to search with
folderId - the folder id to search with
name - the name to search with
Returns:
the number of matching i g images that the user has permission to view
Throws:
SystemException - if a system exception occurred

countAll

public static int countAll()
                    throws SystemException
Counts all the i g images.

Returns:
the number of i g images
Throws:
SystemException - if a system exception occurred

getPersistence

public static IGImagePersistence getPersistence()

setPersistence

public void setPersistence(IGImagePersistence persistence)

Liferay 6.0.5