001
014
015 package com.liferay.portlet.ratings.service.persistence;
016
017 import com.liferay.portal.service.persistence.BasePersistence;
018
019 import com.liferay.portlet.ratings.model.RatingsStats;
020
021
027 public interface RatingsStatsPersistence extends BasePersistence<RatingsStats> {
028 public void cacheResult(
029 com.liferay.portlet.ratings.model.RatingsStats ratingsStats);
030
031 public void cacheResult(
032 java.util.List<com.liferay.portlet.ratings.model.RatingsStats> ratingsStatses);
033
034 public com.liferay.portlet.ratings.model.RatingsStats create(long statsId);
035
036 public com.liferay.portlet.ratings.model.RatingsStats remove(long statsId)
037 throws com.liferay.portal.kernel.exception.SystemException,
038 com.liferay.portlet.ratings.NoSuchStatsException;
039
040 public com.liferay.portlet.ratings.model.RatingsStats updateImpl(
041 com.liferay.portlet.ratings.model.RatingsStats ratingsStats,
042 boolean merge)
043 throws com.liferay.portal.kernel.exception.SystemException;
044
045 public com.liferay.portlet.ratings.model.RatingsStats findByPrimaryKey(
046 long statsId)
047 throws com.liferay.portal.kernel.exception.SystemException,
048 com.liferay.portlet.ratings.NoSuchStatsException;
049
050 public com.liferay.portlet.ratings.model.RatingsStats fetchByPrimaryKey(
051 long statsId)
052 throws com.liferay.portal.kernel.exception.SystemException;
053
054 public com.liferay.portlet.ratings.model.RatingsStats findByC_C(
055 long classNameId, long classPK)
056 throws com.liferay.portal.kernel.exception.SystemException,
057 com.liferay.portlet.ratings.NoSuchStatsException;
058
059 public com.liferay.portlet.ratings.model.RatingsStats fetchByC_C(
060 long classNameId, long classPK)
061 throws com.liferay.portal.kernel.exception.SystemException;
062
063 public com.liferay.portlet.ratings.model.RatingsStats fetchByC_C(
064 long classNameId, long classPK, boolean retrieveFromCache)
065 throws com.liferay.portal.kernel.exception.SystemException;
066
067 public java.util.List<com.liferay.portlet.ratings.model.RatingsStats> findAll()
068 throws com.liferay.portal.kernel.exception.SystemException;
069
070 public java.util.List<com.liferay.portlet.ratings.model.RatingsStats> findAll(
071 int start, int end)
072 throws com.liferay.portal.kernel.exception.SystemException;
073
074 public java.util.List<com.liferay.portlet.ratings.model.RatingsStats> findAll(
075 int start, int end,
076 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
077 throws com.liferay.portal.kernel.exception.SystemException;
078
079 public void removeByC_C(long classNameId, long classPK)
080 throws com.liferay.portal.kernel.exception.SystemException,
081 com.liferay.portlet.ratings.NoSuchStatsException;
082
083 public void removeAll()
084 throws com.liferay.portal.kernel.exception.SystemException;
085
086 public int countByC_C(long classNameId, long classPK)
087 throws com.liferay.portal.kernel.exception.SystemException;
088
089 public int countAll()
090 throws com.liferay.portal.kernel.exception.SystemException;
091 }