com.liferay.portlet.ratings.service.persistence
Class RatingsStatsUtil
java.lang.Object
com.liferay.portlet.ratings.service.persistence.RatingsStatsUtil
public class RatingsStatsUtil
- extends java.lang.Object
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
- Author:
- Brian Wing Shun Chan
- See Also:
RatingsStatsPersistence
,
RatingsStatsPersistenceImpl
- Generated:
Method Summary |
static void |
cacheResult(java.util.List<RatingsStats> ratingsStatses)
|
static void |
cacheResult(RatingsStats ratingsStats)
|
static void |
clearCache()
|
static void |
clearCache(RatingsStats ratingsStats)
|
static int |
countAll()
|
static int |
countByC_C(long classNameId,
long classPK)
|
int |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
static RatingsStats |
create(long statsId)
|
static RatingsStats |
fetchByC_C(long classNameId,
long classPK)
|
static RatingsStats |
fetchByC_C(long classNameId,
long classPK,
boolean retrieveFromCache)
|
static RatingsStats |
fetchByPrimaryKey(long statsId)
|
static java.util.List<RatingsStats> |
findAll()
|
static java.util.List<RatingsStats> |
findAll(int start,
int end)
|
static java.util.List<RatingsStats> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static RatingsStats |
findByC_C(long classNameId,
long classPK)
|
static RatingsStats |
findByPrimaryKey(long statsId)
|
static java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
static java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
static RatingsStatsPersistence |
getPersistence()
|
static RatingsStats |
remove(long statsId)
|
static RatingsStats |
remove(RatingsStats ratingsStats)
|
static void |
removeAll()
|
static void |
removeByC_C(long classNameId,
long classPK)
|
void |
setPersistence(RatingsStatsPersistence persistence)
|
static RatingsStats |
update(RatingsStats ratingsStats)
Deprecated. Use com.liferay.portal.service.persistence.BasePersistence.#update(com.liferay.portal.model.BaseModel, boolean) . |
static RatingsStats |
update(RatingsStats ratingsStats,
boolean merge)
|
static RatingsStats |
updateImpl(RatingsStats ratingsStats,
boolean merge)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RatingsStatsUtil
public RatingsStatsUtil()
clearCache
public static void clearCache()
- See Also:
BasePersistence.clearCache()
clearCache
public static void clearCache(RatingsStats ratingsStats)
- See Also:
com.liferay.portal.service.persistence.BasePersistence#clearCache(RatingsStats)
countWithDynamicQuery
public int countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
- See Also:
BasePersistence.countWithDynamicQuery(DynamicQuery)
findWithDynamicQuery
public static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
- See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery)
findWithDynamicQuery
public static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
- See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
remove
public static RatingsStats remove(RatingsStats ratingsStats)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
- See Also:
BasePersistence.remove(com.liferay.portal.model.BaseModel)
update
public static RatingsStats update(RatingsStats ratingsStats,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
- See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)
cacheResult
public static void cacheResult(RatingsStats ratingsStats)
cacheResult
public static void cacheResult(java.util.List<RatingsStats> ratingsStatses)
create
public static RatingsStats create(long statsId)
remove
public static RatingsStats remove(long statsId)
throws com.liferay.portal.SystemException,
NoSuchStatsException
- Throws:
com.liferay.portal.SystemException
NoSuchStatsException
update
public static RatingsStats update(RatingsStats ratingsStats)
throws com.liferay.portal.SystemException
- Deprecated. Use
com.liferay.portal.service.persistence.BasePersistence.#update(com.liferay.portal.model.BaseModel, boolean)
.
- Throws:
com.liferay.portal.SystemException
updateImpl
public static RatingsStats updateImpl(RatingsStats ratingsStats,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
public static RatingsStats findByPrimaryKey(long statsId)
throws com.liferay.portal.SystemException,
NoSuchStatsException
- Throws:
com.liferay.portal.SystemException
NoSuchStatsException
fetchByPrimaryKey
public static RatingsStats fetchByPrimaryKey(long statsId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByC_C
public static RatingsStats findByC_C(long classNameId,
long classPK)
throws com.liferay.portal.SystemException,
NoSuchStatsException
- Throws:
com.liferay.portal.SystemException
NoSuchStatsException
fetchByC_C
public static RatingsStats fetchByC_C(long classNameId,
long classPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
fetchByC_C
public static RatingsStats fetchByC_C(long classNameId,
long classPK,
boolean retrieveFromCache)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List<RatingsStats> findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List<RatingsStats> findAll(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List<RatingsStats> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByC_C
public static void removeByC_C(long classNameId,
long classPK)
throws com.liferay.portal.SystemException,
NoSuchStatsException
- Throws:
com.liferay.portal.SystemException
NoSuchStatsException
removeAll
public static void removeAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByC_C
public static int countByC_C(long classNameId,
long classPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countAll
public static int countAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getPersistence
public static RatingsStatsPersistence getPersistence()
setPersistence
public void setPersistence(RatingsStatsPersistence persistence)