com.liferay.portlet.softwarecatalog.service.persistence
Interface SCProductScreenshotPersistence


public interface SCProductScreenshotPersistence

View Source

Author:
Brian Wing Shun Chan

Method Summary
 int countAll()
           
 int countByFullImageId(long fullImageId)
           
 int countByP_P(long productEntryId, int priority)
           
 int countByProductEntryId(long productEntryId)
           
 int countByThumbnailId(long thumbnailId)
           
 SCProductScreenshot create(long productScreenshotId)
           
 SCProductScreenshot fetchByFullImageId(long fullImageId)
           
 SCProductScreenshot fetchByP_P(long productEntryId, int priority)
           
 SCProductScreenshot fetchByPrimaryKey(long productScreenshotId)
           
 SCProductScreenshot fetchByThumbnailId(long thumbnailId)
           
 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)
           
 SCProductScreenshot findByFullImageId(long fullImageId)
           
 SCProductScreenshot findByP_P(long productEntryId, int priority)
           
 SCProductScreenshot findByPrimaryKey(long productScreenshotId)
           
 SCProductScreenshot findByProductEntryId_First(long productEntryId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 SCProductScreenshot findByProductEntryId_Last(long productEntryId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 SCProductScreenshot[] findByProductEntryId_PrevAndNext(long productScreenshotId, long productEntryId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List findByProductEntryId(long productEntryId)
           
 java.util.List findByProductEntryId(long productEntryId, int begin, int end)
           
 java.util.List findByProductEntryId(long productEntryId, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 SCProductScreenshot findByThumbnailId(long thumbnailId)
           
 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)
           
 SCProductScreenshot remove(long productScreenshotId)
           
 SCProductScreenshot remove(SCProductScreenshot scProductScreenshot)
           
 void removeAll()
           
 void removeByFullImageId(long fullImageId)
           
 void removeByP_P(long productEntryId, int priority)
           
 void removeByProductEntryId(long productEntryId)
           
 void removeByThumbnailId(long thumbnailId)
           
 SCProductScreenshot update(SCProductScreenshot scProductScreenshot)
           
 SCProductScreenshot update(SCProductScreenshot scProductScreenshot, boolean merge)
           
 SCProductScreenshot updateImpl(SCProductScreenshot scProductScreenshot, boolean merge)
           
 

Method Detail

create

public SCProductScreenshot create(long productScreenshotId)

remove

public SCProductScreenshot remove(long productScreenshotId)
                           throws com.liferay.portal.SystemException,
                                  NoSuchProductScreenshotException
Throws:
com.liferay.portal.SystemException
NoSuchProductScreenshotException

remove

public SCProductScreenshot remove(SCProductScreenshot scProductScreenshot)
                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

public SCProductScreenshot update(SCProductScreenshot scProductScreenshot)
                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

public SCProductScreenshot update(SCProductScreenshot scProductScreenshot,
                                  boolean merge)
                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateImpl

public SCProductScreenshot updateImpl(SCProductScreenshot scProductScreenshot,
                                      boolean merge)
                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

public SCProductScreenshot findByPrimaryKey(long productScreenshotId)
                                     throws com.liferay.portal.SystemException,
                                            NoSuchProductScreenshotException
Throws:
com.liferay.portal.SystemException
NoSuchProductScreenshotException

fetchByPrimaryKey

public SCProductScreenshot fetchByPrimaryKey(long productScreenshotId)
                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByProductEntryId

public java.util.List findByProductEntryId(long productEntryId)
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByProductEntryId

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

findByProductEntryId

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

findByProductEntryId_First

public SCProductScreenshot findByProductEntryId_First(long productEntryId,
                                                      com.liferay.portal.kernel.util.OrderByComparator obc)
                                               throws com.liferay.portal.SystemException,
                                                      NoSuchProductScreenshotException
Throws:
com.liferay.portal.SystemException
NoSuchProductScreenshotException

findByProductEntryId_Last

public SCProductScreenshot findByProductEntryId_Last(long productEntryId,
                                                     com.liferay.portal.kernel.util.OrderByComparator obc)
                                              throws com.liferay.portal.SystemException,
                                                     NoSuchProductScreenshotException
Throws:
com.liferay.portal.SystemException
NoSuchProductScreenshotException

findByProductEntryId_PrevAndNext

public SCProductScreenshot[] findByProductEntryId_PrevAndNext(long productScreenshotId,
                                                              long productEntryId,
                                                              com.liferay.portal.kernel.util.OrderByComparator obc)
                                                       throws com.liferay.portal.SystemException,
                                                              NoSuchProductScreenshotException
Throws:
com.liferay.portal.SystemException
NoSuchProductScreenshotException

findByThumbnailId

public SCProductScreenshot findByThumbnailId(long thumbnailId)
                                      throws com.liferay.portal.SystemException,
                                             NoSuchProductScreenshotException
Throws:
com.liferay.portal.SystemException
NoSuchProductScreenshotException

fetchByThumbnailId

public SCProductScreenshot fetchByThumbnailId(long thumbnailId)
                                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByFullImageId

public SCProductScreenshot findByFullImageId(long fullImageId)
                                      throws com.liferay.portal.SystemException,
                                             NoSuchProductScreenshotException
Throws:
com.liferay.portal.SystemException
NoSuchProductScreenshotException

fetchByFullImageId

public SCProductScreenshot fetchByFullImageId(long fullImageId)
                                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByP_P

public SCProductScreenshot findByP_P(long productEntryId,
                                     int priority)
                              throws com.liferay.portal.SystemException,
                                     NoSuchProductScreenshotException
Throws:
com.liferay.portal.SystemException
NoSuchProductScreenshotException

fetchByP_P

public SCProductScreenshot fetchByP_P(long productEntryId,
                                      int priority)
                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

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

removeByProductEntryId

public void removeByProductEntryId(long productEntryId)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByThumbnailId

public void removeByThumbnailId(long thumbnailId)
                         throws com.liferay.portal.SystemException,
                                NoSuchProductScreenshotException
Throws:
com.liferay.portal.SystemException
NoSuchProductScreenshotException

removeByFullImageId

public void removeByFullImageId(long fullImageId)
                         throws com.liferay.portal.SystemException,
                                NoSuchProductScreenshotException
Throws:
com.liferay.portal.SystemException
NoSuchProductScreenshotException

removeByP_P

public void removeByP_P(long productEntryId,
                        int priority)
                 throws com.liferay.portal.SystemException,
                        NoSuchProductScreenshotException
Throws:
com.liferay.portal.SystemException
NoSuchProductScreenshotException

removeAll

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

countByProductEntryId

public int countByProductEntryId(long productEntryId)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByThumbnailId

public int countByThumbnailId(long thumbnailId)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByFullImageId

public int countByFullImageId(long fullImageId)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByP_P

public int countByP_P(long productEntryId,
                      int priority)
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countAll

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