Liferay 6.0.3

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

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()
           
 void cacheResult(IGImage igImage)
           
 void cacheResult(List<IGImage> igImages)
           
 void clearCache()
          Clears the cache for all instances of this model.
 void clearCache(IGImage igImage)
          Clears the cache for one instance of this model.
 int countAll()
           
 int countByCustom1ImageId(long custom1ImageId)
           
 int countByCustom2ImageId(long custom2ImageId)
           
 int countByG_F_N(long groupId, long folderId, String name)
           
 int countByG_F(long groupId, long folderId)
           
 int countByG_F(long groupId, long[] folderIds)
           
 int countByG_U(long groupId, long userId)
           
 int countByGroupId(long groupId)
           
 int countByLargeImageId(long largeImageId)
           
 int countBySmallImageId(long smallImageId)
           
 int countByUUID_G(String uuid, long groupId)
           
 int countByUuid(String uuid)
           
 IGImage create(long imageId)
           
 IGImage fetchByCustom1ImageId(long custom1ImageId)
           
 IGImage fetchByCustom1ImageId(long custom1ImageId, boolean retrieveFromCache)
           
 IGImage fetchByCustom2ImageId(long custom2ImageId)
           
 IGImage fetchByCustom2ImageId(long custom2ImageId, boolean retrieveFromCache)
           
 IGImage fetchByLargeImageId(long largeImageId)
           
 IGImage fetchByLargeImageId(long largeImageId, boolean retrieveFromCache)
           
 IGImage fetchByPrimaryKey(long imageId)
           
 IGImage fetchByPrimaryKey(Serializable primaryKey)
          Finds an instance of this model by its primary key, or return null if it could not be found.
 IGImage fetchBySmallImageId(long smallImageId)
           
 IGImage fetchBySmallImageId(long smallImageId, boolean retrieveFromCache)
           
 IGImage fetchByUUID_G(String uuid, long groupId)
           
 IGImage fetchByUUID_G(String uuid, long groupId, boolean retrieveFromCache)
           
 int filterCountByG_F_N(long groupId, long folderId, String name)
           
 int filterCountByG_F(long groupId, long folderId)
           
 int filterCountByG_F(long groupId, long[] folderIds)
           
 int filterCountByG_U(long groupId, long userId)
           
 int filterCountByGroupId(long groupId)
           
 List<IGImage> filterFindByG_F_N(long groupId, long folderId, String name)
           
 List<IGImage> filterFindByG_F_N(long groupId, long folderId, String name, int start, int end)
           
 List<IGImage> filterFindByG_F_N(long groupId, long folderId, String name, int start, int end, OrderByComparator orderByComparator)
           
 List<IGImage> filterFindByG_F(long groupId, long folderId)
           
 List<IGImage> filterFindByG_F(long groupId, long[] folderIds)
           
 List<IGImage> filterFindByG_F(long groupId, long[] folderIds, int start, int end)
           
 List<IGImage> filterFindByG_F(long groupId, long[] folderIds, int start, int end, OrderByComparator orderByComparator)
           
 List<IGImage> filterFindByG_F(long groupId, long folderId, int start, int end)
           
 List<IGImage> filterFindByG_F(long groupId, long folderId, int start, int end, OrderByComparator orderByComparator)
           
 List<IGImage> filterFindByG_U(long groupId, long userId)
           
 List<IGImage> filterFindByG_U(long groupId, long userId, int start, int end)
           
 List<IGImage> filterFindByG_U(long groupId, long userId, int start, int end, OrderByComparator orderByComparator)
           
 List<IGImage> filterFindByGroupId(long groupId)
           
 List<IGImage> filterFindByGroupId(long groupId, int start, int end)
           
 List<IGImage> filterFindByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
           
 List<IGImage> findAll()
           
 List<IGImage> findAll(int start, int end)
           
 List<IGImage> findAll(int start, int end, OrderByComparator orderByComparator)
           
 IGImage findByCustom1ImageId(long custom1ImageId)
           
 IGImage findByCustom2ImageId(long custom2ImageId)
           
 IGImage findByG_F_First(long groupId, long folderId, OrderByComparator orderByComparator)
           
 IGImage findByG_F_Last(long groupId, long folderId, OrderByComparator orderByComparator)
           
 IGImage findByG_F_N_First(long groupId, long folderId, String name, OrderByComparator orderByComparator)
           
 IGImage findByG_F_N_Last(long groupId, long folderId, String name, OrderByComparator orderByComparator)
           
 IGImage[] findByG_F_N_PrevAndNext(long imageId, long groupId, long folderId, String name, OrderByComparator orderByComparator)
           
 List<IGImage> findByG_F_N(long groupId, long folderId, String name)
           
 List<IGImage> findByG_F_N(long groupId, long folderId, String name, int start, int end)
           
 List<IGImage> findByG_F_N(long groupId, long folderId, String name, int start, int end, OrderByComparator orderByComparator)
           
 IGImage[] findByG_F_PrevAndNext(long imageId, long groupId, long folderId, OrderByComparator orderByComparator)
           
 List<IGImage> findByG_F(long groupId, long folderId)
           
 List<IGImage> findByG_F(long groupId, long[] folderIds)
           
 List<IGImage> findByG_F(long groupId, long[] folderIds, int start, int end)
           
 List<IGImage> findByG_F(long groupId, long[] folderIds, int start, int end, OrderByComparator orderByComparator)
           
 List<IGImage> findByG_F(long groupId, long folderId, int start, int end)
           
 List<IGImage> findByG_F(long groupId, long folderId, int start, int end, OrderByComparator orderByComparator)
           
 IGImage findByG_U_First(long groupId, long userId, OrderByComparator orderByComparator)
           
 IGImage findByG_U_Last(long groupId, long userId, OrderByComparator orderByComparator)
           
 IGImage[] findByG_U_PrevAndNext(long imageId, long groupId, long userId, OrderByComparator orderByComparator)
           
 List<IGImage> findByG_U(long groupId, long userId)
           
 List<IGImage> findByG_U(long groupId, long userId, int start, int end)
           
 List<IGImage> findByG_U(long groupId, long userId, int start, int end, OrderByComparator orderByComparator)
           
 IGImage findByGroupId_First(long groupId, OrderByComparator orderByComparator)
           
 IGImage findByGroupId_Last(long groupId, OrderByComparator orderByComparator)
           
 IGImage[] findByGroupId_PrevAndNext(long imageId, long groupId, OrderByComparator orderByComparator)
           
 List<IGImage> findByGroupId(long groupId)
           
 List<IGImage> findByGroupId(long groupId, int start, int end)
           
 List<IGImage> findByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
           
 IGImage findByLargeImageId(long largeImageId)
           
 IGImage findByPrimaryKey(long imageId)
           
 IGImage findByPrimaryKey(Serializable primaryKey)
          Finds an instance of this model by its primary key, or throw an exception if it could not be found.
 IGImage findBySmallImageId(long smallImageId)
           
 IGImage findByUuid_First(String uuid, OrderByComparator orderByComparator)
           
 IGImage findByUUID_G(String uuid, long groupId)
           
 IGImage findByUuid_Last(String uuid, OrderByComparator orderByComparator)
           
 IGImage[] findByUuid_PrevAndNext(long imageId, String uuid, OrderByComparator orderByComparator)
           
 List<IGImage> findByUuid(String uuid)
           
 List<IGImage> findByUuid(String uuid, int start, int end)
           
 List<IGImage> findByUuid(String uuid, int start, int end, OrderByComparator orderByComparator)
           
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)
           
 IGImage remove(Serializable primaryKey)
          Removes the model instance identified by the primary key from the database, and notifies the appropriate model listeners.
 void removeAll()
           
 void removeByCustom1ImageId(long custom1ImageId)
           
 void removeByCustom2ImageId(long custom2ImageId)
           
 void removeByG_F_N(long groupId, long folderId, String name)
           
 void removeByG_F(long groupId, long folderId)
           
 void removeByG_U(long groupId, long userId)
           
 void removeByGroupId(long groupId)
           
 void removeByLargeImageId(long largeImageId)
           
 void removeBySmallImageId(long smallImageId)
           
 void removeByUUID_G(String uuid, long groupId)
           
 void removeByUuid(String uuid)
           
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)
Specified by:
cacheResult in interface IGImagePersistence

cacheResult

public void cacheResult(List<IGImage> igImages)
Specified by:
cacheResult in interface IGImagePersistence

clearCache

public void clearCache()
Description copied from interface: BasePersistence
Clears the cache for all instances of this model.

The EntityCache and FinderCache are both cleared by this method.

Caching information and settings can be found in portal.properties

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

clearCache

public void clearCache(IGImage igImage)
Description copied from interface: BasePersistence
Clears the cache for one instance of this model.

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

remove

public IGImage remove(Serializable primaryKey)
               throws NoSuchModelException,
                      SystemException
Description copied from interface: BasePersistence
Removes the model instance identified by the primary key from the database, and 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 model instance to remove
Returns:
the model instance that was removed
Throws:
NoSuchModelException - if an instance of this model with the primary key does not exist
SystemException - if a system exception occurred

remove

public IGImage remove(long imageId)
               throws NoSuchImageException,
                      SystemException
Specified by:
remove in interface IGImagePersistence
Throws:
NoSuchImageException
SystemException

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
Description copied from interface: BasePersistence
Finds an instance of this model by its primary key, or throw an exception 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 model instance to find
Returns:
the model instance
Throws:
NoSuchModelException - if an instance of this model with the primary key does not exist
SystemException - if the primary key is null, or if a system exception occurred

