com.liferay.portlet.softwarecatalog.service.persistence
Class SCProductScreenshotUtil

java.lang.Object
  extended by com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotUtil

public class SCProductScreenshotUtil
extends java.lang.Object

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:
SCProductScreenshotPersistence, SCProductScreenshotPersistenceImpl
Generated:

Constructor Summary
SCProductScreenshotUtil()
           
 
Method Summary
static void cacheResult(java.util.List<SCProductScreenshot> scProductScreenshots)
           
static void cacheResult(SCProductScreenshot scProductScreenshot)
           
static void clearCache()
           
static void clearCache(SCProductScreenshot scProductScreenshot)
           
static int countAll()
           
static int countByFullImageId(long fullImageId)
           
static int countByP_P(long productEntryId, int priority)
           
static int countByProductEntryId(long productEntryId)
           
static int countByThumbnailId(long thumbnailId)
           
 long countWithDynamicQuery(DynamicQuery dynamicQuery)
           
static SCProductScreenshot create(long productScreenshotId)
           
static SCProductScreenshot fetchByFullImageId(long fullImageId)
           
static SCProductScreenshot fetchByFullImageId(long fullImageId, boolean retrieveFromCache)
           
static SCProductScreenshot fetchByP_P(long productEntryId, int priority)
           
static SCProductScreenshot fetchByP_P(long productEntryId, int priority, boolean retrieveFromCache)
           
static SCProductScreenshot fetchByPrimaryKey(long productScreenshotId)
           
static SCProductScreenshot fetchByThumbnailId(long thumbnailId)
           
static SCProductScreenshot fetchByThumbnailId(long thumbnailId, boolean retrieveFromCache)
           
static java.util.List<SCProductScreenshot> findAll()
           
static java.util.List<SCProductScreenshot> findAll(int start, int end)
           
static java.util.List<SCProductScreenshot> findAll(int start, int end, OrderByComparator orderByComparator)
           
static SCProductScreenshot findByFullImageId(long fullImageId)
           
static SCProductScreenshot findByP_P(long productEntryId, int priority)
           
static SCProductScreenshot findByPrimaryKey(long productScreenshotId)
           
static SCProductScreenshot findByProductEntryId_First(long productEntryId, OrderByComparator orderByComparator)
           
static SCProductScreenshot findByProductEntryId_Last(long productEntryId, OrderByComparator orderByComparator)
           
static SCProductScreenshot[] findByProductEntryId_PrevAndNext(long productScreenshotId, long productEntryId, OrderByComparator orderByComparator)
           
static java.util.List<SCProductScreenshot> findByProductEntryId(long productEntryId)
           
static java.util.List<SCProductScreenshot> findByProductEntryId(long productEntryId, int start, int end)
           
static java.util.List<SCProductScreenshot> findByProductEntryId(long productEntryId, int start, int end, OrderByComparator orderByComparator)
           
static SCProductScreenshot findByThumbnailId(long thumbnailId)
           
static java.util.List<SCProductScreenshot> findWithDynamicQuery(DynamicQuery dynamicQuery)
           
static java.util.List<SCProductScreenshot> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end)
           
static SCProductScreenshotPersistence getPersistence()
           
static SCProductScreenshot remove(long productScreenshotId)
           
static SCProductScreenshot remove(SCProductScreenshot scProductScreenshot)
           
static void removeAll()
           
static void removeByFullImageId(long fullImageId)
           
static void removeByP_P(long productEntryId, int priority)
           
static void removeByProductEntryId(long productEntryId)
           
static void removeByThumbnailId(long thumbnailId)
           
 void setPersistence(SCProductScreenshotPersistence persistence)
           
static SCProductScreenshot update(SCProductScreenshot scProductScreenshot, boolean merge)
           
static SCProductScreenshot updateImpl(SCProductScreenshot scProductScreenshot, boolean merge)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SCProductScreenshotUtil

public SCProductScreenshotUtil()
Method Detail

clearCache

public static void clearCache()
See Also:
BasePersistence.clearCache()

clearCache

public static void clearCache(SCProductScreenshot scProductScreenshot)
See Also:
com.liferay.portal.service.persistence.BasePersistence#clearCache(SCProductScreenshot)

