Liferay 6.0.3

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

All Superinterfaces:
BasePersistence<SCProductScreenshot>
All Known Implementing Classes:
SCProductScreenshotPersistenceImpl

public interface SCProductScreenshotPersistence
extends BasePersistence<SCProductScreenshot>

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

Method Summary
 void cacheResult(List<SCProductScreenshot> scProductScreenshots)
           
 void cacheResult(SCProductScreenshot scProductScreenshot)
           
 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 fetchByFullImageId(long fullImageId, boolean retrieveFromCache)
           
 SCProductScreenshot fetchByP_P(long productEntryId, int priority)
           
 SCProductScreenshot fetchByP_P(long productEntryId, int priority, boolean retrieveFromCache)
           
 SCProductScreenshot fetchByPrimaryKey(long productScreenshotId)
           
 SCProductScreenshot fetchByThumbnailId(long thumbnailId)
           
 SCProductScreenshot fetchByThumbnailId(long thumbnailId, boolean retrieveFromCache)
           
 List<SCProductScreenshot> findAll()
           
 List<SCProductScreenshot> findAll(int start, int end)
           
 List<SCProductScreenshot> findAll(int start, int end, OrderByComparator orderByComparator)
           
 SCProductScreenshot findByFullImageId(long fullImageId)
           
 SCProductScreenshot findByP_P(long productEntryId, int priority)
           
 SCProductScreenshot findByPrimaryKey(long productScreenshotId)
           
 SCProductScreenshot findByProductEntryId_First(long productEntryId, OrderByComparator orderByComparator)
           
 SCProductScreenshot findByProductEntryId_Last(long productEntryId, OrderByComparator orderByComparator)
           
 SCProductScreenshot[] findByProductEntryId_PrevAndNext(long productScreenshotId, long productEntryId, OrderByComparator orderByComparator)
           
 List<SCProductScreenshot> findByProductEntryId(long productEntryId)
           
 List<SCProductScreenshot> findByProductEntryId(long productEntryId, int start, int end)
           
 List<SCProductScreenshot> findByProductEntryId(long productEntryId, int start, int end, OrderByComparator orderByComparator)
           
 SCProductScreenshot findByThumbnailId(long thumbnailId)
           
 SCProductScreenshot remove(long productScreenshotId)
           
 void removeAll()
           
 void removeByFullImageId(long fullImageId)
           
 void removeByP_P(long productEntryId, int priority)
           
 void removeByProductEntryId(long productEntryId)
           
 void removeByThumbnailId(long thumbnailId)
           
 SCProductScreenshot updateImpl(SCProductScreenshot scProductScreenshot, 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, update
 

Method Detail

cacheResult

void cacheResult(SCProductScreenshot scProductScreenshot)

cacheResult

void cacheResult(List<SCProductScreenshot> scProductScreenshots)

create

SCProductScreenshot create(long productScreenshotId)

remove

SCProductScreenshot remove(long productScreenshotId)
                           throws SystemException,
                                  NoSuchProductScreenshotException
Throws:
SystemException
NoSuchProductScreenshotException

updateImpl

SCProductScreenshot updateImpl(SCProductScreenshot scProductScreenshot,
                               boolean merge)
                               throws SystemException
Throws:
SystemException

findByPrimaryKey

SCProductScreenshot findByPrimaryKey(long productScreenshotId)
                                     throws SystemException,
                                            NoSuchProductScreenshotException
Throws:
SystemException
NoSuchProductScreenshotException

fetchByPrimaryKey

SCProductScreenshot fetchByPrimaryKey(long productScreenshotId)
                                      throws SystemException
Throws:
SystemException

findByProductEntryId

List<SCProductScreenshot> findByProductEntryId(long productEntryId)
                                               throws SystemException
Throws:
SystemException

findByProductEntryId

List<SCProductScreenshot> findByProductEntryId(long productEntryId,
                                               int start,
                                               int end)
                                               throws SystemException
Throws:
SystemException

findByProductEntryId

List<SCProductScreenshot> findByProductEntryId(long productEntryId,
                                               int start,
                                               int end,
                                               OrderByComparator orderByComparator)
                                               throws SystemException
Throws:
SystemException

findByProductEntryId_First

SCProductScreenshot findByProductEntryId_First(long productEntryId,
                                               OrderByComparator orderByComparator)
                                               throws SystemException,
                                                      NoSuchProductScreenshotException
Throws:
SystemException
NoSuchProductScreenshotException

findByProductEntryId_Last

SCProductScreenshot findByProductEntryId_Last(long productEntryId,
                                              OrderByComparator orderByComparator)
                                              throws SystemException,
                                                     NoSuchProductScreenshotException
Throws:
SystemException
NoSuchProductScreenshotException

findByProductEntryId_PrevAndNext

SCProductScreenshot[] findByProductEntryId_PrevAndNext(long productScreenshotId,
                                                       long productEntryId,
                                                       OrderByComparator orderByComparator)
                                                       throws SystemException,
                                                              NoSuchProductScreenshotException
Throws:
SystemException
NoSuchProductScreenshotException

findByThumbnailId

SCProductScreenshot findByThumbnailId(long thumbnailId)
                                      throws SystemException,
                                             NoSuchProductScreenshotException
Throws:
SystemException
NoSuchProductScreenshotException

fetchByThumbnailId

SCProductScreenshot fetchByThumbnailId(long thumbnailId)
                                       throws SystemException
Throws:
SystemException

fetchByThumbnailId

SCProductScreenshot fetchByThumbnailId(long thumbnailId,
                                       boolean retrieveFromCache)
                                       throws SystemException
Throws:
SystemException

findByFullImageId

SCProductScreenshot findByFullImageId(long fullImageId)
                                      throws SystemException,
                                             NoSuchProductScreenshotException
Throws:
SystemException
NoSuchProductScreenshotException

fetchByFullImageId

SCProductScreenshot fetchByFullImageId(long fullImageId)
                                       throws SystemException
Throws:
SystemException

fetchByFullImageId

SCProductScreenshot fetchByFullImageId(long fullImageId,
                                       boolean retrieveFromCache)
                                       throws SystemException
Throws:
SystemException

findByP_P

SCProductScreenshot findByP_P(long productEntryId,
                              int priority)
                              throws SystemException,
                                     NoSuchProductScreenshotException
Throws:
SystemException
NoSuchProductScreenshotException

fetchByP_P

SCProductScreenshot fetchByP_P(long productEntryId,
                               int priority)
                               throws SystemException
Throws:
SystemException

fetchByP_P

SCProductScreenshot fetchByP_P(long productEntryId,
                               int priority,
                               boolean retrieveFromCache)
                               throws SystemException
Throws:
SystemException

findAll

List<SCProductScreenshot> findAll()
                                  throws SystemException
Throws:
SystemException

findAll

List<SCProductScreenshot> findAll(int start,
                                  int end)
                                  throws SystemException
Throws:
SystemException

findAll

List<SCProductScreenshot> findAll(int start,
                                  int end,
                                  OrderByComparator orderByComparator)
                                  throws SystemException
Throws:
SystemException

removeByProductEntryId

void removeByProductEntryId(long productEntryId)
                            throws SystemException
Throws:
SystemException

removeByThumbnailId

void removeByThumbnailId(long thumbnailId)
                         throws SystemException,
                                NoSuchProductScreenshotException
Throws:
SystemException
NoSuchProductScreenshotException

removeByFullImageId

void removeByFullImageId(long fullImageId)
                         throws SystemException,
                                NoSuchProductScreenshotException
Throws:
SystemException
NoSuchProductScreenshotException

removeByP_P

void removeByP_P(long productEntryId,
                 int priority)
                 throws SystemException,
                        NoSuchProductScreenshotException
Throws:
SystemException
NoSuchProductScreenshotException

removeAll

void removeAll()
               throws SystemException
Throws:
SystemException

countByProductEntryId

int countByProductEntryId(long productEntryId)
                          throws SystemException
Throws:
SystemException

countByThumbnailId

int countByThumbnailId(long thumbnailId)
                       throws SystemException
Throws:
SystemException

countByFullImageId

int countByFullImageId(long fullImageId)
                       throws SystemException
Throws:
SystemException

countByP_P

int countByP_P(long productEntryId,
               int priority)
               throws SystemException
Throws:
SystemException

countAll

int countAll()
             throws SystemException
Throws:
SystemException

Liferay 6.0.3