findByPrimaryKey

public IGImage findByPrimaryKey(long imageId)
                         throws NoSuchImageException,
                                SystemException
Specified by:
findByPrimaryKey in interface IGImagePersistence
Throws:
NoSuchImageException
SystemException

fetchByPrimaryKey

public IGImage fetchByPrimaryKey(Serializable primaryKey)
                          throws SystemException
Description copied from interface: BasePersistence
Finds an instance of this model by its primary key, or return 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 model instance to find
Returns:
the model instance, or null if an instance of this model with the primary key does not exist
Throws:
SystemException - if the primary key is null, or if a system exception occurred

fetchByPrimaryKey

public IGImage fetchByPrimaryKey(long imageId)
                          throws SystemException
Specified by:
fetchByPrimaryKey in interface IGImagePersistence
Throws:
SystemException

findByUuid

public List<IGImage> findByUuid(String uuid)
                         throws SystemException
Specified by:
findByUuid in interface IGImagePersistence
Throws:
SystemException

findByUuid

public List<IGImage> findByUuid(String uuid,
                                int start,
                                int end)
                         throws SystemException
Specified by:
findByUuid in interface IGImagePersistence
Throws:
SystemException

findByUuid

public List<IGImage> findByUuid(String uuid,
                                int start,
                                int end,
                                OrderByComparator orderByComparator)
                         throws SystemException
Specified by:
findByUuid in interface IGImagePersistence
Throws:
SystemException

findByUuid_First

public IGImage findByUuid_First(String uuid,
                                OrderByComparator orderByComparator)
                         throws NoSuchImageException,
                                SystemException
Specified by:
findByUuid_First in interface IGImagePersistence
Throws:
NoSuchImageException
SystemException

findByUuid_Last

public IGImage findByUuid_Last(String uuid,
                               OrderByComparator orderByComparator)
                        throws NoSuchImageException,
                               SystemException
Specified by:
findByUuid_Last in interface IGImagePersistence
Throws:
NoSuchImageException
SystemException

findByUuid_PrevAndNext

public IGImage[] findByUuid_PrevAndNext(long imageId,
                                        String uuid,
                                        OrderByComparator orderByComparator)
                                 throws NoSuchImageException,
                                        SystemException