countWithDynamicQuery

public long countWithDynamicQuery(DynamicQuery dynamicQuery)
                           throws SystemException
Throws:
SystemException
See Also:
BasePersistence.countWithDynamicQuery(DynamicQuery)

findWithDynamicQuery

public static java.util.List<SCProductScreenshot> findWithDynamicQuery(DynamicQuery dynamicQuery)
                                                                throws SystemException
Throws:
SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery)

findWithDynamicQuery

public static java.util.List<SCProductScreenshot> findWithDynamicQuery(DynamicQuery dynamicQuery,
                                                                       int start,
                                                                       int end)
                                                                throws SystemException
Throws:
SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)

remove

public static SCProductScreenshot remove(SCProductScreenshot scProductScreenshot)
                                  throws SystemException
Throws:
SystemException
See Also:
BasePersistence.remove(com.liferay.portal.model.BaseModel)

update

public static SCProductScreenshot update(SCProductScreenshot scProductScreenshot,
                                         boolean merge)
                                  throws SystemException
Throws:
SystemException
See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)

cacheResult

public static void cacheResult(SCProductScreenshot scProductScreenshot)

cacheResult

public static void cacheResult(java.util.List<SCProductScreenshot> scProductScreenshots)

create

public static SCProductScreenshot create(long productScreenshotId)

remove

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

updateImpl

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

findByPrimaryKey

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

fetchByPrimaryKey

public static SCProductScreenshot fetchByPrimaryKey(long productScreenshotId)
                                             throws SystemException
Throws:
SystemException

findByProductEntryId

public static java.util.List<SCProductScreenshot> findByProductEntryId(long productEntryId)
                                                                throws SystemException
Throws:
SystemException

findByProductEntryId

public static java.util.List<SCProductScreenshot> findByProductEntryId(long productEntryId,
                                                                       int start,
                                                                       int end)
                                                                throws SystemException
Throws:
SystemException

findByProductEntryId

public static java.util.List<SCProductScreenshot> findByProductEntryId(long productEntryId,
                                                                       int start,
                                                                       int end,
                                                                       OrderByComparator orderByComparator)
                                                                throws SystemException
Throws:
SystemException

findByProductEntryId_First

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

findByProductEntryId_Last

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

findByProductEntryId_PrevAndNext

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

findByThumbnailId

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

fetchByThumbnailId

public static SCProductScreenshot fetchByThumbnailId(long thumbnailId)
                                              throws SystemException
Throws:
SystemException

fetchByThumbnailId

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

findByFullImageId

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

fetchByFullImageId

public static SCProductScreenshot fetchByFullImageId(long fullImageId)
                                              throws SystemException
Throws:
SystemException

fetchByFullImageId

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

findByP_P

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

fetchByP_P

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

fetchByP_P

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

findAll

public static java.util.List<SCProductScreenshot> findAll()
                                                   throws SystemException
Throws:
SystemException

findAll

public static java.util.List<SCProductScreenshot> findAll(int start,
                                                          int end)
                                                   throws SystemException
Throws:
SystemException

findAll

public static java.util.List<SCProductScreenshot> findAll(int start,
                                                          int end,
                                                          OrderByComparator orderByComparator)
                                                   throws SystemException
Throws:
SystemException

removeByProductEntryId

public static void removeByProductEntryId(long productEntryId)
                                   throws SystemException
Throws:
SystemException

removeByThumbnailId

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

removeByFullImageId

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

removeByP_P

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

removeAll

public static void removeAll()
                      throws SystemException
Throws:
SystemException

countByProductEntryId

public static int countByProductEntryId(long productEntryId)
                                 throws SystemException
Throws:
SystemException

countByThumbnailId

public static int countByThumbnailId(long thumbnailId)
                              throws SystemException
Throws:
SystemException

countByFullImageId

public static int countByFullImageId(long fullImageId)
                              throws SystemException
Throws:
SystemException

countByP_P

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

countAll

public static int countAll()
                    throws SystemException
Throws:
SystemException

getPersistence

public static SCProductScreenshotPersistence getPersistence()

setPersistence

public void setPersistence(SCProductScreenshotPersistence persistence)