1
14
15 package com.liferay.portlet.ratings.service.persistence;
16
17 import com.liferay.portal.service.persistence.BasePersistence;
18
19 import com.liferay.portlet.ratings.model.RatingsStats;
20
21
34 public interface RatingsStatsPersistence extends BasePersistence<RatingsStats> {
35 public void cacheResult(
36 com.liferay.portlet.ratings.model.RatingsStats ratingsStats);
37
38 public void cacheResult(
39 java.util.List<com.liferay.portlet.ratings.model.RatingsStats> ratingsStatses);
40
41 public com.liferay.portlet.ratings.model.RatingsStats create(long statsId);
42
43 public com.liferay.portlet.ratings.model.RatingsStats remove(long statsId)
44 throws com.liferay.portal.kernel.exception.SystemException,
45 com.liferay.portlet.ratings.NoSuchStatsException;
46
47 public com.liferay.portlet.ratings.model.RatingsStats updateImpl(
48 com.liferay.portlet.ratings.model.RatingsStats ratingsStats,
49 boolean merge)
50 throws com.liferay.portal.kernel.exception.SystemException;
51
52 public com.liferay.portlet.ratings.model.RatingsStats findByPrimaryKey(
53 long statsId)
54 throws com.liferay.portal.kernel.exception.SystemException,
55 com.liferay.portlet.ratings.NoSuchStatsException;
56
57 public com.liferay.portlet.ratings.model.RatingsStats fetchByPrimaryKey(
58 long statsId)
59 throws com.liferay.portal.kernel.exception.SystemException;
60
61 public com.liferay.portlet.ratings.model.RatingsStats findByC_C(
62 long classNameId, long classPK)
63 throws com.liferay.portal.kernel.exception.SystemException,
64 com.liferay.portlet.ratings.NoSuchStatsException;
65
66 public com.liferay.portlet.ratings.model.RatingsStats fetchByC_C(
67 long classNameId, long classPK)
68 throws com.liferay.portal.kernel.exception.SystemException;
69
70 public com.liferay.portlet.ratings.model.RatingsStats fetchByC_C(
71 long classNameId, long classPK, boolean retrieveFromCache)
72 throws com.liferay.portal.kernel.exception.SystemException;
73
74 public java.util.List<com.liferay.portlet.ratings.model.RatingsStats> findAll()
75 throws com.liferay.portal.kernel.exception.SystemException;
76
77 public java.util.List<com.liferay.portlet.ratings.model.RatingsStats> findAll(
78 int start, int end)
79 throws com.liferay.portal.kernel.exception.SystemException;
80
81 public java.util.List<com.liferay.portlet.ratings.model.RatingsStats> findAll(
82 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
83 throws com.liferay.portal.kernel.exception.SystemException;
84
85 public void removeByC_C(long classNameId, long classPK)
86 throws com.liferay.portal.kernel.exception.SystemException,
87 com.liferay.portlet.ratings.NoSuchStatsException;
88
89 public void removeAll()
90 throws com.liferay.portal.kernel.exception.SystemException;
91
92 public int countByC_C(long classNameId, long classPK)
93 throws com.liferay.portal.kernel.exception.SystemException;
94
95 public int countAll()
96 throws com.liferay.portal.kernel.exception.SystemException;
97 }