1
22
23 package com.liferay.portlet.blogs.service.persistence;
24
25
31 public interface BlogsEntryPersistence {
32 public com.liferay.portlet.blogs.model.BlogsEntry create(long entryId);
33
34 public com.liferay.portlet.blogs.model.BlogsEntry remove(long entryId)
35 throws com.liferay.portal.SystemException,
36 com.liferay.portlet.blogs.NoSuchEntryException;
37
38 public com.liferay.portlet.blogs.model.BlogsEntry remove(
39 com.liferay.portlet.blogs.model.BlogsEntry blogsEntry)
40 throws com.liferay.portal.SystemException;
41
42
45 public com.liferay.portlet.blogs.model.BlogsEntry update(
46 com.liferay.portlet.blogs.model.BlogsEntry blogsEntry)
47 throws com.liferay.portal.SystemException;
48
49
62 public com.liferay.portlet.blogs.model.BlogsEntry update(
63 com.liferay.portlet.blogs.model.BlogsEntry blogsEntry, boolean merge)
64 throws com.liferay.portal.SystemException;
65
66 public com.liferay.portlet.blogs.model.BlogsEntry updateImpl(
67 com.liferay.portlet.blogs.model.BlogsEntry blogsEntry, boolean merge)
68 throws com.liferay.portal.SystemException;
69
70 public com.liferay.portlet.blogs.model.BlogsEntry findByPrimaryKey(
71 long entryId)
72 throws com.liferay.portal.SystemException,
73 com.liferay.portlet.blogs.NoSuchEntryException;
74
75 public com.liferay.portlet.blogs.model.BlogsEntry fetchByPrimaryKey(
76 long entryId) throws com.liferay.portal.SystemException;
77
78 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByUuid(
79 java.lang.String uuid) throws com.liferay.portal.SystemException;
80
81 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByUuid(
82 java.lang.String uuid, int begin, int end)
83 throws com.liferay.portal.SystemException;
84
85 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByUuid(
86 java.lang.String uuid, int begin, int end,
87 com.liferay.portal.kernel.util.OrderByComparator obc)
88 throws com.liferay.portal.SystemException;
89
90 public com.liferay.portlet.blogs.model.BlogsEntry findByUuid_First(
91 java.lang.String uuid,
92 com.liferay.portal.kernel.util.OrderByComparator obc)
93 throws com.liferay.portal.SystemException,
94 com.liferay.portlet.blogs.NoSuchEntryException;
95
96 public com.liferay.portlet.blogs.model.BlogsEntry findByUuid_Last(
97 java.lang.String uuid,
98 com.liferay.portal.kernel.util.OrderByComparator obc)
99 throws com.liferay.portal.SystemException,
100 com.liferay.portlet.blogs.NoSuchEntryException;
101
102 public com.liferay.portlet.blogs.model.BlogsEntry[] findByUuid_PrevAndNext(
103 long entryId, java.lang.String uuid,
104 com.liferay.portal.kernel.util.OrderByComparator obc)
105 throws com.liferay.portal.SystemException,
106 com.liferay.portlet.blogs.NoSuchEntryException;
107
108 public com.liferay.portlet.blogs.model.BlogsEntry findByUUID_G(
109 java.lang.String uuid, long groupId)
110 throws com.liferay.portal.SystemException,
111 com.liferay.portlet.blogs.NoSuchEntryException;
112
113 public com.liferay.portlet.blogs.model.BlogsEntry fetchByUUID_G(
114 java.lang.String uuid, long groupId)
115 throws com.liferay.portal.SystemException;
116
117 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByGroupId(
118 long groupId) throws com.liferay.portal.SystemException;
119
120 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByGroupId(
121 long groupId, int begin, int end)
122 throws com.liferay.portal.SystemException;
123
124 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByGroupId(
125 long groupId, int begin, int end,
126 com.liferay.portal.kernel.util.OrderByComparator obc)
127 throws com.liferay.portal.SystemException;
128
129 public com.liferay.portlet.blogs.model.BlogsEntry findByGroupId_First(
130 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
131 throws com.liferay.portal.SystemException,
132 com.liferay.portlet.blogs.NoSuchEntryException;
133
134 public com.liferay.portlet.blogs.model.BlogsEntry findByGroupId_Last(
135 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
136 throws com.liferay.portal.SystemException,
137 com.liferay.portlet.blogs.NoSuchEntryException;
138
139 public com.liferay.portlet.blogs.model.BlogsEntry[] findByGroupId_PrevAndNext(
140 long entryId, long groupId,
141 com.liferay.portal.kernel.util.OrderByComparator obc)
142 throws com.liferay.portal.SystemException,
143 com.liferay.portlet.blogs.NoSuchEntryException;
144
145 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByCompanyId(
146 long companyId) throws com.liferay.portal.SystemException;
147
148 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByCompanyId(
149 long companyId, int begin, int end)
150 throws com.liferay.portal.SystemException;
151
152 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByCompanyId(
153 long companyId, int begin, int end,
154 com.liferay.portal.kernel.util.OrderByComparator obc)
155 throws com.liferay.portal.SystemException;
156
157 public com.liferay.portlet.blogs.model.BlogsEntry findByCompanyId_First(
158 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
159 throws com.liferay.portal.SystemException,
160 com.liferay.portlet.blogs.NoSuchEntryException;
161
162 public com.liferay.portlet.blogs.model.BlogsEntry findByCompanyId_Last(
163 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
164 throws com.liferay.portal.SystemException,
165 com.liferay.portlet.blogs.NoSuchEntryException;
166
167 public com.liferay.portlet.blogs.model.BlogsEntry[] findByCompanyId_PrevAndNext(
168 long entryId, long companyId,
169 com.liferay.portal.kernel.util.OrderByComparator obc)
170 throws com.liferay.portal.SystemException,
171 com.liferay.portlet.blogs.NoSuchEntryException;
172
173 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_U(
174 long groupId, long userId) throws com.liferay.portal.SystemException;
175
176 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_U(
177 long groupId, long userId, int begin, int end)
178 throws com.liferay.portal.SystemException;
179
180 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_U(
181 long groupId, long userId, int begin, int end,
182 com.liferay.portal.kernel.util.OrderByComparator obc)
183 throws com.liferay.portal.SystemException;
184
185 public com.liferay.portlet.blogs.model.BlogsEntry findByG_U_First(
186 long groupId, long userId,
187 com.liferay.portal.kernel.util.OrderByComparator obc)
188 throws com.liferay.portal.SystemException,
189 com.liferay.portlet.blogs.NoSuchEntryException;
190
191 public com.liferay.portlet.blogs.model.BlogsEntry findByG_U_Last(
192 long groupId, long userId,
193 com.liferay.portal.kernel.util.OrderByComparator obc)
194 throws com.liferay.portal.SystemException,
195 com.liferay.portlet.blogs.NoSuchEntryException;
196
197 public com.liferay.portlet.blogs.model.BlogsEntry[] findByG_U_PrevAndNext(
198 long entryId, long groupId, long userId,
199 com.liferay.portal.kernel.util.OrderByComparator obc)
200 throws com.liferay.portal.SystemException,
201 com.liferay.portlet.blogs.NoSuchEntryException;
202
203 public com.liferay.portlet.blogs.model.BlogsEntry findByG_UT(long groupId,
204 java.lang.String urlTitle)
205 throws com.liferay.portal.SystemException,
206 com.liferay.portlet.blogs.NoSuchEntryException;
207
208 public com.liferay.portlet.blogs.model.BlogsEntry fetchByG_UT(
209 long groupId, java.lang.String urlTitle)
210 throws com.liferay.portal.SystemException;
211
212 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByC_U(
213 long companyId, long userId) throws com.liferay.portal.SystemException;
214
215 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByC_U(
216 long companyId, long userId, int begin, int end)
217 throws com.liferay.portal.SystemException;
218
219 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByC_U(
220 long companyId, long userId, int begin, int end,
221 com.liferay.portal.kernel.util.OrderByComparator obc)
222 throws com.liferay.portal.SystemException;
223
224 public com.liferay.portlet.blogs.model.BlogsEntry findByC_U_First(
225 long companyId, long userId,
226 com.liferay.portal.kernel.util.OrderByComparator obc)
227 throws com.liferay.portal.SystemException,
228 com.liferay.portlet.blogs.NoSuchEntryException;
229
230 public com.liferay.portlet.blogs.model.BlogsEntry findByC_U_Last(
231 long companyId, long userId,
232 com.liferay.portal.kernel.util.OrderByComparator obc)
233 throws com.liferay.portal.SystemException,
234 com.liferay.portlet.blogs.NoSuchEntryException;
235
236 public com.liferay.portlet.blogs.model.BlogsEntry[] findByC_U_PrevAndNext(
237 long entryId, long companyId, long userId,
238 com.liferay.portal.kernel.util.OrderByComparator obc)
239 throws com.liferay.portal.SystemException,
240 com.liferay.portlet.blogs.NoSuchEntryException;
241
242 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findWithDynamicQuery(
243 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
244 throws com.liferay.portal.SystemException;
245
246 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findWithDynamicQuery(
247 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
248 int begin, int end) throws com.liferay.portal.SystemException;
249
250 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findAll()
251 throws com.liferay.portal.SystemException;
252
253 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findAll(
254 int begin, int end) throws com.liferay.portal.SystemException;
255
256 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findAll(
257 int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
258 throws com.liferay.portal.SystemException;
259
260 public void removeByUuid(java.lang.String uuid)
261 throws com.liferay.portal.SystemException;
262
263 public void removeByUUID_G(java.lang.String uuid, long groupId)
264 throws com.liferay.portal.SystemException,
265 com.liferay.portlet.blogs.NoSuchEntryException;
266
267 public void removeByGroupId(long groupId)
268 throws com.liferay.portal.SystemException;
269
270 public void removeByCompanyId(long companyId)
271 throws com.liferay.portal.SystemException;
272
273 public void removeByG_U(long groupId, long userId)
274 throws com.liferay.portal.SystemException;
275
276 public void removeByG_UT(long groupId, java.lang.String urlTitle)
277 throws com.liferay.portal.SystemException,
278 com.liferay.portlet.blogs.NoSuchEntryException;
279
280 public void removeByC_U(long companyId, long userId)
281 throws com.liferay.portal.SystemException;
282
283 public void removeAll() throws com.liferay.portal.SystemException;
284
285 public int countByUuid(java.lang.String uuid)
286 throws com.liferay.portal.SystemException;
287
288 public int countByUUID_G(java.lang.String uuid, long groupId)
289 throws com.liferay.portal.SystemException;
290
291 public int countByGroupId(long groupId)
292 throws com.liferay.portal.SystemException;
293
294 public int countByCompanyId(long companyId)
295 throws com.liferay.portal.SystemException;
296
297 public int countByG_U(long groupId, long userId)
298 throws com.liferay.portal.SystemException;
299
300 public int countByG_UT(long groupId, java.lang.String urlTitle)
301 throws com.liferay.portal.SystemException;
302
303 public int countByC_U(long companyId, long userId)
304 throws com.liferay.portal.SystemException;
305
306 public int countAll() throws com.liferay.portal.SystemException;
307 }