Liferay 6.0.5

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

java.lang.Object
  extended by com.liferay.portal.service.persistence.impl.BasePersistenceImpl<IGImage>
      extended by com.liferay.portlet.imagegallery.service.persistence.IGImagePersistenceImpl
All Implemented Interfaces:
SessionFactory, BasePersistence<IGImage>, IGImagePersistence

public class IGImagePersistenceImpl
extends BasePersistenceImpl<IGImage>
implements IGImagePersistence

The persistence implementation for the i g image service.

Never modify or reference this class directly. Always use IGImageUtil to access the i g image persistence. Modify service.xml and rerun ServiceBuilder to regenerate this class.

Caching information and settings can be found in portal.properties

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

Field Summary
protected  AssetCategoryPersistence assetCategoryPersistence
           
protected  AssetEntryPersistence assetEntryPersistence
           
protected  AssetTagPersistence assetTagPersistence
           
protected  ExpandoValuePersistence expandoValuePersistence
           
static String FINDER_CLASS_NAME_ENTITY
           
static String FINDER_CLASS_NAME_LIST
           
static FinderPath FINDER_PATH_COUNT_ALL
           
static FinderPath FINDER_PATH_COUNT_BY_CUSTOM1IMAGEID
           
static FinderPath FINDER_PATH_COUNT_BY_CUSTOM2IMAGEID
           
static FinderPath FINDER_PATH_COUNT_BY_G_F
           
static FinderPath FINDER_PATH_COUNT_BY_G_F_N
           
static FinderPath FINDER_PATH_COUNT_BY_G_U
           
static FinderPath FINDER_PATH_COUNT_BY_GROUPID
           
static FinderPath FINDER_PATH_COUNT_BY_LARGEIMAGEID
           
static FinderPath FINDER_PATH_COUNT_BY_SMALLIMAGEID
           
static FinderPath FINDER_PATH_COUNT_BY_UUID
           
static FinderPath FINDER_PATH_COUNT_BY_UUID_G
           
static FinderPath FINDER_PATH_FETCH_BY_CUSTOM1IMAGEID
           
static FinderPath FINDER_PATH_FETCH_BY_CUSTOM2IMAGEID
           
static FinderPath FINDER_PATH_FETCH_BY_LARGEIMAGEID
           
static FinderPath FINDER_PATH_FETCH_BY_SMALLIMAGEID
           
static FinderPath FINDER_PATH_FETCH_BY_UUID_G
           
static FinderPath FINDER_PATH_FIND_ALL
           
static FinderPath FINDER_PATH_FIND_BY_G_F
           
static FinderPath FINDER_PATH_FIND_BY_G_F_N
           
static FinderPath FINDER_PATH_FIND_BY_G_U
           
static FinderPath FINDER_PATH_FIND_BY_GROUPID
           
static FinderPath FINDER_PATH_FIND_BY_UUID
           
protected  IGFolderPersistence igFolderPersistence
           
protected  IGImagePersistence igImagePersistence
           
protected  ImagePersistence imagePersistence
           
protected  ResourcePersistence resourcePersistence
           
protected  SocialActivityPersistence socialActivityPersistence
           
protected  UserPersistence userPersistence
           
 
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
COUNT_COLUMN_NAME, listeners, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR
 
Constructor Summary
IGImagePersistenceImpl()
           
 
Method Summary
 void afterPropertiesSet()
          Initializes the i g image persistence.
 void cacheResult(IGImage igImage)
          Caches the i g image in the entity cache if it is enabled.
 void cacheResult(List<IGImage> igImages)
          Caches the i g images in the entity cache if it is enabled.
 void clearCache()
          Clears the cache for all i g images.
 void clearCache(IGImage igImage)
          Clears the cache for the i g image.
 int countAll()
          Counts all the i g images.
 int countByCustom1ImageId(long custom1ImageId)
          Counts all the i g images where custom1ImageId = ?.
 int countByCustom2ImageId(long custom2ImageId)
          Counts all the i g images where custom2ImageId = ?.
 int countByG_F_N(long groupId, long folderId, String name)
          Counts all the i g images where groupId = ? and folderId = ? and name = ?.
 int countByG_F(long groupId, long folderId)
          Counts all the i g images where groupId = ? and folderId = ?.
 int countByG_F(long groupId, long[] folderIds)
          Counts all the i g images where groupId = ? and folderId = any ?.
 int countByG_U(long groupId, long userId)
          Counts all the i g images where groupId = ? and userId = ?.
 int countByGroupId(long groupId)
          Counts all the i g images where groupId = ?.
 int countByLargeImageId(long largeImageId)
          Counts all the i g images where largeImageId = ?.
 int countBySmallImageId(long smallImageId)
          Counts all the i g images where smallImageId = ?.
 int countByUUID_G(String uuid, long groupId)
          Counts all the i g images where uuid = ? and groupId = ?.
 int countByUuid(String uuid)
          Counts all the i g images where uuid = ?.
 IGImage create(long imageId)
          Creates a new i g image with the primary key.
 IGImage fetchByCustom1ImageId(long custom1ImageId)
          Finds the i g image where custom1ImageId = ? or returns null if it could not be found.
 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.
 IGImage fetchByCustom2ImageId(long custom2ImageId)
          Finds the i g image where custom2ImageId = ? or returns null if it could not be found.
 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.
 IGImage fetchByLargeImageId(long largeImageId)
          Finds the i g image where largeImageId = ? or returns null if it could not be found.
 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.
 IGImage fetchByPrimaryKey(long imageId)
          Finds the i g image with the primary key or returns null if it could not be found.
 IGImage fetchByPrimaryKey(Serializable primaryKey)
          Finds the i g image with the primary key or returns null if it could not be found.
 IGImage fetchBySmallImageId(long smallImageId)
          Finds the i g image where smallImageId = ? or returns null if it could not be found.
 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.
 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.
 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.
 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 = ?.
 int filterCountByG_F(long groupId, long folderId)
          Filters by the user's permissions and counts all the i g images where groupId = ? and folderId = ?.
 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 ?.
 int filterCountByG_U(long groupId, long userId)
          Filters by the user's permissions and counts all the i g images where groupId = ? and userId = ?.
 int filterCountByGroupId(long groupId)
          Filters by the user's permissions and counts all the i g images where groupId = ?.
 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 = ?.
 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 = ?.
 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 = ?.
 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 = ?.
 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 ?.
 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 ?.
 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 ?.
 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 = ?.
 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 = ?.
 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 = ?.
 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 = ?.
 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 = ?.
 List<IGImage> filterFindByGroupId(long groupId)
          Filters by the user's permissions and finds all the i g images where groupId = ?.
 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 = ?.
 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 = ?.
 List<IGImage> findAll()
          Finds all the i g images.
 List<IGImage> findAll(int start, int end)
          Finds a range of all the i g images.
 List<IGImage> findAll(int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the i g images.
 IGImage findByCustom1ImageId(long custom1ImageId)
          Finds the i g image where custom1ImageId = ? or throws a NoSuchImageException if it could not be found.
 IGImage findByCustom2ImageId(long custom2ImageId)
          Finds the i g image where custom2ImageId = ? or throws a NoSuchImageException if it could not be found.
 IGImage findByG_F_First(long groupId, long folderId, OrderByComparator orderByComparator)
          Finds the first i g image in the ordered set where groupId = ? and folderId = ?.
 IGImage findByG_F_Last(long groupId, long folderId, OrderByComparator orderByComparator)
          Finds the last i g image in the ordered set where groupId = ? and folderId = ?.
 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 = ?.
 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 = ?.
 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 = ?.
 List<IGImage> findByG_F_N(long groupId, long folderId, String name)
          Finds all the i g images where groupId = ? and folderId = ? and name = ?.
 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 = ?.
 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 = ?.
 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 = ?.
 List<IGImage> findByG_F(long groupId, long folderId)
          Finds all the i g images where groupId = ? and folderId = ?.
 List<IGImage> findByG_F(long groupId, long[] folderIds)
          Finds all the i g images where groupId = ? and folderId = any ?.
 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 ?.
 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 ?.
 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 = ?.
 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 = ?.
 IGImage findByG_U_First(long groupId, long userId, OrderByComparator orderByComparator)
          Finds the first i g image in the ordered set where groupId = ? and userId = ?.
 IGImage findByG_U_Last(long groupId, long userId, OrderByComparator orderByComparator)
          Finds the last i g image in the ordered set where groupId = ? and userId = ?.
 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 = ?.
 List<IGImage> findByG_U(long groupId, long userId)
          Finds all the i g images where groupId = ? and userId = ?.
 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 = ?.
 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 = ?.
 IGImage findByGroupId_First(long groupId, OrderByComparator orderByComparator)
          Finds the first i g image in the ordered set where groupId = ?.
 IGImage findByGroupId_Last(long groupId, OrderByComparator orderByComparator)
          Finds the last i g image in the ordered set where groupId = ?.
 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 = ?.
 List<IGImage> findByGroupId(long groupId)
          Finds all the i g images where groupId = ?.
 List<IGImage> findByGroupId(long groupId, int start, int end)
          Finds a range of all the i g images where groupId = ?.
 List<IGImage> findByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the i g images where groupId = ?.
 IGImage findByLargeImageId(long largeImageId)
          Finds the i g image where largeImageId = ? or throws a NoSuchImageException if it could not be found.
 IGImage findByPrimaryKey(long imageId)
          Finds the i g image with the primary key or throws a NoSuchImageException if it could not be found.
 IGImage findByPrimaryKey(Serializable primaryKey)
          Finds the i g image with the primary key or throws a NoSuchModelException if it could not be found.
 IGImage findBySmallImageId(long smallImageId)
          Finds the i g image where smallImageId = ? or throws a NoSuchImageException if it could not be found.
 IGImage findByUuid_First(String uuid, OrderByComparator orderByComparator)
          Finds the first i g image in the ordered set where uuid = ?.
 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.
 IGImage findByUuid_Last(String uuid, OrderByComparator orderByComparator)
          Finds the last i g image in the ordered set where uuid = ?.
 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 = ?.
 List<IGImage> findByUuid(String uuid)
          Finds all the i g images where uuid = ?.
 List<IGImage> findByUuid(String uuid, int start, int end)
          Finds a range of all the i g images where uuid = ?.
 List<IGImage> findByUuid(String uuid, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the i g images where uuid = ?.
protected  IGImage getByG_F_N_PrevAndNext(Session session, IGImage igImage, long groupId, long folderId, String name, OrderByComparator orderByComparator, boolean previous)
           
protected  IGImage getByG_F_PrevAndNext(Session session, IGImage igImage, long groupId, long folderId, OrderByComparator orderByComparator, boolean previous)
           
protected  IGImage getByG_U_PrevAndNext(Session session, IGImage igImage, long groupId, long userId, OrderByComparator orderByComparator, boolean previous)
           
protected  IGImage getByGroupId_PrevAndNext(Session session, IGImage igImage, long groupId, OrderByComparator orderByComparator, boolean previous)
           
protected  IGImage getByUuid_PrevAndNext(Session session, IGImage igImage, String uuid, OrderByComparator orderByComparator, boolean previous)
           
 IGImage remove(long imageId)
          Removes the i g image with the primary key from the database.
 IGImage remove(Serializable primaryKey)
          Removes the i g image with the primary key from the database.
 void removeAll()
          Removes all the i g images from the database.
 void removeByCustom1ImageId(long custom1ImageId)
          Removes the i g image where custom1ImageId = ? from the database.
 void removeByCustom2ImageId(long custom2ImageId)
          Removes the i g image where custom2ImageId = ? from the database.
 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.
 void removeByG_F(long groupId, long folderId)
          Removes all the i g images where groupId = ? and folderId = ? from the database.
 void removeByG_U(long groupId, long userId)
          Removes all the i g images where groupId = ? and userId = ? from the database.
 void removeByGroupId(long groupId)
          Removes all the i g images where groupId = ? from the database.
 void removeByLargeImageId(long largeImageId)
          Removes the i g image where largeImageId = ? from the database.
 void removeBySmallImageId(long smallImageId)
          Removes the i g image where smallImageId = ? from the database.
 void removeByUUID_G(String uuid, long groupId)
          Removes the i g image where uuid = ? and groupId = ? from the database.
 void removeByUuid(String uuid)
          Removes all the i g images where uuid = ? from the database.
protected  IGImage removeImpl(IGImage igImage)
          Removes the model instance from the database.
protected  IGImage toUnwrappedModel(IGImage igImage)
           
 IGImage updateImpl(IGImage igImage, boolean merge)
          Updates the model instance in the database or adds it if it does not yet exist.
 
Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getDialect, getListeners, openNewSession, openSession, processException, registerListener, remove, setDataSource, setSessionFactory, unregisterListener, update, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, setDataSource, unregisterListener, update, update
 

Field Detail

FINDER_CLASS_NAME_ENTITY

public static final String FINDER_CLASS_NAME_ENTITY

FINDER_CLASS_NAME_LIST

public static final String FINDER_CLASS_NAME_LIST

FINDER_PATH_FIND_BY_UUID

public static final FinderPath FINDER_PATH_FIND_BY_UUID

FINDER_PATH_COUNT_BY_UUID

public static final FinderPath FINDER_PATH_COUNT_BY_UUID

FINDER_PATH_FETCH_BY_UUID_G

public static final FinderPath FINDER_PATH_FETCH_BY_UUID_G

FINDER_PATH_COUNT_BY_UUID_G

public static final FinderPath FINDER_PATH_COUNT_BY_UUID_G

FINDER_PATH_FIND_BY_GROUPID

public static final FinderPath FINDER_PATH_FIND_BY_GROUPID

FINDER_PATH_COUNT_BY_GROUPID

public static final FinderPath FINDER_PATH_COUNT_BY_GROUPID

FINDER_PATH_FETCH_BY_SMALLIMAGEID

public static final FinderPath FINDER_PATH_FETCH_BY_SMALLIMAGEID

FINDER_PATH_COUNT_BY_SMALLIMAGEID

public static final FinderPath FINDER_PATH_COUNT_BY_SMALLIMAGEID

FINDER_PATH_FETCH_BY_LARGEIMAGEID

public static final FinderPath FINDER_PATH_FETCH_BY_LARGEIMAGEID

FINDER_PATH_COUNT_BY_LARGEIMAGEID

public static final FinderPath FINDER_PATH_COUNT_BY_LARGEIMAGEID

FINDER_PATH_FETCH_BY_CUSTOM1IMAGEID

public static final FinderPath FINDER_PATH_FETCH_BY_CUSTOM1IMAGEID

FINDER_PATH_COUNT_BY_CUSTOM1IMAGEID

public static final FinderPath FINDER_PATH_COUNT_BY_CUSTOM1IMAGEID

FINDER_PATH_FETCH_BY_CUSTOM2IMAGEID

public static final FinderPath FINDER_PATH_FETCH_BY_CUSTOM2IMAGEID

FINDER_PATH_COUNT_BY_CUSTOM2IMAGEID

public static final FinderPath FINDER_PATH_COUNT_BY_CUSTOM2IMAGEID

FINDER_PATH_FIND_BY_G_U

public static final FinderPath FINDER_PATH_FIND_BY_G_U

FINDER_PATH_COUNT_BY_G_U

public static final FinderPath FINDER_PATH_COUNT_BY_G_U

FINDER_PATH_FIND_BY_G_F

public static final FinderPath FINDER_PATH_FIND_BY_G_F

FINDER_PATH_COUNT_BY_G_F

public static final FinderPath FINDER_PATH_COUNT_BY_G_F

FINDER_PATH_FIND_BY_G_F_N

public static final FinderPath FINDER_PATH_FIND_BY_G_F_N

FINDER_PATH_COUNT_BY_G_F_N

public static final FinderPath FINDER_PATH_COUNT_BY_G_F_N

FINDER_PATH_FIND_ALL

public static final FinderPath FINDER_PATH_FIND_ALL

FINDER_PATH_COUNT_ALL

public static final FinderPath FINDER_PATH_COUNT_ALL

igFolderPersistence

@BeanReference(type=IGFolderPersistence.class)
protected IGFolderPersistence igFolderPersistence

igImagePersistence

@BeanReference(type=IGImagePersistence.class)
protected IGImagePersistence igImagePersistence

imagePersistence

@BeanReference(type=ImagePersistence.class)
protected ImagePersistence imagePersistence

resourcePersistence

@BeanReference(type=ResourcePersistence.class)
protected ResourcePersistence resourcePersistence

userPersistence

@BeanReference(type=UserPersistence.class)
protected UserPersistence userPersistence

assetCategoryPersistence

@BeanReference(type=AssetCategoryPersistence.class)
protected AssetCategoryPersistence assetCategoryPersistence

assetEntryPersistence

@BeanReference(type=AssetEntryPersistence.class)
protected AssetEntryPersistence assetEntryPersistence

assetTagPersistence

@BeanReference(type=AssetTagPersistence.class)
protected AssetTagPersistence assetTagPersistence

expandoValuePersistence

@BeanReference(type=ExpandoValuePersistence.class)
protected ExpandoValuePersistence expandoValuePersistence

socialActivityPersistence

@BeanReference(type=SocialActivityPersistence.class)
protected SocialActivityPersistence socialActivityPersistence
Constructor Detail

IGImagePersistenceImpl

public IGImagePersistenceImpl()
Method Detail

cacheResult

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

Specified by:
cacheResult in interface IGImagePersistence
Parameters:
igImage - the i g image to cache

cacheResult

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

Specified by:
cacheResult in interface IGImagePersistence
Parameters:
igImages - the i g images to cache

clearCache

public void clearCache()
Clears the cache for all i g images.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface BasePersistence<IGImage>
Overrides:
clearCache in class BasePersistenceImpl<IGImage>

clearCache

public void clearCache(IGImage igImage)
Clears the cache for the i g image.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface BasePersistence<IGImage>
Overrides:
clearCache in class BasePersistenceImpl<IGImage>
Parameters:
igImage - the instance of this model to clear the cache for

create

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

Specified by:
create in interface IGImagePersistence
Parameters:
imageId - the primary key for the new i g image
Returns:
the new i g image

remove

public IGImage remove(Serializable primaryKey)
               throws NoSuchModelException,
                      SystemException
Removes the i g image with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
remove in interface BasePersistence<IGImage>
Overrides:
remove in class BasePersistenceImpl<IGImage>
Parameters:
primaryKey - the primary key of the i g image to remove
Returns:
the i g image that was removed
Throws:
NoSuchModelException - if a i g image with the primary key could not be found
SystemException - if a system exception occurred

remove

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

Specified by:
remove in interface IGImagePersistence
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

removeImpl

protected IGImage removeImpl(IGImage igImage)
                      throws SystemException
Description copied from class: BasePersistenceImpl
Removes the model instance from the database. BasePersistenceImpl.update(BaseModel, boolean) depends on this method to implement the remove operation; it only notifies the model listeners.

Overrides:
removeImpl in class BasePersistenceImpl<IGImage>
Parameters:
igImage - the model instance to remove
Returns:
the model instance that was removed
Throws:
SystemException - if a system exception occurred

updateImpl

public IGImage updateImpl(IGImage igImage,
                          boolean merge)
                   throws SystemException
Description copied from class: BasePersistenceImpl
Updates the model instance in the database or adds it if it does not yet exist. BasePersistenceImpl.remove(BaseModel) depends on this method to implement the update operation; it only notifies the model listeners.

Specified by:
updateImpl in interface IGImagePersistence
Overrides:
updateImpl in class BasePersistenceImpl<IGImage>
Parameters:
igImage - the model instance to update
merge - whether to merge the model instance with the current session. See BatchSession.update( com.liferay.portal.kernel.dao.orm.Session, BaseModel, boolean) for an explanation.
Returns:
the model instance that was updated
Throws:
SystemException - if a system exception occurred

toUnwrappedModel

protected IGImage toUnwrappedModel(IGImage igImage)

findByPrimaryKey

public IGImage findByPrimaryKey(Serializable primaryKey)
                         throws NoSuchModelException,
                                SystemException
Finds the i g image with the primary key or throws a NoSuchModelException if it could not be found.

Specified by:
findByPrimaryKey in interface BasePersistence<IGImage>
Overrides:
findByPrimaryKey in class BasePersistenceImpl<IGImage>
Parameters:
primaryKey - the primary key of the i g image to find
Returns:
the i g image
Throws:
NoSuchModelException - if a i g image with the primary key could not be found
SystemException - if a system exception occurred

findByPrimaryKey

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

Specified by:
findByPrimaryKey in interface IGImagePersistence
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 IGImage fetchByPrimaryKey(Serializable primaryKey)
                          throws SystemException
Finds the i g image with the primary key or returns null if it could not be found.

Specified by:
fetchByPrimaryKey in interface BasePersistence<IGImage>
Overrides:
fetchByPrimaryKey in class BasePersistenceImpl<IGImage>
Parameters:
primaryKey - 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

fetchByPrimaryKey

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

Specified by:
fetchByPrimaryKey in interface IGImagePersistence
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 List<IGImage> findByUuid(String uuid)
                         throws SystemException
Finds all the i g images where uuid = ?.

Specified by:
findByUuid in interface IGImagePersistence
Parameters:
uuid - the uuid to search with
Returns:
the matching i g images
Throws:
SystemException - if a system exception occurred

findByUuid

public 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.

Specified by:
findByUuid in interface IGImagePersistence
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 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.

Specified by:
findByUuid in interface IGImagePersistence
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 IGImage findByUuid_First(String uuid,
                                OrderByComparator orderByComparator)
                         throws NoSuchImageException,
                                SystemException
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.

Specified by:
findByUuid_First in interface IGImagePersistence
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 IGImage findByUuid_Last(String uuid,
                               OrderByComparator orderByComparator)
                        throws NoSuchImageException,
                               SystemException
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.

Specified by:
findByUuid_Last in interface IGImagePersistence
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 IGImage[] findByUuid_PrevAndNext(long imageId,
                                        String uuid,
                                        OrderByComparator orderByComparator)
                                 throws NoSuchImageException,
                                        SystemException
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.

Specified by:
findByUuid_PrevAndNext in interface IGImagePersistence
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

getByUuid_PrevAndNext

protected IGImage getByUuid_PrevAndNext(Session session,
                                        IGImage igImage,
                                        String uuid,
                                        OrderByComparator orderByComparator,
                                        boolean previous)

findByUUID_G

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

Specified by:
findByUUID_G in interface IGImagePersistence
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 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.

Specified by:
fetchByUUID_G in interface IGImagePersistence
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 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.

Specified by:
fetchByUUID_G in interface IGImagePersistence
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 List<IGImage> findByGroupId(long groupId)
                            throws SystemException
Finds all the i g images where groupId = ?.

Specified by:
findByGroupId in interface IGImagePersistence
Parameters:
groupId - the group id to search with
Returns:
the matching i g images
Throws:
SystemException - if a system exception occurred

findByGroupId

public 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.

Specified by:
findByGroupId in interface IGImagePersistence
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 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.

Specified by:
findByGroupId in interface IGImagePersistence
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 IGImage findByGroupId_First(long groupId,
                                   OrderByComparator orderByComparator)
                            throws NoSuchImageException,
                                   SystemException
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.

Specified by:
findByGroupId_First in interface IGImagePersistence
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 IGImage findByGroupId_Last(long groupId,
                                  OrderByComparator orderByComparator)
                           throws NoSuchImageException,
                                  SystemException
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.

Specified by:
findByGroupId_Last in interface IGImagePersistence
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 IGImage[] findByGroupId_PrevAndNext(long imageId,
                                           long groupId,
                                           OrderByComparator orderByComparator)
                                    throws NoSuchImageException,
                                           SystemException
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.

Specified by:
findByGroupId_PrevAndNext in interface IGImagePersistence
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

getByGroupId_PrevAndNext

protected IGImage getByGroupId_PrevAndNext(Session session,
                                           IGImage igImage,
                                           long groupId,
                                           OrderByComparator orderByComparator,
                                           boolean previous)

filterFindByGroupId

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

Specified by:
filterFindByGroupId in interface IGImagePersistence
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 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.

Specified by:
filterFindByGroupId in interface IGImagePersistence
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 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.

Specified by:
filterFindByGroupId in interface IGImagePersistence
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 IGImage findBySmallImageId(long smallImageId)
                           throws NoSuchImageException,
                                  SystemException
Finds the i g image where smallImageId = ? or throws a NoSuchImageException if it could not be found.

Specified by:
findBySmallImageId in interface IGImagePersistence
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 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.

Specified by:
fetchBySmallImageId in interface IGImagePersistence
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 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.

Specified by:
fetchBySmallImageId in interface IGImagePersistence
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 IGImage findByLargeImageId(long largeImageId)
                           throws NoSuchImageException,
                                  SystemException
Finds the i g image where largeImageId = ? or throws a NoSuchImageException if it could not be found.

Specified by:
findByLargeImageId in interface IGImagePersistence
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 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.

Specified by:
fetchByLargeImageId in interface IGImagePersistence
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 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.

Specified by:
fetchByLargeImageId in interface IGImagePersistence
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 IGImage findByCustom1ImageId(long custom1ImageId)
                             throws NoSuchImageException,
                                    SystemException
Finds the i g image where custom1ImageId = ? or throws a NoSuchImageException if it could not be found.

Specified by:
findByCustom1ImageId in interface IGImagePersistence
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 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.

Specified by:
fetchByCustom1ImageId in interface IGImagePersistence
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 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.

Specified by:
fetchByCustom1ImageId in interface IGImagePersistence
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 IGImage findByCustom2ImageId(long custom2ImageId)
                             throws NoSuchImageException,
                                    SystemException
Finds the i g image where custom2ImageId = ? or throws a NoSuchImageException if it could not be found.

Specified by:
findByCustom2ImageId in interface IGImagePersistence
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 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.

Specified by:
fetchByCustom2ImageId in interface IGImagePersistence
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 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.

Specified by:
fetchByCustom2ImageId in interface IGImagePersistence
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 List<IGImage> findByG_U(long groupId,
                               long userId)
                        throws SystemException
Finds all the i g images where groupId = ? and userId = ?.

Specified by:
findByG_U in interface IGImagePersistence
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 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.

Specified by:
findByG_U in interface IGImagePersistence
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 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.

Specified by:
findByG_U in interface IGImagePersistence
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 IGImage findByG_U_First(long groupId,
                               long userId,
                               OrderByComparator orderByComparator)
                        throws NoSuchImageException,
                               SystemException
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.

Specified by:
findByG_U_First in interface IGImagePersistence
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 IGImage findByG_U_Last(long groupId,
                              long userId,
                              OrderByComparator orderByComparator)
                       throws NoSuchImageException,
                              SystemException
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.

Specified by:
findByG_U_Last in interface IGImagePersistence
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 IGImage[] findByG_U_PrevAndNext(long imageId,
                                       long groupId,
                                       long userId,
                                       OrderByComparator orderByComparator)
                                throws NoSuchImageException,
                                       SystemException
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.

Specified by:
findByG_U_PrevAndNext in interface IGImagePersistence
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

getByG_U_PrevAndNext

protected IGImage getByG_U_PrevAndNext(Session session,
                                       IGImage igImage,
                                       long groupId,
                                       long userId,
                                       OrderByComparator orderByComparator,
                                       boolean previous)

filterFindByG_U

public 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 = ?.

Specified by:
filterFindByG_U in interface IGImagePersistence
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 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.

Specified by:
filterFindByG_U in interface IGImagePersistence
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 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.

Specified by:
filterFindByG_U in interface IGImagePersistence
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 List<IGImage> findByG_F(long groupId,
                               long folderId)
                        throws SystemException
Finds all the i g images where groupId = ? and folderId = ?.

Specified by:
findByG_F in interface IGImagePersistence
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 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.

Specified by:
findByG_F in interface IGImagePersistence
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 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.

Specified by:
findByG_F in interface IGImagePersistence
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 IGImage findByG_F_First(long groupId,
                               long folderId,
                               OrderByComparator orderByComparator)
                        throws NoSuchImageException,
                               SystemException
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.

Specified by:
findByG_F_First in interface IGImagePersistence
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 IGImage findByG_F_Last(long groupId,
                              long folderId,
                              OrderByComparator orderByComparator)
                       throws NoSuchImageException,
                              SystemException
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.

Specified by:
findByG_F_Last in interface IGImagePersistence
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 IGImage[] findByG_F_PrevAndNext(long imageId,
                                       long groupId,
                                       long folderId,
                                       OrderByComparator orderByComparator)
                                throws NoSuchImageException,
                                       SystemException
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.

Specified by:
findByG_F_PrevAndNext in interface IGImagePersistence
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

getByG_F_PrevAndNext

protected IGImage getByG_F_PrevAndNext(Session session,
                                       IGImage igImage,
                                       long groupId,
                                       long folderId,
                                       OrderByComparator orderByComparator,
                                       boolean previous)

findByG_F

public 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.

Specified by:
findByG_F in interface IGImagePersistence
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 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.

Specified by:
findByG_F in interface IGImagePersistence
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 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.

Specified by:
findByG_F in interface IGImagePersistence
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 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 = ?.

Specified by:
filterFindByG_F in interface IGImagePersistence
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 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.

Specified by:
filterFindByG_F in interface IGImagePersistence
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 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.

Specified by:
filterFindByG_F in interface IGImagePersistence
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 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.

Specified by:
filterFindByG_F in interface IGImagePersistence
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 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.

Specified by:
filterFindByG_F in interface IGImagePersistence
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 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.

Specified by:
filterFindByG_F in interface IGImagePersistence
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 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 = ?.

Specified by:
findByG_F_N in interface IGImagePersistence
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 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.

Specified by:
findByG_F_N in interface IGImagePersistence
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 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.

Specified by:
findByG_F_N in interface IGImagePersistence
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 IGImage findByG_F_N_First(long groupId,
                                 long folderId,
                                 String name,
                                 OrderByComparator orderByComparator)
                          throws NoSuchImageException,
                                 SystemException
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.

Specified by:
findByG_F_N_First in interface IGImagePersistence
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 IGImage findByG_F_N_Last(long groupId,
                                long folderId,
                                String name,
                                OrderByComparator orderByComparator)
                         throws NoSuchImageException,
                                SystemException
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.

Specified by:
findByG_F_N_Last in interface IGImagePersistence
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 IGImage[] findByG_F_N_PrevAndNext(long imageId,
                                         long groupId,
                                         long folderId,
                                         String name,
                                         OrderByComparator orderByComparator)
                                  throws NoSuchImageException,
                                         SystemException
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.

Specified by:
findByG_F_N_PrevAndNext in interface IGImagePersistence
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

getByG_F_N_PrevAndNext

protected IGImage getByG_F_N_PrevAndNext(Session session,
                                         IGImage igImage,
                                         long groupId,
                                         long folderId,
                                         String name,
                                         OrderByComparator orderByComparator,
                                         boolean previous)

filterFindByG_F_N

public 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 = ?.

Specified by:
filterFindByG_F_N in interface IGImagePersistence
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 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.

Specified by:
filterFindByG_F_N in interface IGImagePersistence
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 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.

Specified by:
filterFindByG_F_N in interface IGImagePersistence
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 List<IGImage> findAll()
                      throws SystemException
Finds all the i g images.

Specified by:
findAll in interface IGImagePersistence
Returns:
the i g images
Throws:
SystemException - if a system exception occurred

findAll

public 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.

Specified by:
findAll in interface IGImagePersistence
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 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.

Specified by:
findAll in interface IGImagePersistence
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 void removeByUuid(String uuid)
                  throws SystemException
Removes all the i g images where uuid = ? from the database.

Specified by:
removeByUuid in interface IGImagePersistence
Parameters:
uuid - the uuid to search with
Throws:
SystemException - if a system exception occurred

removeByUUID_G

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

Specified by:
removeByUUID_G in interface IGImagePersistence
Parameters:
uuid - the uuid to search with
groupId - the group id to search with
Throws:
SystemException - if a system exception occurred
NoSuchImageException

removeByGroupId

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

Specified by:
removeByGroupId in interface IGImagePersistence
Parameters:
groupId - the group id to search with
Throws:
SystemException - if a system exception occurred

removeBySmallImageId

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

Specified by:
removeBySmallImageId in interface IGImagePersistence
Parameters:
smallImageId - the small image id to search with
Throws:
SystemException - if a system exception occurred
NoSuchImageException

removeByLargeImageId

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

Specified by:
removeByLargeImageId in interface IGImagePersistence
Parameters:
largeImageId - the large image id to search with
Throws:
SystemException - if a system exception occurred
NoSuchImageException

removeByCustom1ImageId

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

Specified by:
removeByCustom1ImageId in interface IGImagePersistence
Parameters:
custom1ImageId - the custom1 image id to search with
Throws:
SystemException - if a system exception occurred
NoSuchImageException

removeByCustom2ImageId

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

Specified by:
removeByCustom2ImageId in interface IGImagePersistence
Parameters:
custom2ImageId - the custom2 image id to search with
Throws:
SystemException - if a system exception occurred
NoSuchImageException

removeByG_U

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

Specified by:
removeByG_U in interface IGImagePersistence
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 void removeByG_F(long groupId,
                        long folderId)
                 throws SystemException
Removes all the i g images where groupId = ? and folderId = ? from the database.

Specified by:
removeByG_F in interface IGImagePersistence
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 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.

Specified by:
removeByG_F_N in interface IGImagePersistence
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 void removeAll()
               throws SystemException
Removes all the i g images from the database.

Specified by:
removeAll in interface IGImagePersistence
Throws:
SystemException - if a system exception occurred

countByUuid

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

Specified by:
countByUuid in interface IGImagePersistence
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 int countByUUID_G(String uuid,
                         long groupId)
                  throws SystemException
Counts all the i g images where uuid = ? and groupId = ?.

Specified by:
countByUUID_G in interface IGImagePersistence
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 int countByGroupId(long groupId)
                   throws SystemException
Counts all the i g images where groupId = ?.

Specified by:
countByGroupId in interface IGImagePersistence
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 int filterCountByGroupId(long groupId)
                         throws SystemException
Filters by the user's permissions and counts all the i g images where groupId = ?.

Specified by:
filterCountByGroupId in interface IGImagePersistence
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 int countBySmallImageId(long smallImageId)
                        throws SystemException
Counts all the i g images where smallImageId = ?.

Specified by:
countBySmallImageId in interface IGImagePersistence
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 int countByLargeImageId(long largeImageId)
                        throws SystemException
Counts all the i g images where largeImageId = ?.

Specified by:
countByLargeImageId in interface IGImagePersistence
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 int countByCustom1ImageId(long custom1ImageId)
                          throws SystemException
Counts all the i g images where custom1ImageId = ?.

Specified by:
countByCustom1ImageId in interface IGImagePersistence
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 int countByCustom2ImageId(long custom2ImageId)
                          throws SystemException
Counts all the i g images where custom2ImageId = ?.

Specified by:
countByCustom2ImageId in interface IGImagePersistence
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 int countByG_U(long groupId,
                      long userId)
               throws SystemException
Counts all the i g images where groupId = ? and userId = ?.

Specified by:
countByG_U in interface IGImagePersistence
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 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 = ?.

Specified by:
filterCountByG_U in interface IGImagePersistence
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 int countByG_F(long groupId,
                      long folderId)
               throws SystemException
Counts all the i g images where groupId = ? and folderId = ?.

Specified by:
countByG_F in interface IGImagePersistence
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 int countByG_F(long groupId,
                      long[] folderIds)
               throws SystemException
Counts all the i g images where groupId = ? and folderId = any ?.

Specified by:
countByG_F in interface IGImagePersistence
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 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 = ?.

Specified by:
filterCountByG_F in interface IGImagePersistence
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 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 ?.

Specified by:
filterCountByG_F in interface IGImagePersistence
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 int countByG_F_N(long groupId,
                        long folderId,
                        String name)
                 throws SystemException
Counts all the i g images where groupId = ? and folderId = ? and name = ?.

Specified by:
countByG_F_N in interface IGImagePersistence
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 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 = ?.

Specified by:
filterCountByG_F_N in interface IGImagePersistence
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 int countAll()
             throws SystemException
Counts all the i g images.

Specified by:
countAll in interface IGImagePersistence
Returns:
the number of i g images
Throws:
SystemException - if a system exception occurred

afterPropertiesSet

public void afterPropertiesSet()
Initializes the i g image persistence.


Liferay 6.0.5