Specified by:
findByUuid_PrevAndNext in interface IGImagePersistence
Throws:
NoSuchImageException
SystemException

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
Specified by:
findByUUID_G in interface IGImagePersistence
Throws:
NoSuchImageException
SystemException

fetchByUUID_G

public IGImage fetchByUUID_G(String uuid,
                             long groupId)
                      throws SystemException
Specified by:
fetchByUUID_G in interface IGImagePersistence
Throws:
SystemException

fetchByUUID_G

public IGImage fetchByUUID_G(String uuid,
                             long groupId,
                             boolean retrieveFromCache)
                      throws SystemException
Specified by:
fetchByUUID_G in interface IGImagePersistence
Throws:
SystemException

findByGroupId

public List<IGImage> findByGroupId(long groupId)
                            throws SystemException
Specified by:
findByGroupId in interface IGImagePersistence
Throws:
SystemException

findByGroupId

public List<IGImage> findByGroupId(long groupId,
                                   int start,
                                   int end)
                            throws SystemException
Specified by:
findByGroupId in interface IGImagePersistence
Throws:
SystemException

findByGroupId

public List<IGImage> findByGroupId(long groupId,
                                   int start,
                                   int end,
                                   OrderByComparator orderByComparator)
                            throws SystemException
Specified by:
findByGroupId in interface IGImagePersistence
Throws:
SystemException

findByGroupId_First

public IGImage findByGroupId_First(long groupId,
                                   OrderByComparator orderByComparator)
                            throws NoSuchImageException,
                                   SystemException
Specified by:
findByGroupId_First in interface IGImagePersistence
Throws:
NoSuchImageException
SystemException

findByGroupId_Last

public IGImage findByGroupId_Last(long groupId,
                                  OrderByComparator orderByComparator)
                           throws NoSuchImageException,
                                  SystemException
Specified by:
findByGroupId_Last in interface IGImagePersistence
Throws:
NoSuchImageException
SystemException

findByGroupId_PrevAndNext

public IGImage[] findByGroupId_PrevAndNext(long imageId,
                                           long groupId,
                                           OrderByComparator orderByComparator)
                                    throws NoSuchImageException,
                                           SystemException
Specified by:
findByGroupId_PrevAndNext in interface IGImagePersistence
Throws:
NoSuchImageException
SystemException

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

filterFindByGroupId

public List<IGImage> filterFindByGroupId(long groupId,
                                         int start,
                                         int end)
                                  throws SystemException
Specified by:
filterFindByGroupId in interface IGImagePersistence
Throws:
SystemException

filterFindByGroupId

public List<IGImage> filterFindByGroupId(long groupId,
                                         int start,
                                         int end,
                                         OrderByComparator orderByComparator)
                                  throws SystemException
Specified by:
filterFindByGroupId in interface IGImagePersistence
Throws:
SystemException

findBySmallImageId

public IGImage findBySmallImageId(long smallImageId)
                           throws NoSuchImageException,
                                  SystemException
Specified by:
findBySmallImageId in interface IGImagePersistence
Throws:
NoSuchImageException
SystemException

fetchBySmallImageId

public IGImage fetchBySmallImageId(long smallImageId)
                            throws SystemException
Specified by:
fetchBySmallImageId in interface IGImagePersistence
Throws:
SystemException

fetchBySmallImageId

public IGImage fetchBySmallImageId(long smallImageId,
                                   boolean retrieveFromCache)
                            throws SystemException
Specified by:
fetchBySmallImageId in interface IGImagePersistence
Throws:
SystemException

findByLargeImageId

public IGImage findByLargeImageId(long largeImageId)
                           throws NoSuchImageException,
                                  SystemException
Specified by:
findByLargeImageId in interface IGImagePersistence
Throws:
NoSuchImageException
SystemException

fetchByLargeImageId

public IGImage fetchByLargeImageId(long largeImageId)
                            throws SystemException
Specified by:
fetchByLargeImageId in interface IGImagePersistence
Throws:
SystemException

fetchByLargeImageId

public IGImage fetchByLargeImageId(long largeImageId,
                                   boolean retrieveFromCache)
                            throws SystemException
