@ProviderType
public class SCProductScreenshotPersistenceImpl
extends com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot>
implements com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistence
Caching information and settings can be found in portal.properties
SCProductScreenshotPersistence,
SCProductScreenshotUtil| Modifier and Type | Field and Description |
|---|---|
protected com.liferay.portal.kernel.dao.orm.EntityCache |
entityCache |
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.kernel.dao.orm.FinderCache |
finderCache |
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, NULL_SAFE_STRING_COMPARATOR, 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 and Description |
|---|
SCProductScreenshotPersistenceImpl() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
protected void |
cacheUniqueFindersCache(SCProductScreenshotModelImpl scProductScreenshotModelImpl,
boolean isNew) |
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(SCProductScreenshotModelImpl scProductScreenshotModelImpl) |
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. |
java.util.Map<java.io.Serializable,com.liferay.portlet.softwarecatalog.model.SCProductScreenshot> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
com.liferay.portlet.softwarecatalog.model.SCProductScreenshot |
fetchByProductEntryId_First(long productEntryId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot> orderByComparator)
Returns the first s c product screenshot in the ordered set where productEntryId = ?.
|
com.liferay.portlet.softwarecatalog.model.SCProductScreenshot |
fetchByProductEntryId_Last(long productEntryId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot> orderByComparator)
Returns the last s c product screenshot in the ordered set where productEntryId = ?.
|
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<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot> orderByComparator)
Returns an ordered 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<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot> orderByComparator,
boolean retrieveFromCache)
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<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot> 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<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot> 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<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot> 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<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot> orderByComparator)
Returns an ordered 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<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot> orderByComparator,
boolean retrieveFromCache)
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<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot> orderByComparator,
boolean previous) |
protected java.util.Map<java.lang.String,java.lang.Integer> |
getTableColumnsMap() |
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.
|
com.liferay.portlet.softwarecatalog.model.SCProductScreenshot |
removeByFullImageId(long fullImageId)
Removes the s c product screenshot where fullImageId = ? from the database.
|
com.liferay.portlet.softwarecatalog.model.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.
|
com.liferay.portlet.softwarecatalog.model.SCProductScreenshot |
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) |
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getClassLoader, getColumnName, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, update, update, update, updateImplclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcloseSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update, update, updatepublic 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_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
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
protected com.liferay.portal.kernel.dao.orm.EntityCache entityCache
protected com.liferay.portal.kernel.dao.orm.FinderCache finderCache
public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot> findByProductEntryId(long productEntryId)
findByProductEntryId in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistenceproductEntryId - the product entry IDpublic java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot> findByProductEntryId(long productEntryId,
int start,
int end)
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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from SCProductScreenshotModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot> findByProductEntryId(long productEntryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot> orderByComparator)
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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from SCProductScreenshotModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot> findByProductEntryId(long productEntryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot> orderByComparator,
boolean retrieveFromCache)
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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from SCProductScreenshotModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)retrieveFromCache - whether to retrieve from the finder cachepublic com.liferay.portlet.softwarecatalog.model.SCProductScreenshot findByProductEntryId_First(long productEntryId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot> orderByComparator)
throws com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException
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 foundpublic com.liferay.portlet.softwarecatalog.model.SCProductScreenshot fetchByProductEntryId_First(long productEntryId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot> orderByComparator)
fetchByProductEntryId_First in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistenceproductEntryId - the product entry IDorderByComparator - the comparator to order the set by (optionally null)null if a matching s c product screenshot could not be foundpublic com.liferay.portlet.softwarecatalog.model.SCProductScreenshot findByProductEntryId_Last(long productEntryId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot> orderByComparator)
throws com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException
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 foundpublic com.liferay.portlet.softwarecatalog.model.SCProductScreenshot fetchByProductEntryId_Last(long productEntryId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot> orderByComparator)
fetchByProductEntryId_Last in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistenceproductEntryId - the product entry IDorderByComparator - the comparator to order the set by (optionally null)null if a matching s c product screenshot could not be foundpublic com.liferay.portlet.softwarecatalog.model.SCProductScreenshot[] findByProductEntryId_PrevAndNext(long productScreenshotId,
long productEntryId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot> orderByComparator)
throws com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException
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 foundprotected 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<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot> orderByComparator,
boolean previous)
public void removeByProductEntryId(long productEntryId)
removeByProductEntryId in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistenceproductEntryId - the product entry IDpublic int countByProductEntryId(long productEntryId)
countByProductEntryId in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistenceproductEntryId - the product entry IDpublic com.liferay.portlet.softwarecatalog.model.SCProductScreenshot findByThumbnailId(long thumbnailId)
throws com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException
NoSuchProductScreenshotException if it could not be found.findByThumbnailId in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistencethumbnailId - the thumbnail IDcom.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException - if a matching s c product screenshot could not be foundpublic com.liferay.portlet.softwarecatalog.model.SCProductScreenshot fetchByThumbnailId(long thumbnailId)
null if it could not be found. Uses the finder cache.fetchByThumbnailId in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistencethumbnailId - the thumbnail IDnull if a matching s c product screenshot could not be foundpublic com.liferay.portlet.softwarecatalog.model.SCProductScreenshot fetchByThumbnailId(long thumbnailId,
boolean retrieveFromCache)
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 retrieve from the finder cachenull if a matching s c product screenshot could not be foundpublic com.liferay.portlet.softwarecatalog.model.SCProductScreenshot removeByThumbnailId(long thumbnailId)
throws com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException
removeByThumbnailId in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistencethumbnailId - the thumbnail IDcom.liferay.portlet.softwarecatalog.NoSuchProductScreenshotExceptionpublic int countByThumbnailId(long thumbnailId)
countByThumbnailId in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistencethumbnailId - the thumbnail IDpublic com.liferay.portlet.softwarecatalog.model.SCProductScreenshot findByFullImageId(long fullImageId)
throws com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException
NoSuchProductScreenshotException if it could not be found.findByFullImageId in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistencefullImageId - the full image IDcom.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException - if a matching s c product screenshot could not be foundpublic com.liferay.portlet.softwarecatalog.model.SCProductScreenshot fetchByFullImageId(long fullImageId)
null if it could not be found. Uses the finder cache.fetchByFullImageId in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistencefullImageId - the full image IDnull if a matching s c product screenshot could not be foundpublic com.liferay.portlet.softwarecatalog.model.SCProductScreenshot fetchByFullImageId(long fullImageId,
boolean retrieveFromCache)
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 retrieve from the finder cachenull if a matching s c product screenshot could not be foundpublic com.liferay.portlet.softwarecatalog.model.SCProductScreenshot removeByFullImageId(long fullImageId)
throws com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException
removeByFullImageId in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistencefullImageId - the full image IDcom.liferay.portlet.softwarecatalog.NoSuchProductScreenshotExceptionpublic int countByFullImageId(long fullImageId)
countByFullImageId in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistencefullImageId - the full image IDpublic com.liferay.portlet.softwarecatalog.model.SCProductScreenshot findByP_P(long productEntryId,
int priority)
throws com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException
NoSuchProductScreenshotException if it could not be found.findByP_P in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistenceproductEntryId - the product entry IDpriority - the prioritycom.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException - if a matching s c product screenshot could not be foundpublic com.liferay.portlet.softwarecatalog.model.SCProductScreenshot fetchByP_P(long productEntryId,
int priority)
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 prioritynull if a matching s c product screenshot could not be foundpublic com.liferay.portlet.softwarecatalog.model.SCProductScreenshot fetchByP_P(long productEntryId,
int priority,
boolean retrieveFromCache)
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 retrieve from the finder cachenull if a matching s c product screenshot could not be foundpublic com.liferay.portlet.softwarecatalog.model.SCProductScreenshot removeByP_P(long productEntryId,
int priority)
throws com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException
removeByP_P in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistenceproductEntryId - the product entry IDpriority - the prioritycom.liferay.portlet.softwarecatalog.NoSuchProductScreenshotExceptionpublic int countByP_P(long productEntryId,
int priority)
countByP_P in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistenceproductEntryId - the product entry IDpriority - the prioritypublic 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 cacheUniqueFindersCache(SCProductScreenshotModelImpl scProductScreenshotModelImpl, boolean isNew)
protected void clearUniqueFindersCache(SCProductScreenshotModelImpl scProductScreenshotModelImpl)
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 screenshotpublic com.liferay.portlet.softwarecatalog.model.SCProductScreenshot remove(long productScreenshotId)
throws com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException
remove in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistenceproductScreenshotId - the primary key of the s c product screenshotcom.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException - if a s c product screenshot with the primary key could not be foundpublic com.liferay.portlet.softwarecatalog.model.SCProductScreenshot remove(java.io.Serializable primaryKey)
throws com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException
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 screenshotcom.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException - if a s c product screenshot with the primary key could not be foundprotected com.liferay.portlet.softwarecatalog.model.SCProductScreenshot removeImpl(com.liferay.portlet.softwarecatalog.model.SCProductScreenshot scProductScreenshot)
removeImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot>public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot updateImpl(com.liferay.portlet.softwarecatalog.model.SCProductScreenshot scProductScreenshot)
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>protected 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.portlet.softwarecatalog.NoSuchProductScreenshotException
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 screenshotcom.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException - if a s c product screenshot with the primary key could not be foundpublic com.liferay.portlet.softwarecatalog.model.SCProductScreenshot findByPrimaryKey(long productScreenshotId)
throws com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException
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 screenshotcom.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException - if a s c product screenshot with the primary key could not be foundpublic com.liferay.portlet.softwarecatalog.model.SCProductScreenshot fetchByPrimaryKey(java.io.Serializable primaryKey)
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 screenshotnull if a s c product screenshot with the primary key could not be foundpublic com.liferay.portlet.softwarecatalog.model.SCProductScreenshot fetchByPrimaryKey(long productScreenshotId)
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 screenshotnull if a s c product screenshot with the primary key could not be foundpublic java.util.Map<java.io.Serializable,com.liferay.portlet.softwarecatalog.model.SCProductScreenshot> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
fetchByPrimaryKeys in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot>fetchByPrimaryKeys in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistencefetchByPrimaryKeys in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot>public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot> findAll()
findAll in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistencepublic java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot> findAll(int start,
int end)
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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from SCProductScreenshotModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot> orderByComparator)
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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from SCProductScreenshotModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot> orderByComparator,
boolean retrieveFromCache)
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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from SCProductScreenshotModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)retrieveFromCache - whether to retrieve from the finder cachepublic void removeAll()
removeAll in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistencepublic int countAll()
countAll in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistenceprotected java.util.Map<java.lang.String,java.lang.Integer> getTableColumnsMap()
getTableColumnsMap in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot>public void afterPropertiesSet()
public void destroy()