|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotUtil
public class SCProductScreenshotUtil
The persistence utility for the s c product screenshot service.
Never modify this class directly. Modify service.xml and rerun ServiceBuilder to regnerate this class.
SCProductScreenshotPersistence,
SCProductScreenshotPersistenceImpl| Constructor Summary | |
|---|---|
SCProductScreenshotUtil()
|
|
| Method Summary | |
|---|---|
static void |
cacheResult(List<SCProductScreenshot> scProductScreenshots)
Caches the s c product screenshots in the entity cache if it is enabled. |
static void |
cacheResult(SCProductScreenshot scProductScreenshot)
Caches the s c product screenshot in the entity cache if it is enabled. |
static void |
clearCache()
|
static void |
clearCache(SCProductScreenshot scProductScreenshot)
|
static int |
countAll()
Counts all the s c product screenshots. |
static int |
countByFullImageId(long fullImageId)
Counts all the s c product screenshots where fullImageId = ?. |
static int |
countByP_P(long productEntryId,
int priority)
Counts all the s c product screenshots where productEntryId = ? and priority = ?. |
static int |
countByProductEntryId(long productEntryId)
Counts all the s c product screenshots where productEntryId = ?. |
static int |
countByThumbnailId(long thumbnailId)
Counts all the s c product screenshots where thumbnailId = ?. |
long |
countWithDynamicQuery(DynamicQuery dynamicQuery)
|
static SCProductScreenshot |
create(long productScreenshotId)
Creates a new s c product screenshot with the primary key. |
static SCProductScreenshot |
fetchByFullImageId(long fullImageId)
Finds the s c product screenshot where fullImageId = ? or returns null if it could not be found. |
static SCProductScreenshot |
fetchByFullImageId(long fullImageId,
boolean retrieveFromCache)
Finds the s c product screenshot where fullImageId = ? or returns null if it could not be found, optionally using the finder cache. |
static SCProductScreenshot |
fetchByP_P(long productEntryId,
int priority)
Finds the s c product screenshot where productEntryId = ? and priority = ? or returns null if it could not be found. |
static SCProductScreenshot |
fetchByP_P(long productEntryId,
int priority,
boolean retrieveFromCache)
Finds the s c product screenshot where productEntryId = ? and priority = ? or returns null if it could not be found, optionally using the finder cache. |
static SCProductScreenshot |
fetchByPrimaryKey(long productScreenshotId)
Finds the s c product screenshot with the primary key or returns null if it could not be found. |
static SCProductScreenshot |
fetchByThumbnailId(long thumbnailId)
Finds the s c product screenshot where thumbnailId = ? or returns null if it could not be found. |
static SCProductScreenshot |
fetchByThumbnailId(long thumbnailId,
boolean retrieveFromCache)
Finds the s c product screenshot where thumbnailId = ? or returns null if it could not be found, optionally using the finder cache. |
static List<SCProductScreenshot> |
findAll()
Finds all the s c product screenshots. |
static List<SCProductScreenshot> |
findAll(int start,
int end)
Finds a range of all the s c product screenshots. |
static List<SCProductScreenshot> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the s c product screenshots. |
static SCProductScreenshot |
findByFullImageId(long fullImageId)
Finds the s c product screenshot where fullImageId = ? or throws a NoSuchProductScreenshotException if it could not be found. |
static SCProductScreenshot |
findByP_P(long productEntryId,
int priority)
Finds the s c product screenshot where productEntryId = ? and priority = ? or throws a NoSuchProductScreenshotException if it could not be found. |
static SCProductScreenshot |
findByPrimaryKey(long productScreenshotId)
Finds the s c product screenshot with the primary key or throws a NoSuchProductScreenshotException if it could not be found. |
static SCProductScreenshot |
findByProductEntryId_First(long productEntryId,
OrderByComparator orderByComparator)
Finds the first s c product screenshot in the ordered set where productEntryId = ?. |
static SCProductScreenshot |
findByProductEntryId_Last(long productEntryId,
OrderByComparator orderByComparator)
Finds the last s c product screenshot in the ordered set where productEntryId = ?. |
static SCProductScreenshot[] |
findByProductEntryId_PrevAndNext(long productScreenshotId,
long productEntryId,
OrderByComparator orderByComparator)
Finds the s c product screenshots before and after the current s c product screenshot in the ordered set where productEntryId = ?. |
static List<SCProductScreenshot> |
findByProductEntryId(long productEntryId)
Finds all the s c product screenshots where productEntryId = ?. |
static List<SCProductScreenshot> |
findByProductEntryId(long productEntryId,
int start,
int end)
Finds a range of all the s c product screenshots where productEntryId = ?. |
static List<SCProductScreenshot> |
findByProductEntryId(long productEntryId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the s c product screenshots where productEntryId = ?. |
static SCProductScreenshot |
findByThumbnailId(long thumbnailId)
Finds the s c product screenshot where thumbnailId = ? or throws a NoSuchProductScreenshotException if it could not be found. |
static List<SCProductScreenshot> |
findWithDynamicQuery(DynamicQuery dynamicQuery)
|
static List<SCProductScreenshot> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
static List<SCProductScreenshot> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
|
static SCProductScreenshotPersistence |
getPersistence()
|
static SCProductScreenshot |
remove(long productScreenshotId)
Removes the s c product screenshot with the primary key from the database. |
static SCProductScreenshot |
remove(SCProductScreenshot scProductScreenshot)
|
static void |
removeAll()
Removes all the s c product screenshots from the database. |
static void |
removeByFullImageId(long fullImageId)
Removes the s c product screenshot where fullImageId = ? from the database. |
static void |
removeByP_P(long productEntryId,
int priority)
Removes the s c product screenshot where productEntryId = ? and priority = ? from the database. |
static void |
removeByProductEntryId(long productEntryId)
Removes all the s c product screenshots where productEntryId = ? from the database. |
static void |
removeByThumbnailId(long thumbnailId)
Removes the s c product screenshot where thumbnailId = ? from the database. |
void |
setPersistence(SCProductScreenshotPersistence persistence)
|
static SCProductScreenshot |
update(SCProductScreenshot scProductScreenshot,
boolean merge)
|
static SCProductScreenshot |
update(SCProductScreenshot scProductScreenshot,
boolean merge,
ServiceContext serviceContext)
|
static SCProductScreenshot |
updateImpl(SCProductScreenshot scProductScreenshot,
boolean merge)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SCProductScreenshotUtil()
| Method Detail |
|---|
public static void clearCache()
BasePersistence.clearCache()public static void clearCache(SCProductScreenshot scProductScreenshot)
BasePersistence.clearCache(com.liferay.portal.model.BaseModel)
public long countWithDynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
SystemExceptionBasePersistence.countWithDynamicQuery(DynamicQuery)
public static List<SCProductScreenshot> findWithDynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
SystemExceptionBasePersistence.findWithDynamicQuery(DynamicQuery)
public static List<SCProductScreenshot> findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
SystemExceptionBasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static List<SCProductScreenshot> findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
SystemExceptionBasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static SCProductScreenshot remove(SCProductScreenshot scProductScreenshot)
throws SystemException
SystemExceptionBasePersistence.remove(com.liferay.portal.model.BaseModel)
public static SCProductScreenshot update(SCProductScreenshot scProductScreenshot,
boolean merge)
throws SystemException
SystemExceptionBasePersistence.update(com.liferay.portal.model.BaseModel, boolean)
public static SCProductScreenshot update(SCProductScreenshot scProductScreenshot,
boolean merge,
ServiceContext serviceContext)
throws SystemException
SystemExceptionBasePersistence.update(com.liferay.portal.model.BaseModel, boolean, ServiceContext)public static void cacheResult(SCProductScreenshot scProductScreenshot)
scProductScreenshot - the s c product screenshot to cachepublic static void cacheResult(List<SCProductScreenshot> scProductScreenshots)
scProductScreenshots - the s c product screenshots to cachepublic static SCProductScreenshot create(long productScreenshotId)
productScreenshotId - the primary key for the new s c product screenshot
public static SCProductScreenshot remove(long productScreenshotId)
throws SystemException,
NoSuchProductScreenshotException
productScreenshotId - the primary key of the s c product screenshot to remove
NoSuchProductScreenshotException - if a s c product screenshot with the primary key could not be found
SystemException - if a system exception occurred
public static SCProductScreenshot updateImpl(SCProductScreenshot scProductScreenshot,
boolean merge)
throws SystemException
SystemException
public static SCProductScreenshot findByPrimaryKey(long productScreenshotId)
throws SystemException,
NoSuchProductScreenshotException
NoSuchProductScreenshotException if it could not be found.
productScreenshotId - the primary key of the s c product screenshot to find
NoSuchProductScreenshotException - if a s c product screenshot with the primary key could not be found
SystemException - if a system exception occurred
public static SCProductScreenshot fetchByPrimaryKey(long productScreenshotId)
throws SystemException
null if it could not be found.
productScreenshotId - the primary key of the s c product screenshot to find
null if a s c product screenshot with the primary key could not be found
SystemException - if a system exception occurred
public static List<SCProductScreenshot> findByProductEntryId(long productEntryId)
throws SystemException
productEntryId - the product entry id to search with
SystemException - if a system exception occurred
public static List<SCProductScreenshot> findByProductEntryId(long productEntryId,
int start,
int end)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
productEntryId - the product entry id to search withstart - the lower bound of the range of s c product screenshots to returnend - the upper bound of the range of s c product screenshots to return (not inclusive)
SystemException - if a system exception occurred
public static List<SCProductScreenshot> findByProductEntryId(long productEntryId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
productEntryId - the product entry id to search withstart - the lower bound of the range of s c product screenshots to returnend - the upper bound of the range of s c product screenshots to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
public static SCProductScreenshot findByProductEntryId_First(long productEntryId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchProductScreenshotException
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.
productEntryId - the product entry id to search withorderByComparator - the comparator to order the set by
NoSuchProductScreenshotException - if a matching s c product screenshot could not be found
SystemException - if a system exception occurred
public static SCProductScreenshot findByProductEntryId_Last(long productEntryId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchProductScreenshotException
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.
productEntryId - the product entry id to search withorderByComparator - the comparator to order the set by
NoSuchProductScreenshotException - if a matching s c product screenshot could not be found
SystemException - if a system exception occurred
public static SCProductScreenshot[] findByProductEntryId_PrevAndNext(long productScreenshotId,
long productEntryId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchProductScreenshotException
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.
productScreenshotId - the primary key of the current s c product screenshotproductEntryId - the product entry id to search withorderByComparator - the comparator to order the set by
NoSuchProductScreenshotException - if a s c product screenshot with the primary key could not be found
SystemException - if a system exception occurred
public static SCProductScreenshot findByThumbnailId(long thumbnailId)
throws SystemException,
NoSuchProductScreenshotException
NoSuchProductScreenshotException if it could not be found.
thumbnailId - the thumbnail id to search with
NoSuchProductScreenshotException - if a matching s c product screenshot could not be found
SystemException - if a system exception occurred
public static SCProductScreenshot fetchByThumbnailId(long thumbnailId)
throws SystemException
null if it could not be found. Uses the finder cache.
thumbnailId - the thumbnail id to search with
null if a matching s c product screenshot could not be found
SystemException - if a system exception occurred
public static SCProductScreenshot fetchByThumbnailId(long thumbnailId,
boolean retrieveFromCache)
throws SystemException
null if it could not be found, optionally using the finder cache.
thumbnailId - the thumbnail id to search with
null if a matching s c product screenshot could not be found
SystemException - if a system exception occurred
public static SCProductScreenshot findByFullImageId(long fullImageId)
throws SystemException,
NoSuchProductScreenshotException
NoSuchProductScreenshotException if it could not be found.
fullImageId - the full image id to search with
NoSuchProductScreenshotException - if a matching s c product screenshot could not be found
SystemException - if a system exception occurred
public static SCProductScreenshot fetchByFullImageId(long fullImageId)
throws SystemException
null if it could not be found. Uses the finder cache.
fullImageId - the full image id to search with
null if a matching s c product screenshot could not be found
SystemException - if a system exception occurred
public static SCProductScreenshot fetchByFullImageId(long fullImageId,
boolean retrieveFromCache)
throws SystemException
null if it could not be found, optionally using the finder cache.
fullImageId - the full image id to search with
null if a matching s c product screenshot could not be found
SystemException - if a system exception occurred
public static SCProductScreenshot findByP_P(long productEntryId,
int priority)
throws SystemException,
NoSuchProductScreenshotException
NoSuchProductScreenshotException if it could not be found.
productEntryId - the product entry id to search withpriority - the priority to search with
NoSuchProductScreenshotException - if a matching s c product screenshot could not be found
SystemException - if a system exception occurred
public static SCProductScreenshot fetchByP_P(long productEntryId,
int priority)
throws SystemException
null if it could not be found. Uses the finder cache.
productEntryId - the product entry id to search withpriority - the priority to search with
null if a matching s c product screenshot could not be found
SystemException - if a system exception occurred
public static SCProductScreenshot fetchByP_P(long productEntryId,
int priority,
boolean retrieveFromCache)
throws SystemException
null if it could not be found, optionally using the finder cache.
productEntryId - the product entry id to search withpriority - the priority to search with
null if a matching s c product screenshot could not be found
SystemException - if a system exception occurred
public static List<SCProductScreenshot> findAll()
throws SystemException
SystemException - if a system exception occurred
public static List<SCProductScreenshot> findAll(int start,
int end)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
start - the lower bound of the range of s c product screenshots to returnend - the upper bound of the range of s c product screenshots to return (not inclusive)
SystemException - if a system exception occurred
public static List<SCProductScreenshot> findAll(int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
start - the lower bound of the range of s c product screenshots to returnend - the upper bound of the range of s c product screenshots to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
public static void removeByProductEntryId(long productEntryId)
throws SystemException
productEntryId - the product entry id to search with
SystemException - if a system exception occurred
public static void removeByThumbnailId(long thumbnailId)
throws SystemException,
NoSuchProductScreenshotException
thumbnailId - the thumbnail id to search with
SystemException - if a system exception occurred
NoSuchProductScreenshotException
public static void removeByFullImageId(long fullImageId)
throws SystemException,
NoSuchProductScreenshotException
fullImageId - the full image id to search with
SystemException - if a system exception occurred
NoSuchProductScreenshotException
public static void removeByP_P(long productEntryId,
int priority)
throws SystemException,
NoSuchProductScreenshotException
productEntryId - the product entry id to search withpriority - the priority to search with
SystemException - if a system exception occurred
NoSuchProductScreenshotException
public static void removeAll()
throws SystemException
SystemException - if a system exception occurred
public static int countByProductEntryId(long productEntryId)
throws SystemException
productEntryId - the product entry id to search with
SystemException - if a system exception occurred
public static int countByThumbnailId(long thumbnailId)
throws SystemException
thumbnailId - the thumbnail id to search with
SystemException - if a system exception occurred
public static int countByFullImageId(long fullImageId)
throws SystemException
fullImageId - the full image id to search with
SystemException - if a system exception occurred
public static int countByP_P(long productEntryId,
int priority)
throws SystemException
productEntryId - the product entry id to search withpriority - the priority to search with
SystemException - if a system exception occurred
public static int countAll()
throws SystemException
SystemException - if a system exception occurredpublic static SCProductScreenshotPersistence getPersistence()
public void setPersistence(SCProductScreenshotPersistence persistence)
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||