Specified by:
fetchByLargeImageId in interface IGImagePersistence
Throws:
SystemException

findByCustom1ImageId

public IGImage findByCustom1ImageId(long custom1ImageId)
                             throws NoSuchImageException,
                                    SystemException
Specified by:
findByCustom1ImageId in interface IGImagePersistence
Throws:
NoSuchImageException
SystemException

fetchByCustom1ImageId

public IGImage fetchByCustom1ImageId(long custom1ImageId)
                              throws SystemException
Specified by:
fetchByCustom1ImageId in interface IGImagePersistence
Throws:
SystemException

fetchByCustom1ImageId

public IGImage fetchByCustom1ImageId(long custom1ImageId,
                                     boolean retrieveFromCache)
                              throws SystemException
Specified by:
fetchByCustom1ImageId in interface IGImagePersistence
Throws:
SystemException

findByCustom2ImageId

public IGImage findByCustom2ImageId(long custom2ImageId)
                             throws NoSuchImageException,
                                    SystemException
Specified by:
findByCustom2ImageId in interface IGImagePersistence
Throws:
NoSuchImageException
SystemException

fetchByCustom2ImageId

public IGImage fetchByCustom2ImageId(long custom2ImageId)
                              throws SystemException
Specified by:
fetchByCustom2ImageId in interface IGImagePersistence
Throws:
SystemException

fetchByCustom2ImageId

public IGImage fetchByCustom2ImageId(long custom2ImageId,
                                     boolean retrieveFromCache)
                              throws SystemException
Specified by:
fetchByCustom2ImageId in interface IGImagePersistence
Throws:
SystemException

findByG_U

public List<IGImage> findByG_U(long groupId,
                               long userId)
                        throws SystemException
Specified by:
findByG_U in interface IGImagePersistence
Throws:
SystemException

findByG_U

public List<IGImage> findByG_U(long groupId,
                               long userId,
                               int start,
                               int end)
                        throws SystemException
Specified by:
findByG_U in interface IGImagePersistence
Throws:
SystemException

findByG_U

public List<IGImage> findByG_U(long groupId,
                               long userId,
                               int start,
                               int end,
                               OrderByComparator orderByComparator)
                        throws SystemException
Specified by:
findByG_U in interface IGImagePersistence
Throws:
SystemException

findByG_U_First

public IGImage findByG_U_First(long groupId,
                               long userId,
                               OrderByComparator orderByComparator)
                        throws NoSuchImageException,
                               SystemException
Specified by:
findByG_U_First in interface IGImagePersistence
Throws:
NoSuchImageException
SystemException

findByG_U_Last

public IGImage findByG_U_Last(long groupId,
                              long userId,
                              OrderByComparator orderByComparator)
                       throws NoSuchImageException,
                              SystemException
Specified by:
findByG_U_Last in interface IGImagePersistence
Throws:
NoSuchImageException
SystemException

findByG_U_PrevAndNext

public IGImage[] findByG_U_PrevAndNext(long imageId,
                                       long groupId,
                                       long userId,
                                       OrderByComparator orderByComparator)
                                throws NoSuchImageException,
                                       SystemException
Specified by:
findByG_U_PrevAndNext in interface IGImagePersistence
Throws:
NoSuchImageException
SystemException

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

filterFindByG_U

public List<IGImage> filterFindByG_U(long groupId,
                                     long userId,
                                     int start,
                                     int end)
                              throws SystemException
Specified by:
filterFindByG_U in interface IGImagePersistence
Throws:
SystemException

filterFindByG_U

public List<IGImage> filterFindByG_U(long groupId,
                                     long userId,
                                     int start,
                                     int end,
                                     OrderByComparator orderByComparator)
                              throws SystemException
Specified by:
filterFindByG_U in interface IGImagePersistence
Throws:
SystemException

findByG_F

public List<IGImage> findByG_F(long groupId,
                               long folderId)
                        throws SystemException
Specified by:
findByG_F in interface IGImagePersistence
Throws:
SystemException

findByG_F

