|
|||||||||
| 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<com.liferay.portlet.softwarecatalog.model.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| Field Summary | |
|---|---|
static java.lang.String |
FINDER_CLASS_NAME_ENTITY
|
static java.lang.String |
FINDER_CLASS_NAME_LIST_WITH_PAGINATION
|
static java.lang.String |
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_ALL
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_FULLIMAGEID
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_P_P
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_PRODUCTENTRYID
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_THUMBNAILID
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_FETCH_BY_FULLIMAGEID
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_FETCH_BY_P_P
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_FETCH_BY_THUMBNAILID
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_ALL
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_PRODUCTENTRYID
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_PRODUCTENTRYID
|
protected com.liferay.portal.service.persistence.ImagePersistence |
imagePersistence
|
protected com.liferay.portal.service.persistence.ResourcePersistence |
resourcePersistence
|
protected com.liferay.portlet.softwarecatalog.service.persistence.SCFrameworkVersionPersistence |
scFrameworkVersionPersistence
|
protected com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence |
scLicensePersistence
|
protected com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence |
scProductEntryPersistence
|
protected com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistence |
scProductScreenshotPersistence
|
protected com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence |
scProductVersionPersistence
|
protected com.liferay.portal.service.persistence.UserPersistence |
userPersistence
|
| 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(java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot> scProductScreenshots)
Caches the s c product screenshots in the entity cache if it is enabled. |
void |
cacheResult(com.liferay.portlet.softwarecatalog.model.SCProductScreenshot scProductScreenshot)
Caches the s c product screenshot in the entity cache if it is enabled. |
void |
clearCache()
Clears the cache for all s c product screenshots. |
void |
clearCache(java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot> scProductScreenshots)
|
void |
clearCache(com.liferay.portlet.softwarecatalog.model.SCProductScreenshot scProductScreenshot)
Clears the cache for the s c product screenshot. |
protected void |
clearUniqueFindersCache(com.liferay.portlet.softwarecatalog.model.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 = ?. |
com.liferay.portlet.softwarecatalog.model.SCProductScreenshot |
create(long productScreenshotId)
Creates a new s c product screenshot with the primary key. |
void |
destroy()
|
com.liferay.portlet.softwarecatalog.model.SCProductScreenshot |
fetchByFullImageId(long fullImageId)
Returns the s c product screenshot where fullImageId = ? or returns null if it could not be found. |
com.liferay.portlet.softwarecatalog.model.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. |
com.liferay.portlet.softwarecatalog.model.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. |
com.liferay.portlet.softwarecatalog.model.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. |
com.liferay.portlet.softwarecatalog.model.SCProductScreenshot |
fetchByPrimaryKey(long productScreenshotId)
Returns the s c product screenshot with the primary key or returns null if it could not be found. |
com.liferay.portlet.softwarecatalog.model.SCProductScreenshot |
fetchByPrimaryKey(java.io.Serializable primaryKey)
Returns the s c product screenshot with the primary key or returns null if it could not be found. |
com.liferay.portlet.softwarecatalog.model.SCProductScreenshot |
fetchByThumbnailId(long thumbnailId)
Returns the s c product screenshot where thumbnailId = ? or returns null if it could not be found. |
com.liferay.portlet.softwarecatalog.model.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. |
java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot> |
findAll()
Returns all the s c product screenshots. |
java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot> |
findAll(int start,
int end)
Returns a range of all the s c product screenshots. |
java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the s c product screenshots. |
com.liferay.portlet.softwarecatalog.model.SCProductScreenshot |
findByFullImageId(long fullImageId)
Returns the s c product screenshot where fullImageId = ? or throws a NoSuchProductScreenshotException if it could not be found. |
com.liferay.portlet.softwarecatalog.model.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. |
com.liferay.portlet.softwarecatalog.model.SCProductScreenshot |
findByPrimaryKey(long productScreenshotId)
Returns the s c product screenshot with the primary key or throws a NoSuchProductScreenshotException if it could not be found. |
com.liferay.portlet.softwarecatalog.model.SCProductScreenshot |
findByPrimaryKey(java.io.Serializable primaryKey)
Returns the s c product screenshot with the primary key or throws a NoSuchModelException if it could not be found. |
com.liferay.portlet.softwarecatalog.model.SCProductScreenshot |
findByProductEntryId_First(long productEntryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first s c product screenshot in the ordered set where productEntryId = ?. |
com.liferay.portlet.softwarecatalog.model.SCProductScreenshot |
findByProductEntryId_Last(long productEntryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last s c product screenshot in the ordered set where productEntryId = ?. |
com.liferay.portlet.softwarecatalog.model.SCProductScreenshot[] |
findByProductEntryId_PrevAndNext(long productScreenshotId,
long productEntryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the s c product screenshots before and after the current s c product screenshot in the ordered set where productEntryId = ?. |
java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot> |
findByProductEntryId(long productEntryId)
Returns all the s c product screenshots where productEntryId = ?. |
java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot> |
findByProductEntryId(long productEntryId,
int start,
int end)
Returns a range of all the s c product screenshots where productEntryId = ?. |
java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot> |
findByProductEntryId(long productEntryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the s c product screenshots where productEntryId = ?. |
com.liferay.portlet.softwarecatalog.model.SCProductScreenshot |
findByThumbnailId(long thumbnailId)
Returns the s c product screenshot where thumbnailId = ? or throws a NoSuchProductScreenshotException if it could not be found. |
protected com.liferay.portlet.softwarecatalog.model.SCProductScreenshot |
getByProductEntryId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.softwarecatalog.model.SCProductScreenshot scProductScreenshot,
long productEntryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
|
com.liferay.portlet.softwarecatalog.model.SCProductScreenshot |
remove(long productScreenshotId)
Removes the s c product screenshot with the primary key from the database. |
com.liferay.portlet.softwarecatalog.model.SCProductScreenshot |
remove(java.io.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. |
void |
removeByFullImageId(long fullImageId)
Removes the s c product screenshot where fullImageId = ? from the database. |
void |
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. |
void |
removeByThumbnailId(long thumbnailId)
Removes the s c product screenshot where thumbnailId = ? from the database. |
protected com.liferay.portlet.softwarecatalog.model.SCProductScreenshot |
removeImpl(com.liferay.portlet.softwarecatalog.model.SCProductScreenshot scProductScreenshot)
|
protected com.liferay.portlet.softwarecatalog.model.SCProductScreenshot |
toUnwrappedModel(com.liferay.portlet.softwarecatalog.model.SCProductScreenshot scProductScreenshot)
|
com.liferay.portlet.softwarecatalog.model.SCProductScreenshot |
updateImpl(com.liferay.portlet.softwarecatalog.model.SCProductScreenshot scProductScreenshot,
boolean merge)
|
| Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
appendOrderByComparator, closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, 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 java.lang.String FINDER_CLASS_NAME_ENTITY
public static final java.lang.String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final java.lang.String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_PRODUCTENTRYID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_PRODUCTENTRYID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_PRODUCTENTRYID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_THUMBNAILID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_THUMBNAILID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_FULLIMAGEID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_FULLIMAGEID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_P_P
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_P_P
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_ALL
@BeanReference(type=com.liferay.portlet.softwarecatalog.service.persistence.SCFrameworkVersionPersistence.class) protected com.liferay.portlet.softwarecatalog.service.persistence.SCFrameworkVersionPersistence scFrameworkVersionPersistence
@BeanReference(type=com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence.class) protected com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence scLicensePersistence
@BeanReference(type=com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence.class) protected com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence scProductEntryPersistence
@BeanReference(type=com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistence.class) protected com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistence scProductScreenshotPersistence
@BeanReference(type=com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence.class) protected com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence scProductVersionPersistence
@BeanReference(type=com.liferay.portal.service.persistence.ImagePersistence.class) protected com.liferay.portal.service.persistence.ImagePersistence imagePersistence
@BeanReference(type=com.liferay.portal.service.persistence.ResourcePersistence.class) protected com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence
@BeanReference(type=com.liferay.portal.service.persistence.UserPersistence.class) protected com.liferay.portal.service.persistence.UserPersistence userPersistence
| Constructor Detail |
|---|
public SCProductScreenshotPersistenceImpl()
| Method Detail |
|---|
public void cacheResult(com.liferay.portlet.softwarecatalog.model.SCProductScreenshot scProductScreenshot)
cacheResult in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistencescProductScreenshot - the s c product screenshotpublic void cacheResult(java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot> scProductScreenshots)
cacheResult in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistencescProductScreenshots - the s c product screenshotspublic void clearCache()
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot>clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot>public void clearCache(com.liferay.portlet.softwarecatalog.model.SCProductScreenshot scProductScreenshot)
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot>clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot>public void clearCache(java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot> scProductScreenshots)
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot>clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot>protected void clearUniqueFindersCache(com.liferay.portlet.softwarecatalog.model.SCProductScreenshot scProductScreenshot)
public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot create(long productScreenshotId)
create in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistenceproductScreenshotId - the primary key for the new s c product screenshot
public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot remove(long productScreenshotId)
throws com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException,
com.liferay.portal.kernel.exception.SystemException
remove in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistenceproductScreenshotId - the primary key of the s c product screenshot
com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException - if a s c product screenshot with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot remove(java.io.Serializable primaryKey)
throws com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException,
com.liferay.portal.kernel.exception.SystemException
remove in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot>remove in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot>primaryKey - the primary key of the s c product screenshot
com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException - if a s c product screenshot with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
protected com.liferay.portlet.softwarecatalog.model.SCProductScreenshot removeImpl(com.liferay.portlet.softwarecatalog.model.SCProductScreenshot scProductScreenshot)
throws com.liferay.portal.kernel.exception.SystemException
removeImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot>com.liferay.portal.kernel.exception.SystemException
public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot updateImpl(com.liferay.portlet.softwarecatalog.model.SCProductScreenshot scProductScreenshot,
boolean merge)
throws com.liferay.portal.kernel.exception.SystemException
updateImpl in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistenceupdateImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot>com.liferay.portal.kernel.exception.SystemExceptionprotected com.liferay.portlet.softwarecatalog.model.SCProductScreenshot toUnwrappedModel(com.liferay.portlet.softwarecatalog.model.SCProductScreenshot scProductScreenshot)
public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot findByPrimaryKey(java.io.Serializable primaryKey)
throws com.liferay.portal.NoSuchModelException,
com.liferay.portal.kernel.exception.SystemException
NoSuchModelException if it could not be found.
findByPrimaryKey in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot>findByPrimaryKey in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot>primaryKey - the primary key of the s c product screenshot
com.liferay.portal.NoSuchModelException - if a s c product screenshot with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot findByPrimaryKey(long productScreenshotId)
throws com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException,
com.liferay.portal.kernel.exception.SystemException
NoSuchProductScreenshotException if it could not be found.
findByPrimaryKey in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistenceproductScreenshotId - the primary key of the s c product screenshot
com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException - if a s c product screenshot with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot fetchByPrimaryKey(java.io.Serializable primaryKey)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found.
fetchByPrimaryKey in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot>fetchByPrimaryKey in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.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
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot fetchByPrimaryKey(long productScreenshotId)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found.
fetchByPrimaryKey in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistenceproductScreenshotId - the primary key of the s c product screenshot
null if a s c product screenshot with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot> findByProductEntryId(long productEntryId)
throws com.liferay.portal.kernel.exception.SystemException
findByProductEntryId in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistenceproductEntryId - the product entry ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot> findByProductEntryId(long productEntryId,
int start,
int end)
throws com.liferay.portal.kernel.exception.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 com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistenceproductEntryId - 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)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot> findByProductEntryId(long productEntryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.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 com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistenceproductEntryId - 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)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot findByProductEntryId_First(long productEntryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException,
com.liferay.portal.kernel.exception.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_First in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistenceproductEntryId - the product entry IDorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException - if a matching s c product screenshot could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot findByProductEntryId_Last(long productEntryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException,
com.liferay.portal.kernel.exception.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_Last in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistenceproductEntryId - the product entry IDorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException - if a matching s c product screenshot could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot[] findByProductEntryId_PrevAndNext(long productScreenshotId,
long productEntryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException,
com.liferay.portal.kernel.exception.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_PrevAndNext in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistenceproductScreenshotId - the primary key of the current s c product screenshotproductEntryId - the product entry IDorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException - if a s c product screenshot with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
protected com.liferay.portlet.softwarecatalog.model.SCProductScreenshot getByProductEntryId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.softwarecatalog.model.SCProductScreenshot scProductScreenshot,
long productEntryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot findByThumbnailId(long thumbnailId)
throws com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException,
com.liferay.portal.kernel.exception.SystemException
NoSuchProductScreenshotException if it could not be found.
findByThumbnailId in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistencethumbnailId - the thumbnail ID
com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException - if a matching s c product screenshot could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot fetchByThumbnailId(long thumbnailId)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found. Uses the finder cache.
fetchByThumbnailId in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistencethumbnailId - the thumbnail ID
null if a matching s c product screenshot could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot fetchByThumbnailId(long thumbnailId,
boolean retrieveFromCache)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found, optionally using the finder cache.
fetchByThumbnailId in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistencethumbnailId - the thumbnail IDretrieveFromCache - whether to use the finder cache
null if a matching s c product screenshot could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot findByFullImageId(long fullImageId)
throws com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException,
com.liferay.portal.kernel.exception.SystemException
NoSuchProductScreenshotException if it could not be found.
findByFullImageId in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistencefullImageId - the full image ID
com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException - if a matching s c product screenshot could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot fetchByFullImageId(long fullImageId)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found. Uses the finder cache.
fetchByFullImageId in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistencefullImageId - the full image ID
null if a matching s c product screenshot could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot fetchByFullImageId(long fullImageId,
boolean retrieveFromCache)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found, optionally using the finder cache.
fetchByFullImageId in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistencefullImageId - the full image IDretrieveFromCache - whether to use the finder cache
null if a matching s c product screenshot could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot findByP_P(long productEntryId,
int priority)
throws com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException,
com.liferay.portal.kernel.exception.SystemException
NoSuchProductScreenshotException if it could not be found.
findByP_P in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistenceproductEntryId - the product entry IDpriority - the priority
com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException - if a matching s c product screenshot could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot fetchByP_P(long productEntryId,
int priority)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found. Uses the finder cache.
fetchByP_P in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistenceproductEntryId - the product entry IDpriority - the priority
null if a matching s c product screenshot could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot fetchByP_P(long productEntryId,
int priority,
boolean retrieveFromCache)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found, optionally using the finder cache.
fetchByP_P in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistenceproductEntryId - the product entry IDpriority - the priorityretrieveFromCache - whether to use the finder cache
null if a matching s c product screenshot could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot> findAll()
throws com.liferay.portal.kernel.exception.SystemException
findAll in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistencecom.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot> findAll(int start,
int end)
throws com.liferay.portal.kernel.exception.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 com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistencestart - the lower bound of the range of s c product screenshotsend - the upper bound of the range of s c product screenshots (not inclusive)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.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 com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistencestart - 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)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public void removeByProductEntryId(long productEntryId)
throws com.liferay.portal.kernel.exception.SystemException
removeByProductEntryId in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistenceproductEntryId - the product entry ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public void removeByThumbnailId(long thumbnailId)
throws com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException,
com.liferay.portal.kernel.exception.SystemException
removeByThumbnailId in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistencethumbnailId - the thumbnail ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException
public void removeByFullImageId(long fullImageId)
throws com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException,
com.liferay.portal.kernel.exception.SystemException
removeByFullImageId in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistencefullImageId - the full image ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException
public void removeByP_P(long productEntryId,
int priority)
throws com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException,
com.liferay.portal.kernel.exception.SystemException
removeByP_P in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistenceproductEntryId - the product entry IDpriority - the priority
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException
public void removeAll()
throws com.liferay.portal.kernel.exception.SystemException
removeAll in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistencecom.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public int countByProductEntryId(long productEntryId)
throws com.liferay.portal.kernel.exception.SystemException
countByProductEntryId in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistenceproductEntryId - the product entry ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public int countByThumbnailId(long thumbnailId)
throws com.liferay.portal.kernel.exception.SystemException
countByThumbnailId in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistencethumbnailId - the thumbnail ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public int countByFullImageId(long fullImageId)
throws com.liferay.portal.kernel.exception.SystemException
countByFullImageId in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistencefullImageId - the full image ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public int countByP_P(long productEntryId,
int priority)
throws com.liferay.portal.kernel.exception.SystemException
countByP_P in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistenceproductEntryId - the product entry IDpriority - the priority
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public int countAll()
throws com.liferay.portal.kernel.exception.SystemException
countAll in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistencecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void afterPropertiesSet()
public void destroy()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||