1
22
23 package com.liferay.portlet.ratings.service.persistence;
24
25 import com.liferay.portal.service.persistence.BasePersistence;
26
27
40 public interface RatingsStatsPersistence extends BasePersistence {
41 public void cacheResult(
42 com.liferay.portlet.ratings.model.RatingsStats ratingsStats);
43
44 public void cacheResult(
45 java.util.List<com.liferay.portlet.ratings.model.RatingsStats> ratingsStatses);
46
47 public void clearCache();
48
49 public com.liferay.portlet.ratings.model.RatingsStats create(long statsId);
50
51 public com.liferay.portlet.ratings.model.RatingsStats remove(long statsId)
52 throws com.liferay.portal.SystemException,
53 com.liferay.portlet.ratings.NoSuchStatsException;
54
55 public com.liferay.portlet.ratings.model.RatingsStats remove(
56 com.liferay.portlet.ratings.model.RatingsStats ratingsStats)
57 throws com.liferay.portal.SystemException;
58
59
62 public com.liferay.portlet.ratings.model.RatingsStats update(
63 com.liferay.portlet.ratings.model.RatingsStats ratingsStats)
64 throws com.liferay.portal.SystemException;
65
66
78 public com.liferay.portlet.ratings.model.RatingsStats update(
79 com.liferay.portlet.ratings.model.RatingsStats ratingsStats,
80 boolean merge) throws com.liferay.portal.SystemException;
81
82 public com.liferay.portlet.ratings.model.RatingsStats updateImpl(
83 com.liferay.portlet.ratings.model.RatingsStats ratingsStats,
84 boolean merge) throws com.liferay.portal.SystemException;
85
86 public com.liferay.portlet.ratings.model.RatingsStats findByPrimaryKey(
87 long statsId)
88 throws com.liferay.portal.SystemException,
89 com.liferay.portlet.ratings.NoSuchStatsException;
90
91 public com.liferay.portlet.ratings.model.RatingsStats fetchByPrimaryKey(
92 long statsId) throws com.liferay.portal.SystemException;
93
94 public com.liferay.portlet.ratings.model.RatingsStats findByC_C(
95 long classNameId, long classPK)
96 throws com.liferay.portal.SystemException,
97 com.liferay.portlet.ratings.NoSuchStatsException;
98
99 public com.liferay.portlet.ratings.model.RatingsStats fetchByC_C(
100 long classNameId, long classPK)
101 throws com.liferay.portal.SystemException;
102
103 public com.liferay.portlet.ratings.model.RatingsStats fetchByC_C(
104 long classNameId, long classPK, boolean retrieveFromCache)
105 throws com.liferay.portal.SystemException;
106
107 public java.util.List<Object> findWithDynamicQuery(
108 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
109 throws com.liferay.portal.SystemException;
110
111 public java.util.List<Object> findWithDynamicQuery(
112 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
113 int end) throws com.liferay.portal.SystemException;
114
115 public java.util.List<com.liferay.portlet.ratings.model.RatingsStats> findAll()
116 throws com.liferay.portal.SystemException;
117
118 public java.util.List<com.liferay.portlet.ratings.model.RatingsStats> findAll(
119 int start, int end) throws com.liferay.portal.SystemException;
120
121 public java.util.List<com.liferay.portlet.ratings.model.RatingsStats> findAll(
122 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
123 throws com.liferay.portal.SystemException;
124
125 public void removeByC_C(long classNameId, long classPK)
126 throws com.liferay.portal.SystemException,
127 com.liferay.portlet.ratings.NoSuchStatsException;
128
129 public void removeAll() throws com.liferay.portal.SystemException;
130
131 public int countByC_C(long classNameId, long classPK)
132 throws com.liferay.portal.SystemException;
133
134 public int countAll() throws com.liferay.portal.SystemException;
135 }