com.liferay.portlet.ratings.service.persistence
Class RatingsEntryUtil
java.lang.Object
com.liferay.portlet.ratings.service.persistence.RatingsEntryUtil
public class RatingsEntryUtil
- 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:
RatingsEntryPersistence
,
RatingsEntryPersistenceImpl
- Generated:
Method Summary |
static void |
cacheResult(java.util.List<RatingsEntry> ratingsEntries)
|
static void |
cacheResult(RatingsEntry ratingsEntry)
|
static void |
clearCache()
|
static int |
countAll()
|
static int |
countByC_C(long classNameId,
long classPK)
|
static int |
countByU_C_C(long userId,
long classNameId,
long classPK)
|
static RatingsEntry |
create(long entryId)
|
static RatingsEntry |
fetchByPrimaryKey(long entryId)
|
static RatingsEntry |
fetchByU_C_C(long userId,
long classNameId,
long classPK)
|
static RatingsEntry |
fetchByU_C_C(long userId,
long classNameId,
long classPK,
boolean retrieveFromCache)
|
static java.util.List<RatingsEntry> |
findAll()
|
static java.util.List<RatingsEntry> |
findAll(int start,
int end)
|
static java.util.List<RatingsEntry> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static RatingsEntry |
findByC_C_First(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static RatingsEntry |
findByC_C_Last(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static RatingsEntry[] |
findByC_C_PrevAndNext(long entryId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List<RatingsEntry> |
findByC_C(long classNameId,
long classPK)
|
static java.util.List<RatingsEntry> |
findByC_C(long classNameId,
long classPK,
int start,
int end)
|
static java.util.List<RatingsEntry> |
findByC_C(long classNameId,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static RatingsEntry |
findByPrimaryKey(long entryId)
|
static RatingsEntry |
findByU_C_C(long userId,
long classNameId,
long classPK)
|
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 RatingsEntryPersistence |
getPersistence()
|
static RatingsEntry |
remove(long entryId)
|
static RatingsEntry |
remove(RatingsEntry ratingsEntry)
|
static void |
removeAll()
|
static void |
removeByC_C(long classNameId,
long classPK)
|
static void |
removeByU_C_C(long userId,
long classNameId,
long classPK)
|
void |
setPersistence(RatingsEntryPersistence persistence)
|
static RatingsEntry |
update(RatingsEntry ratingsEntry,
boolean merge)
|
static RatingsEntry |
updateImpl(RatingsEntry ratingsEntry,
boolean merge)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RatingsEntryUtil
public RatingsEntryUtil()
clearCache
public static void clearCache()
- See Also:
BasePersistence.clearCache()
findWithDynamicQuery
public static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.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.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
- See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
remove
public static RatingsEntry remove(RatingsEntry ratingsEntry)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
- See Also:
BasePersistence.remove(com.liferay.portal.model.BaseModel)
update
public static RatingsEntry update(RatingsEntry ratingsEntry,
boolean merge)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
- See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)
cacheResult
public static void cacheResult(RatingsEntry ratingsEntry)
cacheResult
public static void cacheResult(java.util.List<RatingsEntry> ratingsEntries)
create
public static RatingsEntry create(long entryId)
remove
public static RatingsEntry remove(long entryId)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchEntryException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchEntryException
updateImpl
public static RatingsEntry updateImpl(RatingsEntry ratingsEntry,
boolean merge)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByPrimaryKey
public static RatingsEntry findByPrimaryKey(long entryId)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchEntryException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchEntryException
fetchByPrimaryKey
public static RatingsEntry fetchByPrimaryKey(long entryId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByC_C
public static java.util.List<RatingsEntry> findByC_C(long classNameId,
long classPK)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByC_C
public static java.util.List<RatingsEntry> findByC_C(long classNameId,
long classPK,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByC_C
public static java.util.List<RatingsEntry> findByC_C(long classNameId,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByC_C_First
public static RatingsEntry findByC_C_First(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchEntryException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchEntryException
findByC_C_Last
public static RatingsEntry findByC_C_Last(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchEntryException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchEntryException
findByC_C_PrevAndNext
public static RatingsEntry[] findByC_C_PrevAndNext(long entryId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchEntryException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchEntryException
findByU_C_C
public static RatingsEntry findByU_C_C(long userId,
long classNameId,
long classPK)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchEntryException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchEntryException
fetchByU_C_C
public static RatingsEntry fetchByU_C_C(long userId,
long classNameId,
long classPK)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
fetchByU_C_C
public static RatingsEntry fetchByU_C_C(long userId,
long classNameId,
long classPK,
boolean retrieveFromCache)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findAll
public static java.util.List<RatingsEntry> findAll()
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findAll
public static java.util.List<RatingsEntry> findAll(int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findAll
public static java.util.List<RatingsEntry> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeByC_C
public static void removeByC_C(long classNameId,
long classPK)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeByU_C_C
public static void removeByU_C_C(long userId,
long classNameId,
long classPK)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchEntryException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchEntryException
removeAll
public static void removeAll()
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
countByC_C
public static int countByC_C(long classNameId,
long classPK)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
countByU_C_C
public static int countByU_C_C(long userId,
long classNameId,
long classPK)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
countAll
public static int countAll()
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getPersistence
public static RatingsEntryPersistence getPersistence()
setPersistence
public void setPersistence(RatingsEntryPersistence persistence)