1
14
15 package com.liferay.portlet.blogs.service.persistence;
16
17 import com.liferay.portal.service.persistence.BasePersistence;
18
19 import com.liferay.portlet.blogs.model.BlogsStatsUser;
20
21
34 public interface BlogsStatsUserPersistence extends BasePersistence<BlogsStatsUser> {
35 public void cacheResult(
36 com.liferay.portlet.blogs.model.BlogsStatsUser blogsStatsUser);
37
38 public void cacheResult(
39 java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> blogsStatsUsers);
40
41 public com.liferay.portlet.blogs.model.BlogsStatsUser create(
42 long statsUserId);
43
44 public com.liferay.portlet.blogs.model.BlogsStatsUser remove(
45 long statsUserId)
46 throws com.liferay.portal.SystemException,
47 com.liferay.portlet.blogs.NoSuchStatsUserException;
48
49
52 public com.liferay.portlet.blogs.model.BlogsStatsUser update(
53 com.liferay.portlet.blogs.model.BlogsStatsUser blogsStatsUser)
54 throws com.liferay.portal.SystemException;
55
56 public com.liferay.portlet.blogs.model.BlogsStatsUser updateImpl(
57 com.liferay.portlet.blogs.model.BlogsStatsUser blogsStatsUser,
58 boolean merge) throws com.liferay.portal.SystemException;
59
60 public com.liferay.portlet.blogs.model.BlogsStatsUser findByPrimaryKey(
61 long statsUserId)
62 throws com.liferay.portal.SystemException,
63 com.liferay.portlet.blogs.NoSuchStatsUserException;
64
65 public com.liferay.portlet.blogs.model.BlogsStatsUser fetchByPrimaryKey(
66 long statsUserId) throws com.liferay.portal.SystemException;
67
68 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByGroupId(
69 long groupId) throws com.liferay.portal.SystemException;
70
71 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByGroupId(
72 long groupId, int start, int end)
73 throws com.liferay.portal.SystemException;
74
75 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByGroupId(
76 long groupId, int start, int end,
77 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
78 throws com.liferay.portal.SystemException;
79
80 public com.liferay.portlet.blogs.model.BlogsStatsUser findByGroupId_First(
81 long groupId,
82 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
83 throws com.liferay.portal.SystemException,
84 com.liferay.portlet.blogs.NoSuchStatsUserException;
85
86 public com.liferay.portlet.blogs.model.BlogsStatsUser findByGroupId_Last(
87 long groupId,
88 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
89 throws com.liferay.portal.SystemException,
90 com.liferay.portlet.blogs.NoSuchStatsUserException;
91
92 public com.liferay.portlet.blogs.model.BlogsStatsUser[] findByGroupId_PrevAndNext(
93 long statsUserId, long groupId,
94 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
95 throws com.liferay.portal.SystemException,
96 com.liferay.portlet.blogs.NoSuchStatsUserException;
97
98 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByUserId(
99 long userId) throws com.liferay.portal.SystemException;
100
101 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByUserId(
102 long userId, int start, int end)
103 throws com.liferay.portal.SystemException;
104
105 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByUserId(
106 long userId, int start, int end,
107 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
108 throws com.liferay.portal.SystemException;
109
110 public com.liferay.portlet.blogs.model.BlogsStatsUser findByUserId_First(
111 long userId,
112 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
113 throws com.liferay.portal.SystemException,
114 com.liferay.portlet.blogs.NoSuchStatsUserException;
115
116 public com.liferay.portlet.blogs.model.BlogsStatsUser findByUserId_Last(
117 long userId,
118 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
119 throws com.liferay.portal.SystemException,
120 com.liferay.portlet.blogs.NoSuchStatsUserException;
121
122 public com.liferay.portlet.blogs.model.BlogsStatsUser[] findByUserId_PrevAndNext(
123 long statsUserId, long userId,
124 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
125 throws com.liferay.portal.SystemException,
126 com.liferay.portlet.blogs.NoSuchStatsUserException;
127
128 public com.liferay.portlet.blogs.model.BlogsStatsUser findByG_U(
129 long groupId, long userId)
130 throws com.liferay.portal.SystemException,
131 com.liferay.portlet.blogs.NoSuchStatsUserException;
132
133 public com.liferay.portlet.blogs.model.BlogsStatsUser fetchByG_U(
134 long groupId, long userId) throws com.liferay.portal.SystemException;
135
136 public com.liferay.portlet.blogs.model.BlogsStatsUser fetchByG_U(
137 long groupId, long userId, boolean retrieveFromCache)
138 throws com.liferay.portal.SystemException;
139
140 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByG_E(
141 long groupId, int entryCount) throws com.liferay.portal.SystemException;
142
143 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByG_E(
144 long groupId, int entryCount, int start, int end)
145 throws com.liferay.portal.SystemException;
146
147 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByG_E(
148 long groupId, int entryCount, int start, int end,
149 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
150 throws com.liferay.portal.SystemException;
151
152 public com.liferay.portlet.blogs.model.BlogsStatsUser findByG_E_First(
153 long groupId, int entryCount,
154 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
155 throws com.liferay.portal.SystemException,
156 com.liferay.portlet.blogs.NoSuchStatsUserException;
157
158 public com.liferay.portlet.blogs.model.BlogsStatsUser findByG_E_Last(
159 long groupId, int entryCount,
160 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
161 throws com.liferay.portal.SystemException,
162 com.liferay.portlet.blogs.NoSuchStatsUserException;
163
164 public com.liferay.portlet.blogs.model.BlogsStatsUser[] findByG_E_PrevAndNext(
165 long statsUserId, long groupId, int entryCount,
166 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
167 throws com.liferay.portal.SystemException,
168 com.liferay.portlet.blogs.NoSuchStatsUserException;
169
170 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByC_E(
171 long companyId, int entryCount)
172 throws com.liferay.portal.SystemException;
173
174 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByC_E(
175 long companyId, int entryCount, int start, int end)
176 throws com.liferay.portal.SystemException;
177
178 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByC_E(
179 long companyId, int entryCount, int start, int end,
180 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
181 throws com.liferay.portal.SystemException;
182
183 public com.liferay.portlet.blogs.model.BlogsStatsUser findByC_E_First(
184 long companyId, int entryCount,
185 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
186 throws com.liferay.portal.SystemException,
187 com.liferay.portlet.blogs.NoSuchStatsUserException;
188
189 public com.liferay.portlet.blogs.model.BlogsStatsUser findByC_E_Last(
190 long companyId, int entryCount,
191 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
192 throws com.liferay.portal.SystemException,
193 com.liferay.portlet.blogs.NoSuchStatsUserException;
194
195 public com.liferay.portlet.blogs.model.BlogsStatsUser[] findByC_E_PrevAndNext(
196 long statsUserId, long companyId, int entryCount,
197 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
198 throws com.liferay.portal.SystemException,
199 com.liferay.portlet.blogs.NoSuchStatsUserException;
200
201 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findAll()
202 throws com.liferay.portal.SystemException;
203
204 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findAll(
205 int start, int end) throws com.liferay.portal.SystemException;
206
207 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findAll(
208 int start, int end,
209 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
210 throws com.liferay.portal.SystemException;
211
212 public void removeByGroupId(long groupId)
213 throws com.liferay.portal.SystemException;
214
215 public void removeByUserId(long userId)
216 throws com.liferay.portal.SystemException;
217
218 public void removeByG_U(long groupId, long userId)
219 throws com.liferay.portal.SystemException,
220 com.liferay.portlet.blogs.NoSuchStatsUserException;
221
222 public void removeByG_E(long groupId, int entryCount)
223 throws com.liferay.portal.SystemException;
224
225 public void removeByC_E(long companyId, int entryCount)
226 throws com.liferay.portal.SystemException;
227
228 public void removeAll() throws com.liferay.portal.SystemException;
229
230 public int countByGroupId(long groupId)
231 throws com.liferay.portal.SystemException;
232
233 public int countByUserId(long userId)
234 throws com.liferay.portal.SystemException;
235
236 public int countByG_U(long groupId, long userId)
237 throws com.liferay.portal.SystemException;
238
239 public int countByG_E(long groupId, int entryCount)
240 throws com.liferay.portal.SystemException;
241
242 public int countByC_E(long companyId, int entryCount)
243 throws com.liferay.portal.SystemException;
244
245 public int countAll() throws com.liferay.portal.SystemException;
246 }