com.liferay.portlet.imagegallery.service.persistence
Interface IGImagePersistence

All Superinterfaces:
BasePersistence<IGImage>

public interface IGImagePersistence
extends BasePersistence<IGImage>

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Author:
Brian Wing Shun Chan
See Also:
IGImagePersistenceImpl, IGImageUtil
Generated:

Method Summary
 void cacheResult(IGImage igImage)
           
 void cacheResult(java.util.List<IGImage> igImages)
           
 int countAll()
           
 int countByCustom1ImageId(long custom1ImageId)
           
 int countByCustom2ImageId(long custom2ImageId)
           
 int countByF_N(long folderId, java.lang.String name)
           
 int countByFolderId(long folderId)
           
 int countByG_U(long groupId, long userId)
           
 int countByGroupId(long groupId)
           
 int countByLargeImageId(long largeImageId)
           
 int countBySmallImageId(long smallImageId)
           
 int countByUUID_G(java.lang.String uuid, long groupId)
           
 int countByUuid(java.lang.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 fetchBySmallImageId(long smallImageId)
           
 IGImage fetchBySmallImageId(long smallImageId, boolean retrieveFromCache)
           
 IGImage fetchByUUID_G(java.lang.String uuid, long groupId)
           
 IGImage fetchByUUID_G(java.lang.String uuid, long groupId, boolean retrieveFromCache)
           
 java.util.List<IGImage> findAll()
           
 java.util.List<IGImage> findAll(int start, int end)
           
 java.util.List<IGImage> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 IGImage findByCustom1ImageId(long custom1ImageId)
           
 IGImage findByCustom2ImageId(long custom2ImageId)
           
 IGImage findByF_N_First(long folderId, java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 IGImage findByF_N_Last(long folderId, java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 IGImage[] findByF_N_PrevAndNext(long imageId, long folderId, java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 java.util.List<IGImage> findByF_N(long folderId, java.lang.String name)
           
 java.util.List<IGImage> findByF_N(long folderId, java.lang.String name, int start, int end)
           
 java.util.List<IGImage> findByF_N(long folderId, java.lang.String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 IGImage findByFolderId_First(long folderId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 IGImage findByFolderId_Last(long folderId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 IGImage[] findByFolderId_PrevAndNext(long imageId, long folderId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 java.util.List<IGImage> findByFolderId(long folderId)
           
 java.util.List<IGImage> findByFolderId(long folderId, int start, int end)
           
 java.util.List<IGImage> findByFolderId(long folderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 IGImage findByG_U_First(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 IGImage findByG_U_Last(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 IGImage[] findByG_U_PrevAndNext(long imageId, long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 java.util.List<IGImage> findByG_U(long groupId, long userId)
           
 java.util.List<IGImage> findByG_U(long groupId, long userId, int start, int end)
           
 java.util.List<IGImage> findByG_U(long groupId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 IGImage findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 IGImage findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 IGImage[] findByGroupId_PrevAndNext(long imageId, long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 java.util.List<IGImage> findByGroupId(long groupId)
           
 java.util.List<IGImage> findByGroupId(long groupId, int start, int end)
           
 java.util.List<IGImage> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 IGImage findByLargeImageId(long largeImageId)
           
 IGImage findByPrimaryKey(long imageId)
           
 IGImage findBySmallImageId(long smallImageId)
           
 IGImage findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 IGImage findByUUID_G(java.lang.String uuid, long groupId)
           
 IGImage findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 IGImage[] findByUuid_PrevAndNext(long imageId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 java.util.List<IGImage> findByUuid(java.lang.String uuid)
           
 java.util.List<IGImage> findByUuid(java.lang.String uuid, int start, int end)
           
 java.util.List<IGImage> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 IGImage remove(long imageId)
           
 void removeAll()
           
 void removeByCustom1ImageId(long custom1ImageId)
           
 void removeByCustom2ImageId(long custom2ImageId)
           
 void removeByF_N(long folderId, java.lang.String name)
           
 void removeByFolderId(long folderId)
           
 void removeByG_U(long groupId, long userId)
           
 void removeByGroupId(long groupId)
           
 void removeByLargeImageId(long largeImageId)
           
 void removeBySmallImageId(long smallImageId)
           
 void removeByUUID_G(java.lang.String uuid, long groupId)
           
 void removeByUuid(java.lang.String uuid)
           
 IGImage update(IGImage igImage)
          Deprecated. Use BasePersistence.update(com.liferay.portal.model.BaseModel, boolean).
 IGImage updateImpl(IGImage igImage, boolean merge)
           
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
clearCache, clearCache, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, remove, setDataSource, unregisterListener, update
 

Method Detail

cacheResult

void cacheResult(IGImage igImage)

cacheResult

void cacheResult(java.util.List<IGImage> igImages)

create

IGImage create(long imageId)

remove

IGImage remove(long imageId)
               throws com.liferay.portal.SystemException,
                      NoSuchImageException
Throws:
com.liferay.portal.SystemException
NoSuchImageException

update

IGImage update(IGImage igImage)
               throws com.liferay.portal.SystemException
Deprecated. Use BasePersistence.update(com.liferay.portal.model.BaseModel, boolean).

Throws:
com.liferay.portal.SystemException

updateImpl

IGImage updateImpl(IGImage igImage,
                   boolean merge)
                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

IGImage findByPrimaryKey(long imageId)
                         throws com.liferay.portal.SystemException,
                                NoSuchImageException
Throws:
com.liferay.portal.SystemException
NoSuchImageException

fetchByPrimaryKey

IGImage fetchByPrimaryKey(long imageId)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUuid

java.util.List<IGImage> findByUuid(java.lang.String uuid)
                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUuid

java.util.List<IGImage> findByUuid(java.lang.String uuid,
                                   int start,
                                   int end)
                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUuid

java.util.List<IGImage> findByUuid(java.lang.String uuid,
                                   int start,
                                   int end,
                                   com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUuid_First

IGImage findByUuid_First(java.lang.String uuid,
                         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                         throws com.liferay.portal.SystemException,
                                NoSuchImageException
Throws:
com.liferay.portal.SystemException
NoSuchImageException

findByUuid_Last

IGImage findByUuid_Last(java.lang.String uuid,
                        com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                        throws com.liferay.portal.SystemException,
                               NoSuchImageException
Throws:
com.liferay.portal.SystemException
NoSuchImageException

findByUuid_PrevAndNext

IGImage[] findByUuid_PrevAndNext(long imageId,
                                 java.lang.String uuid,
                                 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                 throws com.liferay.portal.SystemException,
                                        NoSuchImageException
Throws:
com.liferay.portal.SystemException
NoSuchImageException

findByUUID_G

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

fetchByUUID_G

IGImage fetchByUUID_G(java.lang.String uuid,
                      long groupId)
                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

fetchByUUID_G

IGImage fetchByUUID_G(java.lang.String uuid,
                      long groupId,
                      boolean retrieveFromCache)
                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByGroupId

java.util.List<IGImage> findByGroupId(long groupId)
                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByGroupId

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

findByGroupId

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

findByGroupId_First

IGImage findByGroupId_First(long groupId,
                            com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                            throws com.liferay.portal.SystemException,
                                   NoSuchImageException
Throws:
com.liferay.portal.SystemException
NoSuchImageException

findByGroupId_Last

IGImage findByGroupId_Last(long groupId,
                           com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                           throws com.liferay.portal.SystemException,
                                  NoSuchImageException
Throws:
com.liferay.portal.SystemException
NoSuchImageException

findByGroupId_PrevAndNext

IGImage[] findByGroupId_PrevAndNext(long imageId,
                                    long groupId,
                                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                    throws com.liferay.portal.SystemException,
                                           NoSuchImageException
Throws:
com.liferay.portal.SystemException
NoSuchImageException

findByFolderId

java.util.List<IGImage> findByFolderId(long folderId)
                                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByFolderId

java.util.List<IGImage> findByFolderId(long folderId,
                                       int start,
                                       int end)
                                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByFolderId

java.util.List<IGImage> findByFolderId(long folderId,
                                       int start,
                                       int end,
                                       com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByFolderId_First

IGImage findByFolderId_First(long folderId,
                             com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                             throws com.liferay.portal.SystemException,
                                    NoSuchImageException
Throws:
com.liferay.portal.SystemException
NoSuchImageException

findByFolderId_Last

IGImage findByFolderId_Last(long folderId,
                            com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                            throws com.liferay.portal.SystemException,
                                   NoSuchImageException
Throws:
com.liferay.portal.SystemException
NoSuchImageException

findByFolderId_PrevAndNext

IGImage[] findByFolderId_PrevAndNext(long imageId,
                                     long folderId,
                                     com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                     throws com.liferay.portal.SystemException,
                                            NoSuchImageException
Throws:
com.liferay.portal.SystemException
NoSuchImageException

findBySmallImageId

IGImage findBySmallImageId(long smallImageId)
                           throws com.liferay.portal.SystemException,
                                  NoSuchImageException
Throws:
com.liferay.portal.SystemException
NoSuchImageException

fetchBySmallImageId

IGImage fetchBySmallImageId(long smallImageId)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

fetchBySmallImageId

IGImage fetchBySmallImageId(long smallImageId,
                            boolean retrieveFromCache)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByLargeImageId

IGImage findByLargeImageId(long largeImageId)
                           throws com.liferay.portal.SystemException,
                                  NoSuchImageException
Throws:
com.liferay.portal.SystemException
NoSuchImageException

fetchByLargeImageId

IGImage fetchByLargeImageId(long largeImageId)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

fetchByLargeImageId

IGImage fetchByLargeImageId(long largeImageId,
                            boolean retrieveFromCache)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByCustom1ImageId

IGImage findByCustom1ImageId(long custom1ImageId)
                             throws com.liferay.portal.SystemException,
                                    NoSuchImageException
Throws:
com.liferay.portal.SystemException
NoSuchImageException

fetchByCustom1ImageId

IGImage fetchByCustom1ImageId(long custom1ImageId)
                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

fetchByCustom1ImageId

IGImage fetchByCustom1ImageId(long custom1ImageId,
                              boolean retrieveFromCache)
                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByCustom2ImageId

IGImage findByCustom2ImageId(long custom2ImageId)
                             throws com.liferay.portal.SystemException,
                                    NoSuchImageException
Throws:
com.liferay.portal.SystemException
NoSuchImageException

fetchByCustom2ImageId

IGImage fetchByCustom2ImageId(long custom2ImageId)
                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

fetchByCustom2ImageId

IGImage fetchByCustom2ImageId(long custom2ImageId,
                              boolean retrieveFromCache)
                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_U

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

findByG_U

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

findByG_U

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

findByG_U_First

IGImage findByG_U_First(long groupId,
                        long userId,
                        com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                        throws com.liferay.portal.SystemException,
                               NoSuchImageException
Throws:
com.liferay.portal.SystemException
NoSuchImageException

findByG_U_Last

IGImage findByG_U_Last(long groupId,
                       long userId,
                       com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                       throws com.liferay.portal.SystemException,
                              NoSuchImageException
Throws:
com.liferay.portal.SystemException
NoSuchImageException

findByG_U_PrevAndNext

IGImage[] findByG_U_PrevAndNext(long imageId,
                                long groupId,
                                long userId,
                                com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                throws com.liferay.portal.SystemException,
                                       NoSuchImageException
Throws:
com.liferay.portal.SystemException
NoSuchImageException

findByF_N

java.util.List<IGImage> findByF_N(long folderId,
                                  java.lang.String name)
                                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByF_N

java.util.List<IGImage> findByF_N(long folderId,
                                  java.lang.String name,
                                  int start,
                                  int end)
                                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByF_N

java.util.List<IGImage> findByF_N(long folderId,
                                  java.lang.String name,
                                  int start,
                                  int end,
                                  com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByF_N_First

IGImage findByF_N_First(long folderId,
                        java.lang.String name,
                        com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                        throws com.liferay.portal.SystemException,
                               NoSuchImageException
Throws:
com.liferay.portal.SystemException
NoSuchImageException

findByF_N_Last

IGImage findByF_N_Last(long folderId,
                       java.lang.String name,
                       com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                       throws com.liferay.portal.SystemException,
                              NoSuchImageException
Throws:
com.liferay.portal.SystemException
NoSuchImageException

findByF_N_PrevAndNext

IGImage[] findByF_N_PrevAndNext(long imageId,
                                long folderId,
                                java.lang.String name,
                                com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                throws com.liferay.portal.SystemException,
                                       NoSuchImageException
Throws:
com.liferay.portal.SystemException
NoSuchImageException

findAll

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

findAll

java.util.List<IGImage> findAll(int start,
                                int end)
                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

java.util.List<IGImage> findAll(int start,
                                int end,
                                com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByUuid

void removeByUuid(java.lang.String uuid)
                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByUUID_G

void removeByUUID_G(java.lang.String uuid,
                    long groupId)
                    throws com.liferay.portal.SystemException,
                           NoSuchImageException
Throws:
com.liferay.portal.SystemException
NoSuchImageException

removeByGroupId

void removeByGroupId(long groupId)
                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByFolderId

void removeByFolderId(long folderId)
                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeBySmallImageId

void removeBySmallImageId(long smallImageId)
                          throws com.liferay.portal.SystemException,
                                 NoSuchImageException
Throws:
com.liferay.portal.SystemException
NoSuchImageException

removeByLargeImageId

void removeByLargeImageId(long largeImageId)
                          throws com.liferay.portal.SystemException,
                                 NoSuchImageException
Throws:
com.liferay.portal.SystemException
NoSuchImageException

removeByCustom1ImageId

void removeByCustom1ImageId(long custom1ImageId)
                            throws com.liferay.portal.SystemException,
                                   NoSuchImageException
Throws:
com.liferay.portal.SystemException
NoSuchImageException

removeByCustom2ImageId

void removeByCustom2ImageId(long custom2ImageId)
                            throws com.liferay.portal.SystemException,
                                   NoSuchImageException
Throws:
com.liferay.portal.SystemException
NoSuchImageException

removeByG_U

void removeByG_U(long groupId,
                 long userId)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByF_N

void removeByF_N(long folderId,
                 java.lang.String name)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeAll

void removeAll()
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByUuid

int countByUuid(java.lang.String uuid)
                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByUUID_G

int countByUUID_G(java.lang.String uuid,
                  long groupId)
                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByGroupId

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

countByFolderId

int countByFolderId(long folderId)
                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countBySmallImageId

int countBySmallImageId(long smallImageId)
                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByLargeImageId

int countByLargeImageId(long largeImageId)
                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByCustom1ImageId

int countByCustom1ImageId(long custom1ImageId)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByCustom2ImageId

int countByCustom2ImageId(long custom2ImageId)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByG_U

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

countByF_N

int countByF_N(long folderId,
               java.lang.String name)
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countAll

int countAll()
             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException