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

All Known Implementing Classes:
IGImagePersistenceImpl

public interface IGImagePersistence

View Source

Author:
Brian Wing Shun Chan

Method Summary
 int countAll()
           
 int countByFolderId(long folderId)
           
 com.liferay.portlet.imagegallery.model.IGImage create(long imageId)
           
 com.liferay.portlet.imagegallery.model.IGImage fetchByPrimaryKey(long imageId)
           
 java.util.List findAll()
           
 java.util.List findAll(int begin, int end)
           
 java.util.List findAll(int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.imagegallery.model.IGImage findByFolderId_First(long folderId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.imagegallery.model.IGImage findByFolderId_Last(long folderId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.imagegallery.model.IGImage[] findByFolderId_PrevAndNext(long imageId, long folderId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List findByFolderId(long folderId)
           
 java.util.List findByFolderId(long folderId, int begin, int end)
           
 java.util.List findByFolderId(long folderId, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.imagegallery.model.IGImage findByPrimaryKey(long imageId)
           
 java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
 java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
 com.liferay.portlet.imagegallery.model.IGImage remove(com.liferay.portlet.imagegallery.model.IGImage igImage)
           
 com.liferay.portlet.imagegallery.model.IGImage remove(long imageId)
           
 void removeAll()
           
 void removeByFolderId(long folderId)
           
 com.liferay.portlet.imagegallery.model.IGImage update(com.liferay.portlet.imagegallery.model.IGImage igImage)
           
 com.liferay.portlet.imagegallery.model.IGImage update(com.liferay.portlet.imagegallery.model.IGImage igImage, boolean merge)
           
 

Method Detail

create

public com.liferay.portlet.imagegallery.model.IGImage create(long imageId)

remove

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

remove

public com.liferay.portlet.imagegallery.model.IGImage remove(com.liferay.portlet.imagegallery.model.IGImage igImage)
                                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

public com.liferay.portlet.imagegallery.model.IGImage update(com.liferay.portlet.imagegallery.model.IGImage igImage)
                                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

public com.liferay.portlet.imagegallery.model.IGImage update(com.liferay.portlet.imagegallery.model.IGImage igImage,
                                                             boolean merge)
                                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

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

fetchByPrimaryKey

public com.liferay.portlet.imagegallery.model.IGImage fetchByPrimaryKey(long imageId)
                                                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByFolderId

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

findByFolderId

public java.util.List findByFolderId(long folderId,
                                     int begin,
                                     int end)
                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByFolderId

public java.util.List findByFolderId(long folderId,
                                     int begin,
                                     int end,
                                     com.liferay.portal.kernel.util.OrderByComparator obc)
                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByFolderId_First

public com.liferay.portlet.imagegallery.model.IGImage findByFolderId_First(long folderId,
                                                                           com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                    throws com.liferay.portal.SystemException,
                                                                           com.liferay.portlet.imagegallery.NoSuchImageException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.imagegallery.NoSuchImageException

findByFolderId_Last

public com.liferay.portlet.imagegallery.model.IGImage findByFolderId_Last(long folderId,
                                                                          com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                   throws com.liferay.portal.SystemException,
                                                                          com.liferay.portlet.imagegallery.NoSuchImageException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.imagegallery.NoSuchImageException

findByFolderId_PrevAndNext

public com.liferay.portlet.imagegallery.model.IGImage[] findByFolderId_PrevAndNext(long imageId,
                                                                                   long folderId,
                                                                                   com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                            throws com.liferay.portal.SystemException,
                                                                                   com.liferay.portlet.imagegallery.NoSuchImageException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.imagegallery.NoSuchImageException

findWithDynamicQuery

public java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findWithDynamicQuery

public java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
                                           int begin,
                                           int end)
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

public java.util.List findAll()
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

public java.util.List findAll(int begin,
                              int end)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

public java.util.List findAll(int begin,
                              int end,
                              com.liferay.portal.kernel.util.OrderByComparator obc)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByFolderId

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

removeAll

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

countByFolderId

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

countAll

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