com.liferay.portlet.ratings.service.persistence
Interface RatingsStatsPersistence

All Superinterfaces:
BasePersistence<RatingsStats>

public interface RatingsStatsPersistence
extends BasePersistence<RatingsStats>

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:
RatingsStatsPersistenceImpl, RatingsStatsUtil
Generated:

Method Summary
 void cacheResult(java.util.List<RatingsStats> ratingsStatses)
           
 void cacheResult(RatingsStats ratingsStats)
           
 int countAll()
           
 int countByC_C(long classNameId, long classPK)
           
 RatingsStats create(long statsId)
           
 RatingsStats fetchByC_C(long classNameId, long classPK)
           
 RatingsStats fetchByC_C(long classNameId, long classPK, boolean retrieveFromCache)
           
 RatingsStats fetchByPrimaryKey(long statsId)
           
 java.util.List<RatingsStats> findAll()
           
 java.util.List<RatingsStats> findAll(int start, int end)
           
 java.util.List<RatingsStats> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 RatingsStats findByC_C(long classNameId, long classPK)
           
 RatingsStats findByPrimaryKey(long statsId)
           
 RatingsStats remove(long statsId)
           
 void removeAll()
           
 void removeByC_C(long classNameId, long classPK)
           
 RatingsStats updateImpl(RatingsStats ratingsStats, boolean merge)
           
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
clearCache, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, getListeners, registerListener, remove, remove, unregisterListener, update
 

Method Detail

cacheResult

void cacheResult(RatingsStats ratingsStats)

cacheResult

void cacheResult(java.util.List<RatingsStats> ratingsStatses)

create

RatingsStats create(long statsId)

remove

RatingsStats remove(long statsId)
                    throws com.liferay.portal.kernel.exception.SystemException,
                           NoSuchStatsException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchStatsException

updateImpl

RatingsStats updateImpl(RatingsStats ratingsStats,
                        boolean merge)
                        throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByPrimaryKey

RatingsStats findByPrimaryKey(long statsId)
                              throws com.liferay.portal.kernel.exception.SystemException,
                                     NoSuchStatsException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchStatsException

fetchByPrimaryKey

RatingsStats fetchByPrimaryKey(long statsId)
                               throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByC_C

RatingsStats findByC_C(long classNameId,
                       long classPK)
                       throws com.liferay.portal.kernel.exception.SystemException,
                              NoSuchStatsException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchStatsException

fetchByC_C

RatingsStats fetchByC_C(long classNameId,
                        long classPK)
                        throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

fetchByC_C

RatingsStats fetchByC_C(long classNameId,
                        long classPK,
                        boolean retrieveFromCache)
                        throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findAll

java.util.List<RatingsStats> findAll()
                                     throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findAll

java.util.List<RatingsStats> findAll(int start,
                                     int end)
                                     throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findAll

java.util.List<RatingsStats> 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

void removeByC_C(long classNameId,
                 long classPK)
                 throws com.liferay.portal.kernel.exception.SystemException,
                        NoSuchStatsException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchStatsException

removeAll

void removeAll()
               throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countByC_C

int countByC_C(long classNameId,
               long classPK)
               throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countAll

int countAll()
             throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException