com.liferay.portlet.softwarecatalog.service.persistence
Interface SCProductScreenshotPersistence
- All Superinterfaces:
- BasePersistence
public interface SCProductScreenshotPersistence
- extends BasePersistence
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
void |
cacheResult(java.util.List<SCProductScreenshot> scProductScreenshots)
|
void |
cacheResult(SCProductScreenshot scProductScreenshot)
|
void |
clearCache()
|
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)
|
java.util.List<SCProductScreenshot> |
findAll()
|
java.util.List<SCProductScreenshot> |
findAll(int start,
int end)
|
java.util.List<SCProductScreenshot> |
findAll(int start,
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<SCProductScreenshot> |
findByProductEntryId(long productEntryId)
|
java.util.List<SCProductScreenshot> |
findByProductEntryId(long productEntryId,
int start,
int end)
|
java.util.List<SCProductScreenshot> |
findByProductEntryId(long productEntryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
SCProductScreenshot |
findByThumbnailId(long thumbnailId)
|
java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
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)
Deprecated. Use update(SCProductScreenshot scProductScreenshot, boolean merge) . |
SCProductScreenshot |
update(SCProductScreenshot scProductScreenshot,
boolean merge)
Add, update, or merge, the entity. |
SCProductScreenshot |
updateImpl(SCProductScreenshot scProductScreenshot,
boolean merge)
|
cacheResult
void cacheResult(SCProductScreenshot scProductScreenshot)
cacheResult
void cacheResult(java.util.List<SCProductScreenshot> scProductScreenshots)
clearCache
void clearCache()
- Specified by:
clearCache
in interface BasePersistence
create
SCProductScreenshot create(long productScreenshotId)
remove
SCProductScreenshot remove(long productScreenshotId)
throws com.liferay.portal.SystemException,
NoSuchProductScreenshotException
- Throws:
com.liferay.portal.SystemException
NoSuchProductScreenshotException
remove
SCProductScreenshot remove(SCProductScreenshot scProductScreenshot)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
SCProductScreenshot update(SCProductScreenshot scProductScreenshot)
throws com.liferay.portal.SystemException
- Deprecated. Use
update(SCProductScreenshot scProductScreenshot, boolean merge)
.
- Throws:
com.liferay.portal.SystemException
update
SCProductScreenshot update(SCProductScreenshot scProductScreenshot,
boolean merge)
throws com.liferay.portal.SystemException
- Add, update, or merge, the entity. This method also calls the model
listeners to trigger the proper events associated with adding, deleting,
or updating an entity.
- Parameters:
scProductScreenshot
- the entity to add, update, or mergemerge
- boolean value for whether to merge the entity. The
default value is false. Setting merge to true is more
expensive and should only be true when scProductScreenshot is
transient. See LEP-5473 for a detailed discussion of this
method.
- Returns:
- true if the portlet can be displayed via Ajax
- Throws:
com.liferay.portal.SystemException
updateImpl
SCProductScreenshot updateImpl(SCProductScreenshot scProductScreenshot,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
SCProductScreenshot findByPrimaryKey(long productScreenshotId)
throws com.liferay.portal.SystemException,
NoSuchProductScreenshotException
- Throws:
com.liferay.portal.SystemException
NoSuchProductScreenshotException
fetchByPrimaryKey
SCProductScreenshot fetchByPrimaryKey(long productScreenshotId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByProductEntryId
java.util.List<SCProductScreenshot> findByProductEntryId(long productEntryId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByProductEntryId
java.util.List<SCProductScreenshot> findByProductEntryId(long productEntryId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByProductEntryId
java.util.List<SCProductScreenshot> findByProductEntryId(long productEntryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByProductEntryId_First
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
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
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
SCProductScreenshot findByThumbnailId(long thumbnailId)
throws com.liferay.portal.SystemException,
NoSuchProductScreenshotException
- Throws:
com.liferay.portal.SystemException
NoSuchProductScreenshotException
fetchByThumbnailId
SCProductScreenshot fetchByThumbnailId(long thumbnailId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
fetchByThumbnailId
SCProductScreenshot fetchByThumbnailId(long thumbnailId,
boolean retrieveFromCache)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByFullImageId
SCProductScreenshot findByFullImageId(long fullImageId)
throws com.liferay.portal.SystemException,
NoSuchProductScreenshotException
- Throws:
com.liferay.portal.SystemException
NoSuchProductScreenshotException
fetchByFullImageId
SCProductScreenshot fetchByFullImageId(long fullImageId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
fetchByFullImageId
SCProductScreenshot fetchByFullImageId(long fullImageId,
boolean retrieveFromCache)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByP_P
SCProductScreenshot findByP_P(long productEntryId,
int priority)
throws com.liferay.portal.SystemException,
NoSuchProductScreenshotException
- Throws:
com.liferay.portal.SystemException
NoSuchProductScreenshotException
fetchByP_P
SCProductScreenshot fetchByP_P(long productEntryId,
int priority)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
fetchByP_P
SCProductScreenshot fetchByP_P(long productEntryId,
int priority,
boolean retrieveFromCache)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
java.util.List<SCProductScreenshot> findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
java.util.List<SCProductScreenshot> findAll(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
java.util.List<SCProductScreenshot> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByProductEntryId
void removeByProductEntryId(long productEntryId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByThumbnailId
void removeByThumbnailId(long thumbnailId)
throws com.liferay.portal.SystemException,
NoSuchProductScreenshotException
- Throws:
com.liferay.portal.SystemException
NoSuchProductScreenshotException
removeByFullImageId
void removeByFullImageId(long fullImageId)
throws com.liferay.portal.SystemException,
NoSuchProductScreenshotException
- Throws:
com.liferay.portal.SystemException
NoSuchProductScreenshotException
removeByP_P
void removeByP_P(long productEntryId,
int priority)
throws com.liferay.portal.SystemException,
NoSuchProductScreenshotException
- Throws:
com.liferay.portal.SystemException
NoSuchProductScreenshotException
removeAll
void removeAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByProductEntryId
int countByProductEntryId(long productEntryId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByThumbnailId
int countByThumbnailId(long thumbnailId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByFullImageId
int countByFullImageId(long fullImageId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByP_P
int countByP_P(long productEntryId,
int priority)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countAll
int countAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException