1
19
20 package com.liferay.portlet.ratings.service.persistence;
21
22 import com.liferay.portal.service.persistence.BasePersistence;
23
24
30 public interface RatingsStatsPersistence extends BasePersistence {
31 public void cacheResult(
32 com.liferay.portlet.ratings.model.RatingsStats ratingsStats);
33
34 public void cacheResult(
35 java.util.List<com.liferay.portlet.ratings.model.RatingsStats> ratingsStatses);
36
37 public void clearCache();
38
39 public com.liferay.portlet.ratings.model.RatingsStats create(long statsId);
40
41 public com.liferay.portlet.ratings.model.RatingsStats remove(long statsId)
42 throws com.liferay.portal.SystemException,
43 com.liferay.portlet.ratings.NoSuchStatsException;
44
45 public com.liferay.portlet.ratings.model.RatingsStats remove(
46 com.liferay.portlet.ratings.model.RatingsStats ratingsStats)
47 throws com.liferay.portal.SystemException;
48
49
52 public com.liferay.portlet.ratings.model.RatingsStats update(
53 com.liferay.portlet.ratings.model.RatingsStats ratingsStats)
54 throws com.liferay.portal.SystemException;
55
56
69 public com.liferay.portlet.ratings.model.RatingsStats update(
70 com.liferay.portlet.ratings.model.RatingsStats ratingsStats,
71 boolean merge) throws com.liferay.portal.SystemException;
72
73 public com.liferay.portlet.ratings.model.RatingsStats updateImpl(
74 com.liferay.portlet.ratings.model.RatingsStats ratingsStats,
75 boolean merge) throws com.liferay.portal.SystemException;
76
77 public com.liferay.portlet.ratings.model.RatingsStats findByPrimaryKey(
78 long statsId)
79 throws com.liferay.portal.SystemException,
80 com.liferay.portlet.ratings.NoSuchStatsException;
81
82 public com.liferay.portlet.ratings.model.RatingsStats fetchByPrimaryKey(
83 long statsId) throws com.liferay.portal.SystemException;
84
85 public com.liferay.portlet.ratings.model.RatingsStats findByC_C(
86 long classNameId, long classPK)
87 throws com.liferay.portal.SystemException,
88 com.liferay.portlet.ratings.NoSuchStatsException;
89
90 public com.liferay.portlet.ratings.model.RatingsStats fetchByC_C(
91 long classNameId, long classPK)
92 throws com.liferay.portal.SystemException;
93
94 public com.liferay.portlet.ratings.model.RatingsStats fetchByC_C(
95 long classNameId, long classPK, boolean retrieveFromCache)
96 throws com.liferay.portal.SystemException;
97
98 public java.util.List<Object> findWithDynamicQuery(
99 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
100 throws com.liferay.portal.SystemException;
101
102 public java.util.List<Object> findWithDynamicQuery(
103 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
104 int end) throws com.liferay.portal.SystemException;
105
106 public java.util.List<com.liferay.portlet.ratings.model.RatingsStats> findAll()
107 throws com.liferay.portal.SystemException;
108
109 public java.util.List<com.liferay.portlet.ratings.model.RatingsStats> findAll(
110 int start, int end) throws com.liferay.portal.SystemException;
111
112 public java.util.List<com.liferay.portlet.ratings.model.RatingsStats> findAll(
113 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
114 throws com.liferay.portal.SystemException;
115
116 public void removeByC_C(long classNameId, long classPK)
117 throws com.liferay.portal.SystemException,
118 com.liferay.portlet.ratings.NoSuchStatsException;
119
120 public void removeAll() throws com.liferay.portal.SystemException;
121
122 public int countByC_C(long classNameId, long classPK)
123 throws com.liferay.portal.SystemException;
124
125 public int countAll() throws com.liferay.portal.SystemException;
126 }