|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.service.persistence.impl.BasePersistenceImpl<SCProductScreenshot>
com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistenceImpl
public class SCProductScreenshotPersistenceImpl
SCProductScreenshotPersistence,
SCProductScreenshotUtil| Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
COUNT_COLUMN_NAME, 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()
|
void |
cacheResult(List<SCProductScreenshot> scProductScreenshots)
|
void |
cacheResult(SCProductScreenshot scProductScreenshot)
|
void |
clearCache()
Clears the cache for all instances of this model. |
void |
clearCache(SCProductScreenshot scProductScreenshot)
Clears the cache for one instance of this model. |
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 |
fetchByPrimaryKey(Serializable primaryKey)
Finds an instance of this model by its primary key, or return null if it could not be found. |
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 |
findByPrimaryKey(Serializable primaryKey)
Finds an instance of this model by its primary key, or throw an exception if it could not be found. |
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)
|
protected SCProductScreenshot |
getByProductEntryId_PrevAndNext(Session session,
SCProductScreenshot scProductScreenshot,
long productEntryId,
OrderByComparator orderByComparator,
boolean previous)
|
SCProductScreenshot |
remove(long productScreenshotId)
|
SCProductScreenshot |
remove(Serializable primaryKey)
Removes the model instance identified by the primary key from the database, and notifies the appropriate model listeners. |
void |
removeAll()
|
void |
removeByFullImageId(long fullImageId)
|
void |
removeByP_P(long productEntryId,
int priority)
|
void |
removeByProductEntryId(long productEntryId)
|
void |
removeByThumbnailId(long thumbnailId)
|
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, getDataSource, 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 |
|---|
countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, setDataSource, unregisterListener, update, update |
| Field Detail |
|---|
public static final String FINDER_CLASS_NAME_ENTITY
public static final String FINDER_CLASS_NAME_LIST
public static final FinderPath FINDER_PATH_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_FIND_ALL
public static final FinderPath FINDER_PATH_COUNT_ALL
@BeanReference(type=SCLicensePersistence.class) protected SCLicensePersistence scLicensePersistence
@BeanReference(type=SCFrameworkVersionPersistence.class) protected SCFrameworkVersionPersistence scFrameworkVersionPersistence
@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 SCProductScreenshotPersistencepublic void cacheResult(List<SCProductScreenshot> scProductScreenshots)
cacheResult in interface SCProductScreenshotPersistencepublic void clearCache()
BasePersistence
The EntityCache and FinderCache are both cleared by this
method.
Caching information and settings can be found in
portal.properties
clearCache in interface BasePersistence<SCProductScreenshot>clearCache in class BasePersistenceImpl<SCProductScreenshot>public void clearCache(SCProductScreenshot scProductScreenshot)
BasePersistence
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 SCProductScreenshot create(long productScreenshotId)
create in interface SCProductScreenshotPersistence
public SCProductScreenshot remove(Serializable primaryKey)
throws NoSuchModelException,
SystemException
BasePersistence
remove in interface BasePersistence<SCProductScreenshot>remove in class BasePersistenceImpl<SCProductScreenshot>primaryKey - the primary key of the model instance to remove
NoSuchModelException - if an instance of this model with the
primary key does not exist
SystemException - if a system exception occurred
public SCProductScreenshot remove(long productScreenshotId)
throws NoSuchProductScreenshotException,
SystemException
remove in interface SCProductScreenshotPersistenceNoSuchProductScreenshotException
SystemException
protected SCProductScreenshot removeImpl(SCProductScreenshot scProductScreenshot)
throws SystemException
BasePersistenceImplBasePersistenceImpl.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 occurred
public SCProductScreenshot updateImpl(SCProductScreenshot scProductScreenshot,
boolean merge)
throws SystemException
BasePersistenceImplBasePersistenceImpl.remove(BaseModel) depends on this method to implement the
update operation; it only notifies the model listeners.
updateImpl in interface SCProductScreenshotPersistenceupdateImpl 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
BasePersistence
findByPrimaryKey in interface BasePersistence<SCProductScreenshot>findByPrimaryKey in class BasePersistenceImpl<SCProductScreenshot>primaryKey - the primary key of the model instance to find
NoSuchModelException - if an instance of this model with the
primary key does not exist
SystemException - if the primary key is null, or if a
system exception occurred
public SCProductScreenshot findByPrimaryKey(long productScreenshotId)
throws NoSuchProductScreenshotException,
SystemException
findByPrimaryKey in interface SCProductScreenshotPersistenceNoSuchProductScreenshotException
SystemException
public SCProductScreenshot fetchByPrimaryKey(Serializable primaryKey)
throws SystemException
BasePersistencenull if it could not be found.
fetchByPrimaryKey in interface BasePersistence<SCProductScreenshot>fetchByPrimaryKey in class BasePersistenceImpl<SCProductScreenshot>primaryKey - the primary key of the model instance to find
null if an instance of this
model with the primary key does not exist
SystemException - if the primary key is null, or if a
system exception occurred
public SCProductScreenshot fetchByPrimaryKey(long productScreenshotId)
throws SystemException
fetchByPrimaryKey in interface SCProductScreenshotPersistenceSystemException
public List<SCProductScreenshot> findByProductEntryId(long productEntryId)
throws SystemException
findByProductEntryId in interface SCProductScreenshotPersistenceSystemException
public List<SCProductScreenshot> findByProductEntryId(long productEntryId,
int start,
int end)
throws SystemException
findByProductEntryId in interface SCProductScreenshotPersistenceSystemException
public List<SCProductScreenshot> findByProductEntryId(long productEntryId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
findByProductEntryId in interface SCProductScreenshotPersistenceSystemException
public SCProductScreenshot findByProductEntryId_First(long productEntryId,
OrderByComparator orderByComparator)
throws NoSuchProductScreenshotException,
SystemException
findByProductEntryId_First in interface SCProductScreenshotPersistenceNoSuchProductScreenshotException
SystemException
public SCProductScreenshot findByProductEntryId_Last(long productEntryId,
OrderByComparator orderByComparator)
throws NoSuchProductScreenshotException,
SystemException
findByProductEntryId_Last in interface SCProductScreenshotPersistenceNoSuchProductScreenshotException
SystemException
public SCProductScreenshot[] findByProductEntryId_PrevAndNext(long productScreenshotId,
long productEntryId,
OrderByComparator orderByComparator)
throws NoSuchProductScreenshotException,
SystemException
findByProductEntryId_PrevAndNext in interface SCProductScreenshotPersistenceNoSuchProductScreenshotException
SystemException
protected SCProductScreenshot getByProductEntryId_PrevAndNext(Session session,
SCProductScreenshot scProductScreenshot,
long productEntryId,
OrderByComparator orderByComparator,
boolean previous)
public SCProductScreenshot findByThumbnailId(long thumbnailId)
throws NoSuchProductScreenshotException,
SystemException
findByThumbnailId in interface SCProductScreenshotPersistenceNoSuchProductScreenshotException
SystemException
public SCProductScreenshot fetchByThumbnailId(long thumbnailId)
throws SystemException
fetchByThumbnailId in interface SCProductScreenshotPersistenceSystemException
public SCProductScreenshot fetchByThumbnailId(long thumbnailId,
boolean retrieveFromCache)
throws SystemException
fetchByThumbnailId in interface SCProductScreenshotPersistenceSystemException
public SCProductScreenshot findByFullImageId(long fullImageId)
throws NoSuchProductScreenshotException,
SystemException
findByFullImageId in interface SCProductScreenshotPersistenceNoSuchProductScreenshotException
SystemException
public SCProductScreenshot fetchByFullImageId(long fullImageId)
throws SystemException
fetchByFullImageId in interface SCProductScreenshotPersistenceSystemException
public SCProductScreenshot fetchByFullImageId(long fullImageId,
boolean retrieveFromCache)
throws SystemException
fetchByFullImageId in interface SCProductScreenshotPersistenceSystemException
public SCProductScreenshot findByP_P(long productEntryId,
int priority)
throws NoSuchProductScreenshotException,
SystemException
findByP_P in interface SCProductScreenshotPersistenceNoSuchProductScreenshotException
SystemException
public SCProductScreenshot fetchByP_P(long productEntryId,
int priority)
throws SystemException
fetchByP_P in interface SCProductScreenshotPersistenceSystemException
public SCProductScreenshot fetchByP_P(long productEntryId,
int priority,
boolean retrieveFromCache)
throws SystemException
fetchByP_P in interface SCProductScreenshotPersistenceSystemException
public List<SCProductScreenshot> findAll()
throws SystemException
findAll in interface SCProductScreenshotPersistenceSystemException
public List<SCProductScreenshot> findAll(int start,
int end)
throws SystemException
findAll in interface SCProductScreenshotPersistenceSystemException
public List<SCProductScreenshot> findAll(int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
findAll in interface SCProductScreenshotPersistenceSystemException
public void removeByProductEntryId(long productEntryId)
throws SystemException
removeByProductEntryId in interface SCProductScreenshotPersistenceSystemException
public void removeByThumbnailId(long thumbnailId)
throws NoSuchProductScreenshotException,
SystemException
removeByThumbnailId in interface SCProductScreenshotPersistenceNoSuchProductScreenshotException
SystemException
public void removeByFullImageId(long fullImageId)
throws NoSuchProductScreenshotException,
SystemException
removeByFullImageId in interface SCProductScreenshotPersistenceNoSuchProductScreenshotException
SystemException
public void removeByP_P(long productEntryId,
int priority)
throws NoSuchProductScreenshotException,
SystemException
removeByP_P in interface SCProductScreenshotPersistenceNoSuchProductScreenshotException
SystemException
public void removeAll()
throws SystemException
removeAll in interface SCProductScreenshotPersistenceSystemException
public int countByProductEntryId(long productEntryId)
throws SystemException
countByProductEntryId in interface SCProductScreenshotPersistenceSystemException
public int countByThumbnailId(long thumbnailId)
throws SystemException
countByThumbnailId in interface SCProductScreenshotPersistenceSystemException
public int countByFullImageId(long fullImageId)
throws SystemException
countByFullImageId in interface SCProductScreenshotPersistenceSystemException
public int countByP_P(long productEntryId,
int priority)
throws SystemException
countByP_P in interface SCProductScreenshotPersistenceSystemException
public int countAll()
throws SystemException
countAll in interface SCProductScreenshotPersistenceSystemExceptionpublic void afterPropertiesSet()
|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||