public List<IGImage> findByG_F(long groupId,
                               long folderId,
                               int start,
                               int end)
                        throws SystemException
Specified by:
findByG_F in interface IGImagePersistence
Throws:
SystemException

findByG_F

public List<IGImage> findByG_F(long groupId,
                               long folderId,
                               int start,
                               int end,
                               OrderByComparator orderByComparator)
                        throws SystemException
Specified by:
findByG_F in interface IGImagePersistence
Throws:
SystemException

findByG_F_First

public IGImage findByG_F_First(long groupId,
                               long folderId,
                               OrderByComparator orderByComparator)
                        throws NoSuchImageException,
                               SystemException
Specified by:
findByG_F_First in interface IGImagePersistence
Throws:
NoSuchImageException
SystemException

findByG_F_Last

public IGImage findByG_F_Last(long groupId,
                              long folderId,
                              OrderByComparator orderByComparator)
                       throws NoSuchImageException,
                              SystemException
Specified by:
findByG_F_Last in interface IGImagePersistence
Throws:
NoSuchImageException
SystemException

findByG_F_PrevAndNext

public IGImage[] findByG_F_PrevAndNext(long imageId,
                                       long groupId,
                                       long folderId,
                                       OrderByComparator orderByComparator)
                                throws NoSuchImageException,
                                       SystemException
Specified by:
findByG_F_PrevAndNext in interface IGImagePersistence
Throws:
NoSuchImageException
SystemException

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

findByG_F

public List<IGImage> findByG_F(long groupId,
                               long[] folderIds,
                               int start,
                               int end)
                        throws SystemException
Specified by:
findByG_F in interface IGImagePersistence
Throws:
SystemException

findByG_F

public List<IGImage> findByG_F(long groupId,
                               long[] folderIds,
                               int start,
                               int end,
                               OrderByComparator orderByComparator)
                        throws SystemException
Specified by:
findByG_F in interface IGImagePersistence
Throws:
SystemException

filterFindByG_F

public List<IGImage> filterFindByG_F(long groupId,
                                     long folderId)
                              throws SystemException
Specified by:
filterFindByG_F in interface IGImagePersistence
Throws:
SystemException

filterFindByG_F

public List<IGImage> filterFindByG_F(long groupId,
                                     long folderId,
                                     int start,
                                     int end)
                              throws SystemException
Specified by:
filterFindByG_F in interface IGImagePersistence
Throws:
SystemException

filterFindByG_F

public List<IGImage> filterFindByG_F(long groupId,
                                     long folderId,
                                     int start,
                                     int end,
                                     OrderByComparator orderByComparator)
                              throws SystemException
Specified by:
filterFindByG_F in interface IGImagePersistence
Throws:
SystemException

filterFindByG_F

public List<IGImage> filterFindByG_F(long groupId,
                                     long[] folderIds)
                              throws SystemException
Specified by:
filterFindByG_F in interface IGImagePersistence
Throws:
SystemException

filterFindByG_F

public List<IGImage> filterFindByG_F(long groupId,
                                     long[] folderIds,
                                     int start,
                                     int end)
                              throws SystemException
Specified by:
filterFindByG_F in interface IGImagePersistence
Throws:
SystemException

filterFindByG_F

public List<IGImage> filterFindByG_F(long groupId,
                                     long[] folderIds,
                                     int start,
                                     int end,
                                     OrderByComparator orderByComparator)
                              throws SystemException
Specified by:
filterFindByG_F in interface IGImagePersistence
Throws:
SystemException

findByG_F_N

public List<IGImage> findByG_F_N(long groupId,
                                 long folderId,
                                 String name)
                          throws SystemException
Specified by:
findByG_F_N in interface IGImagePersistence
Throws:
SystemException

findByG_F_N

public List<IGImage> findByG_F_N(long groupId,
                                 long folderId,
                                 String name,
                                 int start,
                                 int end)
                          throws SystemException
Specified by:
findByG_F_N in interface IGImagePersistence
Throws:
SystemException

findByG_F_N

public List<IGImage> findByG_F_N(long groupId,
                                 long folderId,
                                 String name,
                                 int start,
                                 int end,
                                 OrderByComparator orderByComparator)
                          throws SystemException
Specified by:
findByG_F_N in interface IGImagePersistence
Throws:
SystemException

findByG_F_N_First

public IGImage findByG_F_N_First(long groupId,
                                 long folderId,
                                 String name,
                                 OrderByComparator orderByComparator)
                          throws NoSuchImageException,
                                 SystemException
Specified by:
findByG_F_N_First in interface IGImagePersistence
Throws:
NoSuchImageException
SystemException

findByG_F_N_Last

public IGImage findByG_F_N_Last(long groupId,
                                long folderId,
                                String name,
                                OrderByComparator orderByComparator)
                         throws NoSuchImageException,
                                SystemException
Specified by:
findByG_F_N_Last in interface IGImagePersistence
Throws:
NoSuchImageException
SystemException

findByG_F_N_PrevAndNext

public IGImage[] findByG_F_N_PrevAndNext(long imageId,
                                         long groupId,
                                         long folderId,
                                         String name,
                                         OrderByComparator orderByComparator)
                                  throws NoSuchImageException,
                                         SystemException
Specified by:
findByG_F_N_PrevAndNext in interface IGImagePersistence
Throws:
NoSuchImageException
SystemException

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

filterFindByG_F_N

public List<IGImage> filterFindByG_F_N(long groupId,
                                       long folderId,
                                       String name,
                                       int start,
                                       int end)
                                throws SystemException
Specified by:
filterFindByG_F_N in interface IGImagePersistence
Throws:
SystemException

filterFindByG_F_N

public List<IGImage> filterFindByG_F_N(long groupId,
                                       long folderId,
                                       String name,
                                       int start,
                                       int end,
                                       OrderByComparator orderByComparator)
                                throws SystemException
Specified by:
filterFindByG_F_N in interface IGImagePersistence
Throws:
SystemException

findAll

public List<IGImage> findAll()
                      throws SystemException
Specified by:
findAll in interface IGImagePersistence
Throws:
SystemException

findAll

public List<IGImage> findAll(int start,
                             int end)
                      throws SystemException
Specified by:
findAll in interface IGImagePersistence
Throws:
SystemException

findAll

public List<IGImage> findAll(int start,
                             int end,
                             OrderByComparator orderByComparator)
                      throws SystemException
Specified by:
findAll in interface IGImagePersistence
Throws:
SystemException

removeByUuid

public void removeByUuid(String uuid)
                  throws SystemException
Specified by:
removeByUuid in interface IGImagePersistence
Throws:
SystemException

removeByUUID_G

public void removeByUUID_G(String uuid,
                           long groupId)
                    throws NoSuchImageException,
                           SystemException
Specified by:
removeByUUID_G in interface IGImagePersistence
Throws:
NoSuchImageException
SystemException

removeByGroupId

public void removeByGroupId(long groupId)
                     throws SystemException
Specified by:
removeByGroupId in interface IGImagePersistence
Throws:
SystemException

removeBySmallImageId

public void removeBySmallImageId(long smallImageId)
                          throws NoSuchImageException,
                                 SystemException
Specified by:
removeBySmallImageId in interface IGImagePersistence
Throws:
NoSuchImageException
SystemException

removeByLargeImageId

public void removeByLargeImageId(long largeImageId)
                          throws NoSuchImageException,
                                 SystemException
Specified by:
removeByLargeImageId in interface IGImagePersistence
Throws:
NoSuchImageException
SystemException

removeByCustom1ImageId

public void removeByCustom1ImageId(long custom1ImageId)
                            throws NoSuchImageException,
                                   SystemException
Specified by:
removeByCustom1ImageId in interface IGImagePersistence
Throws:
NoSuchImageException
SystemException

removeByCustom2ImageId

public void removeByCustom2ImageId(long custom2ImageId)
                            throws NoSuchImageException,
                                   SystemException
Specified by:
removeByCustom2ImageId in interface IGImagePersistence
Throws:
NoSuchImageException
SystemException

removeByG_U

public void removeByG_U(long groupId,
                        long userId)
                 throws SystemException
Specified by:
removeByG_U in interface IGImagePersistence
Throws:
SystemException

removeByG_F

public void removeByG_F(long groupId,
                        long folderId)
                 throws SystemException
Specified by:
removeByG_F in interface IGImagePersistence
Throws:
SystemException

removeByG_F_N

public void removeByG_F_N(long groupId,
                          long folderId,
                          String name)
                   throws SystemException
Specified by:
removeByG_F_N in interface IGImagePersistence
Throws:
SystemException

removeAll

public void removeAll()
               throws SystemException
Specified by:
removeAll in interface IGImagePersistence
Throws:
SystemException

countByUuid

public int countByUuid(String uuid)
                throws SystemException
Specified by:
countByUuid in interface IGImagePersistence
Throws:
SystemException

countByUUID_G

public int countByUUID_G(String uuid,
                         long groupId)
                  throws SystemException
Specified by:
countByUUID_G in interface IGImagePersistence
Throws:
SystemException

countByGroupId

public int countByGroupId(long groupId)
                   throws SystemException
Specified by:
countByGroupId in interface IGImagePersistence
Throws:
SystemException

filterCountByGroupId

public int filterCountByGroupId(long groupId)
                         throws SystemException
Specified by:
filterCountByGroupId in interface IGImagePersistence
Throws:
SystemException

countBySmallImageId

public int countBySmallImageId(long smallImageId)
                        throws SystemException
Specified by:
countBySmallImageId in interface IGImagePersistence
Throws:
SystemException

countByLargeImageId

public int countByLargeImageId(long largeImageId)
                        throws SystemException
Specified by:
countByLargeImageId in interface IGImagePersistence
Throws:
SystemException

countByCustom1ImageId

public int countByCustom1ImageId(long custom1ImageId)
                          throws SystemException
Specified by:
countByCustom1ImageId in interface IGImagePersistence
Throws:
SystemException

countByCustom2ImageId

public int countByCustom2ImageId(long custom2ImageId)
                          throws SystemException
Specified by:
countByCustom2ImageId in interface IGImagePersistence
Throws:
SystemException

countByG_U

public int countByG_U(long groupId,
                      long userId)
               throws SystemException
Specified by:
countByG_U in interface IGImagePersistence
Throws:
SystemException

filterCountByG_U

public int filterCountByG_U(long groupId,
                            long userId)
                     throws SystemException
Specified by:
filterCountByG_U in interface IGImagePersistence
Throws:
SystemException

countByG_F

public int countByG_F(long groupId,
                      long folderId)
               throws SystemException
Specified by:
countByG_F in interface IGImagePersistence
Throws:
SystemException

countByG_F

public int countByG_F(long groupId,
                      long[] folderIds)
               throws SystemException
Specified by:
countByG_F in interface IGImagePersistence
Throws:
SystemException

filterCountByG_F

public int filterCountByG_F(long groupId,
                            long folderId)
                     throws SystemException
Specified by:
filterCountByG_F in interface IGImagePersistence
Throws:
SystemException

filterCountByG_F

public int filterCountByG_F(long groupId,
                            long[] folderIds)
                     throws SystemException
Specified by:
filterCountByG_F in interface IGImagePersistence
Throws:
SystemException

countByG_F_N

public int countByG_F_N(long groupId,
                        long folderId,
                        String name)
                 throws SystemException
Specified by:
countByG_F_N in interface IGImagePersistence
Throws:
SystemException

filterCountByG_F_N

public int filterCountByG_F_N(long groupId,
                              long folderId,
                              String name)
                       throws SystemException
Specified by:
filterCountByG_F_N in interface IGImagePersistence
Throws:
SystemException

countAll

public int countAll()
             throws SystemException
Specified by:
countAll in interface IGImagePersistence
Throws:
SystemException

afterPropertiesSet

public void afterPropertiesSet()

Liferay 6.0.3