|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.service.persistence.impl.BasePersistenceImpl<SCProductScreenshot> com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistenceImpl
public class SCProductScreenshotPersistenceImpl
The persistence implementation for the s c product screenshot service.
Caching information and settings can be found in portal.properties
SCProductScreenshotPersistence
,
SCProductScreenshotUtil
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
---|
COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR |
Constructor Summary | |
---|---|
SCProductScreenshotPersistenceImpl()
|
Method Summary | |
---|---|
void |
afterPropertiesSet()
Initializes the s c product screenshot persistence. |
void |
cacheResult(List<SCProductScreenshot> scProductScreenshots)
Caches the s c product screenshots in the entity cache if it is enabled. |
void |
cacheResult(SCProductScreenshot scProductScreenshot)
Caches the s c product screenshot in the entity cache if it is enabled. |
protected void |
cacheUniqueFindersCache(SCProductScreenshot scProductScreenshot)
|
void |
clearCache()
Clears the cache for all s c product screenshots. |
void |
clearCache(List<SCProductScreenshot> scProductScreenshots)
Clears the cache for a List instances of this model. |
void |
clearCache(SCProductScreenshot scProductScreenshot)
Clears the cache for the s c product screenshot. |
protected void |
clearUniqueFindersCache(SCProductScreenshot scProductScreenshot)
|
int |
countAll()
Returns the number of s c product screenshots. |
int |
countByFullImageId(long fullImageId)
Returns the number of s c product screenshots where fullImageId = ?. |
int |
countByP_P(long productEntryId,
int priority)
Returns the number of s c product screenshots where productEntryId = ? and priority = ?. |
int |
countByProductEntryId(long productEntryId)
Returns the number of s c product screenshots where productEntryId = ?. |
int |
countByThumbnailId(long thumbnailId)
Returns the number of s c product screenshots where thumbnailId = ?. |
SCProductScreenshot |
create(long productScreenshotId)
Creates a new s c product screenshot with the primary key. |
void |
destroy()
|
SCProductScreenshot |
fetchByFullImageId(long fullImageId)
Returns the s c product screenshot where fullImageId = ? or returns null if it could not be found. |
SCProductScreenshot |
fetchByFullImageId(long fullImageId,
boolean retrieveFromCache)
Returns the s c product screenshot where fullImageId = ? or returns null if it could not be found, optionally using the finder cache. |
SCProductScreenshot |
fetchByP_P(long productEntryId,
int priority)
Returns the s c product screenshot where productEntryId = ? and priority = ? or returns null if it could not be found. |
SCProductScreenshot |
fetchByP_P(long productEntryId,
int priority,
boolean retrieveFromCache)
Returns the s c product screenshot where productEntryId = ? and priority = ? or returns null if it could not be found, optionally using the finder cache. |
SCProductScreenshot |
fetchByPrimaryKey(long productScreenshotId)
Returns the s c product screenshot with the primary key or returns null if it could not be found. |
SCProductScreenshot |
fetchByPrimaryKey(Serializable primaryKey)
Returns the s c product screenshot with the primary key or returns null if it could not be found. |
SCProductScreenshot |
fetchByProductEntryId_First(long productEntryId,
OrderByComparator orderByComparator)
Returns the first s c product screenshot in the ordered set where productEntryId = ?. |
SCProductScreenshot |
fetchByProductEntryId_Last(long productEntryId,
OrderByComparator orderByComparator)
Returns the last s c product screenshot in the ordered set where productEntryId = ?. |
SCProductScreenshot |
fetchByThumbnailId(long thumbnailId)
Returns the s c product screenshot where thumbnailId = ? or returns null if it could not be found. |
SCProductScreenshot |
fetchByThumbnailId(long thumbnailId,
boolean retrieveFromCache)
Returns the s c product screenshot where thumbnailId = ? or returns null if it could not be found, optionally using the finder cache. |
List<SCProductScreenshot> |
findAll()
Returns all the s c product screenshots. |
List<SCProductScreenshot> |
findAll(int start,
int end)
Returns a range of all the s c product screenshots. |
List<SCProductScreenshot> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the s c product screenshots. |
SCProductScreenshot |
findByFullImageId(long fullImageId)
Returns the s c product screenshot where fullImageId = ? or throws a NoSuchProductScreenshotException if it could not be found. |
SCProductScreenshot |
findByP_P(long productEntryId,
int priority)
Returns the s c product screenshot where productEntryId = ? and priority = ? or throws a NoSuchProductScreenshotException if it could not be found. |
SCProductScreenshot |
findByPrimaryKey(long productScreenshotId)
Returns the s c product screenshot with the primary key or throws a NoSuchProductScreenshotException if it could not be found. |
SCProductScreenshot |
findByPrimaryKey(Serializable primaryKey)
Returns the s c product screenshot with the primary key or throws a NoSuchModelException if it could not be found. |
SCProductScreenshot |
findByProductEntryId_First(long productEntryId,
OrderByComparator orderByComparator)
Returns the first s c product screenshot in the ordered set where productEntryId = ?. |
SCProductScreenshot |
findByProductEntryId_Last(long productEntryId,
OrderByComparator orderByComparator)
Returns the last s c product screenshot in the ordered set where productEntryId = ?. |
SCProductScreenshot[] |
findByProductEntryId_PrevAndNext(long productScreenshotId,
long productEntryId,
OrderByComparator orderByComparator)
Returns the s c product screenshots before and after the current s c product screenshot in the ordered set where productEntryId = ?. |
List<SCProductScreenshot> |
findByProductEntryId(long productEntryId)
Returns all the s c product screenshots where productEntryId = ?. |
List<SCProductScreenshot> |
findByProductEntryId(long productEntryId,
int start,
int end)
Returns a range of all the s c product screenshots where productEntryId = ?. |
List<SCProductScreenshot> |
findByProductEntryId(long productEntryId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the s c product screenshots where productEntryId = ?. |
SCProductScreenshot |
findByThumbnailId(long thumbnailId)
Returns the s c product screenshot where thumbnailId = ? or throws a NoSuchProductScreenshotException if it could not be found. |
protected SCProductScreenshot |
getByProductEntryId_PrevAndNext(Session session,
SCProductScreenshot scProductScreenshot,
long productEntryId,
OrderByComparator orderByComparator,
boolean previous)
|
SCProductScreenshot |
remove(long productScreenshotId)
Removes the s c product screenshot with the primary key from the database. |
SCProductScreenshot |
remove(Serializable primaryKey)
Removes the s c product screenshot with the primary key from the database. |
void |
removeAll()
Removes all the s c product screenshots from the database. |
SCProductScreenshot |
removeByFullImageId(long fullImageId)
Removes the s c product screenshot where fullImageId = ? from the database. |
SCProductScreenshot |
removeByP_P(long productEntryId,
int priority)
Removes the s c product screenshot where productEntryId = ? and priority = ? from the database. |
void |
removeByProductEntryId(long productEntryId)
Removes all the s c product screenshots where productEntryId = ? from the database. |
SCProductScreenshot |
removeByThumbnailId(long thumbnailId)
Removes the s c product screenshot where thumbnailId = ? from the database. |
protected SCProductScreenshot |
removeImpl(SCProductScreenshot scProductScreenshot)
Removes the model instance from the database. |
protected SCProductScreenshot |
toUnwrappedModel(SCProductScreenshot scProductScreenshot)
|
SCProductScreenshot |
updateImpl(SCProductScreenshot scProductScreenshot,
boolean merge)
Updates the model instance in the database or adds it if it does not yet exist. |
Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
---|
appendOrderByComparator, closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getClassLoader, getDataSource, getDB, getDialect, getListeners, openNewSession, openSession, processException, registerListener, remove, setDataSource, setSessionFactory, unregisterListener, update, update |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
---|
closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update |
Field Detail |
---|
public static final String FINDER_CLASS_NAME_ENTITY
public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_PRODUCTENTRYID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_PRODUCTENTRYID
public static final FinderPath FINDER_PATH_COUNT_BY_PRODUCTENTRYID
public static final FinderPath FINDER_PATH_FETCH_BY_THUMBNAILID
public static final FinderPath FINDER_PATH_COUNT_BY_THUMBNAILID
public static final FinderPath FINDER_PATH_FETCH_BY_FULLIMAGEID
public static final FinderPath FINDER_PATH_COUNT_BY_FULLIMAGEID
public static final FinderPath FINDER_PATH_FETCH_BY_P_P
public static final FinderPath FINDER_PATH_COUNT_BY_P_P
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
public static final FinderPath FINDER_PATH_COUNT_ALL
@BeanReference(type=SCFrameworkVersionPersistence.class) protected SCFrameworkVersionPersistence scFrameworkVersionPersistence
@BeanReference(type=SCLicensePersistence.class) protected SCLicensePersistence scLicensePersistence
@BeanReference(type=SCProductEntryPersistence.class) protected SCProductEntryPersistence scProductEntryPersistence
@BeanReference(type=SCProductScreenshotPersistence.class) protected SCProductScreenshotPersistence scProductScreenshotPersistence
@BeanReference(type=SCProductVersionPersistence.class) protected SCProductVersionPersistence scProductVersionPersistence
@BeanReference(type=ImagePersistence.class) protected ImagePersistence imagePersistence
@BeanReference(type=ResourcePersistence.class) protected ResourcePersistence resourcePersistence
@BeanReference(type=UserPersistence.class) protected UserPersistence userPersistence
Constructor Detail |
---|
public SCProductScreenshotPersistenceImpl()
Method Detail |
---|
public void cacheResult(SCProductScreenshot scProductScreenshot)
cacheResult
in interface SCProductScreenshotPersistence
scProductScreenshot
- the s c product screenshotpublic void cacheResult(List<SCProductScreenshot> scProductScreenshots)
cacheResult
in interface SCProductScreenshotPersistence
scProductScreenshots
- the s c product screenshotspublic void clearCache()
The EntityCache
and FinderCache
are both cleared by this method.
clearCache
in interface BasePersistence<SCProductScreenshot>
clearCache
in class BasePersistenceImpl<SCProductScreenshot>
public void clearCache(SCProductScreenshot scProductScreenshot)
The EntityCache
and FinderCache
are both cleared by this method.
clearCache
in interface BasePersistence<SCProductScreenshot>
clearCache
in class BasePersistenceImpl<SCProductScreenshot>
scProductScreenshot
- the instance of this model to clear the cache forpublic void clearCache(List<SCProductScreenshot> scProductScreenshots)
BasePersistence
The EntityCache
and FinderCache
are both cleared by this
method.
clearCache
in interface BasePersistence<SCProductScreenshot>
clearCache
in class BasePersistenceImpl<SCProductScreenshot>
scProductScreenshots
- the List instances of this model to clear the cache forprotected void cacheUniqueFindersCache(SCProductScreenshot scProductScreenshot)
protected void clearUniqueFindersCache(SCProductScreenshot scProductScreenshot)
public SCProductScreenshot create(long productScreenshotId)
create
in interface SCProductScreenshotPersistence
productScreenshotId
- the primary key for the new s c product screenshot
public SCProductScreenshot remove(long productScreenshotId) throws NoSuchProductScreenshotException, SystemException
remove
in interface SCProductScreenshotPersistence
productScreenshotId
- the primary key of the s c product screenshot
NoSuchProductScreenshotException
- if a s c product screenshot with the primary key could not be found
SystemException
- if a system exception occurredpublic SCProductScreenshot remove(Serializable primaryKey) throws NoSuchProductScreenshotException, SystemException
remove
in interface BasePersistence<SCProductScreenshot>
remove
in class BasePersistenceImpl<SCProductScreenshot>
primaryKey
- the primary key of the s c product screenshot
NoSuchProductScreenshotException
- if a s c product screenshot with the primary key could not be found
SystemException
- if a system exception occurredprotected SCProductScreenshot removeImpl(SCProductScreenshot scProductScreenshot) throws SystemException
BasePersistenceImpl
BasePersistenceImpl.update(BaseModel,
boolean)
depends on this method to implement the remove operation; it
only notifies the model listeners.
removeImpl
in class BasePersistenceImpl<SCProductScreenshot>
scProductScreenshot
- the model instance to remove
SystemException
- if a system exception occurredpublic SCProductScreenshot updateImpl(SCProductScreenshot scProductScreenshot, boolean merge) throws SystemException
BasePersistenceImpl
BasePersistenceImpl.remove(BaseModel)
depends on this method to implement the
update operation; it only notifies the model listeners.
updateImpl
in interface SCProductScreenshotPersistence
updateImpl
in class BasePersistenceImpl<SCProductScreenshot>
scProductScreenshot
- the model instance to updatemerge
- whether to merge the model instance with the current
session. See BatchSession.update(
com.liferay.portal.kernel.dao.orm.Session, BaseModel, boolean)
for an explanation.
SystemException
- if a system exception occurredprotected SCProductScreenshot toUnwrappedModel(SCProductScreenshot scProductScreenshot)
public SCProductScreenshot findByPrimaryKey(Serializable primaryKey) throws NoSuchModelException, SystemException
NoSuchModelException
if it could not be found.
findByPrimaryKey
in interface BasePersistence<SCProductScreenshot>
findByPrimaryKey
in class BasePersistenceImpl<SCProductScreenshot>
primaryKey
- the primary key of the s c product screenshot
NoSuchModelException
- if a s c product screenshot with the primary key could not be found
SystemException
- if a system exception occurredpublic SCProductScreenshot findByPrimaryKey(long productScreenshotId) throws NoSuchProductScreenshotException, SystemException
NoSuchProductScreenshotException
if it could not be found.
findByPrimaryKey
in interface SCProductScreenshotPersistence
productScreenshotId
- the primary key of the s c product screenshot
NoSuchProductScreenshotException
- if a s c product screenshot with the primary key could not be found
SystemException
- if a system exception occurredpublic SCProductScreenshot fetchByPrimaryKey(Serializable primaryKey) throws SystemException
null
if it could not be found.
fetchByPrimaryKey
in interface BasePersistence<SCProductScreenshot>
fetchByPrimaryKey
in class BasePersistenceImpl<SCProductScreenshot>
primaryKey
- the primary key of the s c product screenshot
null
if a s c product screenshot with the primary key could not be found
SystemException
- if a system exception occurredpublic SCProductScreenshot fetchByPrimaryKey(long productScreenshotId) throws SystemException
null
if it could not be found.
fetchByPrimaryKey
in interface SCProductScreenshotPersistence
productScreenshotId
- the primary key of the s c product screenshot
null
if a s c product screenshot with the primary key could not be found
SystemException
- if a system exception occurredpublic List<SCProductScreenshot> findByProductEntryId(long productEntryId) throws SystemException
findByProductEntryId
in interface SCProductScreenshotPersistence
productEntryId
- the product entry ID
SystemException
- if a system exception occurredpublic List<SCProductScreenshot> findByProductEntryId(long productEntryId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByProductEntryId
in interface SCProductScreenshotPersistence
productEntryId
- the product entry IDstart
- the lower bound of the range of s c product screenshotsend
- the upper bound of the range of s c product screenshots (not inclusive)
SystemException
- if a system exception occurredpublic List<SCProductScreenshot> findByProductEntryId(long productEntryId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByProductEntryId
in interface SCProductScreenshotPersistence
productEntryId
- the product entry IDstart
- the lower bound of the range of s c product screenshotsend
- the upper bound of the range of s c product screenshots (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic SCProductScreenshot findByProductEntryId_First(long productEntryId, OrderByComparator orderByComparator) throws NoSuchProductScreenshotException, SystemException
findByProductEntryId_First
in interface SCProductScreenshotPersistence
productEntryId
- the product entry IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchProductScreenshotException
- if a matching s c product screenshot could not be found
SystemException
- if a system exception occurredpublic SCProductScreenshot fetchByProductEntryId_First(long productEntryId, OrderByComparator orderByComparator) throws SystemException
fetchByProductEntryId_First
in interface SCProductScreenshotPersistence
productEntryId
- the product entry IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching s c product screenshot could not be found
SystemException
- if a system exception occurredpublic SCProductScreenshot findByProductEntryId_Last(long productEntryId, OrderByComparator orderByComparator) throws NoSuchProductScreenshotException, SystemException
findByProductEntryId_Last
in interface SCProductScreenshotPersistence
productEntryId
- the product entry IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchProductScreenshotException
- if a matching s c product screenshot could not be found
SystemException
- if a system exception occurredpublic SCProductScreenshot fetchByProductEntryId_Last(long productEntryId, OrderByComparator orderByComparator) throws SystemException
fetchByProductEntryId_Last
in interface SCProductScreenshotPersistence
productEntryId
- the product entry IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching s c product screenshot could not be found
SystemException
- if a system exception occurredpublic SCProductScreenshot[] findByProductEntryId_PrevAndNext(long productScreenshotId, long productEntryId, OrderByComparator orderByComparator) throws NoSuchProductScreenshotException, SystemException
findByProductEntryId_PrevAndNext
in interface SCProductScreenshotPersistence
productScreenshotId
- the primary key of the current s c product screenshotproductEntryId
- the product entry IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchProductScreenshotException
- if a s c product screenshot with the primary key could not be found
SystemException
- if a system exception occurredprotected SCProductScreenshot getByProductEntryId_PrevAndNext(Session session, SCProductScreenshot scProductScreenshot, long productEntryId, OrderByComparator orderByComparator, boolean previous)
public SCProductScreenshot findByThumbnailId(long thumbnailId) throws NoSuchProductScreenshotException, SystemException
NoSuchProductScreenshotException
if it could not be found.
findByThumbnailId
in interface SCProductScreenshotPersistence
thumbnailId
- the thumbnail ID
NoSuchProductScreenshotException
- if a matching s c product screenshot could not be found
SystemException
- if a system exception occurredpublic SCProductScreenshot fetchByThumbnailId(long thumbnailId) throws SystemException
null
if it could not be found. Uses the finder cache.
fetchByThumbnailId
in interface SCProductScreenshotPersistence
thumbnailId
- the thumbnail ID
null
if a matching s c product screenshot could not be found
SystemException
- if a system exception occurredpublic SCProductScreenshot fetchByThumbnailId(long thumbnailId, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
fetchByThumbnailId
in interface SCProductScreenshotPersistence
thumbnailId
- the thumbnail IDretrieveFromCache
- whether to use the finder cache
null
if a matching s c product screenshot could not be found
SystemException
- if a system exception occurredpublic SCProductScreenshot findByFullImageId(long fullImageId) throws NoSuchProductScreenshotException, SystemException
NoSuchProductScreenshotException
if it could not be found.
findByFullImageId
in interface SCProductScreenshotPersistence
fullImageId
- the full image ID
NoSuchProductScreenshotException
- if a matching s c product screenshot could not be found
SystemException
- if a system exception occurredpublic SCProductScreenshot fetchByFullImageId(long fullImageId) throws SystemException
null
if it could not be found. Uses the finder cache.
fetchByFullImageId
in interface SCProductScreenshotPersistence
fullImageId
- the full image ID
null
if a matching s c product screenshot could not be found
SystemException
- if a system exception occurredpublic SCProductScreenshot fetchByFullImageId(long fullImageId, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
fetchByFullImageId
in interface SCProductScreenshotPersistence
fullImageId
- the full image IDretrieveFromCache
- whether to use the finder cache
null
if a matching s c product screenshot could not be found
SystemException
- if a system exception occurredpublic SCProductScreenshot findByP_P(long productEntryId, int priority) throws NoSuchProductScreenshotException, SystemException
NoSuchProductScreenshotException
if it could not be found.
findByP_P
in interface SCProductScreenshotPersistence
productEntryId
- the product entry IDpriority
- the priority
NoSuchProductScreenshotException
- if a matching s c product screenshot could not be found
SystemException
- if a system exception occurredpublic SCProductScreenshot fetchByP_P(long productEntryId, int priority) throws SystemException
null
if it could not be found. Uses the finder cache.
fetchByP_P
in interface SCProductScreenshotPersistence
productEntryId
- the product entry IDpriority
- the priority
null
if a matching s c product screenshot could not be found
SystemException
- if a system exception occurredpublic SCProductScreenshot fetchByP_P(long productEntryId, int priority, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
fetchByP_P
in interface SCProductScreenshotPersistence
productEntryId
- the product entry IDpriority
- the priorityretrieveFromCache
- whether to use the finder cache
null
if a matching s c product screenshot could not be found
SystemException
- if a system exception occurredpublic List<SCProductScreenshot> findAll() throws SystemException
findAll
in interface SCProductScreenshotPersistence
SystemException
- if a system exception occurredpublic List<SCProductScreenshot> findAll(int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findAll
in interface SCProductScreenshotPersistence
start
- the lower bound of the range of s c product screenshotsend
- the upper bound of the range of s c product screenshots (not inclusive)
SystemException
- if a system exception occurredpublic List<SCProductScreenshot> findAll(int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findAll
in interface SCProductScreenshotPersistence
start
- the lower bound of the range of s c product screenshotsend
- the upper bound of the range of s c product screenshots (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic void removeByProductEntryId(long productEntryId) throws SystemException
removeByProductEntryId
in interface SCProductScreenshotPersistence
productEntryId
- the product entry ID
SystemException
- if a system exception occurredpublic SCProductScreenshot removeByThumbnailId(long thumbnailId) throws NoSuchProductScreenshotException, SystemException
removeByThumbnailId
in interface SCProductScreenshotPersistence
thumbnailId
- the thumbnail ID
SystemException
- if a system exception occurred
NoSuchProductScreenshotException
public SCProductScreenshot removeByFullImageId(long fullImageId) throws NoSuchProductScreenshotException, SystemException
removeByFullImageId
in interface SCProductScreenshotPersistence
fullImageId
- the full image ID
SystemException
- if a system exception occurred
NoSuchProductScreenshotException
public SCProductScreenshot removeByP_P(long productEntryId, int priority) throws NoSuchProductScreenshotException, SystemException
removeByP_P
in interface SCProductScreenshotPersistence
productEntryId
- the product entry IDpriority
- the priority
SystemException
- if a system exception occurred
NoSuchProductScreenshotException
public void removeAll() throws SystemException
removeAll
in interface SCProductScreenshotPersistence
SystemException
- if a system exception occurredpublic int countByProductEntryId(long productEntryId) throws SystemException
countByProductEntryId
in interface SCProductScreenshotPersistence
productEntryId
- the product entry ID
SystemException
- if a system exception occurredpublic int countByThumbnailId(long thumbnailId) throws SystemException
countByThumbnailId
in interface SCProductScreenshotPersistence
thumbnailId
- the thumbnail ID
SystemException
- if a system exception occurredpublic int countByFullImageId(long fullImageId) throws SystemException
countByFullImageId
in interface SCProductScreenshotPersistence
fullImageId
- the full image ID
SystemException
- if a system exception occurredpublic int countByP_P(long productEntryId, int priority) throws SystemException
countByP_P
in interface SCProductScreenshotPersistence
productEntryId
- the product entry IDpriority
- the priority
SystemException
- if a system exception occurredpublic int countAll() throws SystemException
countAll
in interface SCProductScreenshotPersistence
SystemException
- if a system exception occurredpublic void afterPropertiesSet()
public void destroy()
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |