1
19
20 package com.liferay.portlet.journal.service.persistence;
21
22 import com.liferay.portal.PortalException;
23 import com.liferay.portal.SystemException;
24 import com.liferay.portal.kernel.annotation.Propagation;
25 import com.liferay.portal.kernel.annotation.Transactional;
26 import com.liferay.portal.service.persistence.BasePersistence;
27
28
34 @Transactional(rollbackFor = {
35 PortalException.class, SystemException.class})
36 public interface JournalContentSearchPersistence extends BasePersistence {
37 public com.liferay.portlet.journal.model.JournalContentSearch create(
38 long contentSearchId);
39
40 public com.liferay.portlet.journal.model.JournalContentSearch remove(
41 long contentSearchId)
42 throws com.liferay.portal.SystemException,
43 com.liferay.portlet.journal.NoSuchContentSearchException;
44
45 public com.liferay.portlet.journal.model.JournalContentSearch remove(
46 com.liferay.portlet.journal.model.JournalContentSearch journalContentSearch)
47 throws com.liferay.portal.SystemException;
48
49
52 public com.liferay.portlet.journal.model.JournalContentSearch update(
53 com.liferay.portlet.journal.model.JournalContentSearch journalContentSearch)
54 throws com.liferay.portal.SystemException;
55
56
69 public com.liferay.portlet.journal.model.JournalContentSearch update(
70 com.liferay.portlet.journal.model.JournalContentSearch journalContentSearch,
71 boolean merge) throws com.liferay.portal.SystemException;
72
73 public com.liferay.portlet.journal.model.JournalContentSearch updateImpl(
74 com.liferay.portlet.journal.model.JournalContentSearch journalContentSearch,
75 boolean merge) throws com.liferay.portal.SystemException;
76
77 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
78 public com.liferay.portlet.journal.model.JournalContentSearch findByPrimaryKey(
79 long contentSearchId)
80 throws com.liferay.portal.SystemException,
81 com.liferay.portlet.journal.NoSuchContentSearchException;
82
83 public com.liferay.portlet.journal.model.JournalContentSearch fetchByPrimaryKey(
84 long contentSearchId) throws com.liferay.portal.SystemException;
85
86 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
87 public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P(
88 long groupId, boolean privateLayout)
89 throws com.liferay.portal.SystemException;
90
91 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
92 public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P(
93 long groupId, boolean privateLayout, int start, int end)
94 throws com.liferay.portal.SystemException;
95
96 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
97 public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P(
98 long groupId, boolean privateLayout, int start, int end,
99 com.liferay.portal.kernel.util.OrderByComparator obc)
100 throws com.liferay.portal.SystemException;
101
102 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
103 public com.liferay.portlet.journal.model.JournalContentSearch findByG_P_First(
104 long groupId, boolean privateLayout,
105 com.liferay.portal.kernel.util.OrderByComparator obc)
106 throws com.liferay.portal.SystemException,
107 com.liferay.portlet.journal.NoSuchContentSearchException;
108
109 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
110 public com.liferay.portlet.journal.model.JournalContentSearch findByG_P_Last(
111 long groupId, boolean privateLayout,
112 com.liferay.portal.kernel.util.OrderByComparator obc)
113 throws com.liferay.portal.SystemException,
114 com.liferay.portlet.journal.NoSuchContentSearchException;
115
116 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
117 public com.liferay.portlet.journal.model.JournalContentSearch[] findByG_P_PrevAndNext(
118 long contentSearchId, long groupId, boolean privateLayout,
119 com.liferay.portal.kernel.util.OrderByComparator obc)
120 throws com.liferay.portal.SystemException,
121 com.liferay.portlet.journal.NoSuchContentSearchException;
122
123 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
124 public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_A(
125 long groupId, java.lang.String articleId)
126 throws com.liferay.portal.SystemException;
127
128 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
129 public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_A(
130 long groupId, java.lang.String articleId, int start, int end)
131 throws com.liferay.portal.SystemException;
132
133 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
134 public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_A(
135 long groupId, java.lang.String articleId, int start, int end,
136 com.liferay.portal.kernel.util.OrderByComparator obc)
137 throws com.liferay.portal.SystemException;
138
139 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
140 public com.liferay.portlet.journal.model.JournalContentSearch findByG_A_First(
141 long groupId, java.lang.String articleId,
142 com.liferay.portal.kernel.util.OrderByComparator obc)
143 throws com.liferay.portal.SystemException,
144 com.liferay.portlet.journal.NoSuchContentSearchException;
145
146 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
147 public com.liferay.portlet.journal.model.JournalContentSearch findByG_A_Last(
148 long groupId, java.lang.String articleId,
149 com.liferay.portal.kernel.util.OrderByComparator obc)
150 throws com.liferay.portal.SystemException,
151 com.liferay.portlet.journal.NoSuchContentSearchException;
152
153 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
154 public com.liferay.portlet.journal.model.JournalContentSearch[] findByG_A_PrevAndNext(
155 long contentSearchId, long groupId, java.lang.String articleId,
156 com.liferay.portal.kernel.util.OrderByComparator obc)
157 throws com.liferay.portal.SystemException,
158 com.liferay.portlet.journal.NoSuchContentSearchException;
159
160 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
161 public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_L(
162 long groupId, boolean privateLayout, long layoutId)
163 throws com.liferay.portal.SystemException;
164
165 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
166 public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_L(
167 long groupId, boolean privateLayout, long layoutId, int start, int end)
168 throws com.liferay.portal.SystemException;
169
170 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
171 public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_L(
172 long groupId, boolean privateLayout, long layoutId, int start, int end,
173 com.liferay.portal.kernel.util.OrderByComparator obc)
174 throws com.liferay.portal.SystemException;
175
176 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
177 public com.liferay.portlet.journal.model.JournalContentSearch findByG_P_L_First(
178 long groupId, boolean privateLayout, long layoutId,
179 com.liferay.portal.kernel.util.OrderByComparator obc)
180 throws com.liferay.portal.SystemException,
181 com.liferay.portlet.journal.NoSuchContentSearchException;
182
183 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
184 public com.liferay.portlet.journal.model.JournalContentSearch findByG_P_L_Last(
185 long groupId, boolean privateLayout, long layoutId,
186 com.liferay.portal.kernel.util.OrderByComparator obc)
187 throws com.liferay.portal.SystemException,
188 com.liferay.portlet.journal.NoSuchContentSearchException;
189
190 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
191 public com.liferay.portlet.journal.model.JournalContentSearch[] findByG_P_L_PrevAndNext(
192 long contentSearchId, long groupId, boolean privateLayout,
193 long layoutId, com.liferay.portal.kernel.util.OrderByComparator obc)
194 throws com.liferay.portal.SystemException,
195 com.liferay.portlet.journal.NoSuchContentSearchException;
196
197 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
198 public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_A(
199 long groupId, boolean privateLayout, java.lang.String articleId)
200 throws com.liferay.portal.SystemException;
201
202 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
203 public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_A(
204 long groupId, boolean privateLayout, java.lang.String articleId,
205 int start, int end) throws com.liferay.portal.SystemException;
206
207 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
208 public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_A(
209 long groupId, boolean privateLayout, java.lang.String articleId,
210 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
211 throws com.liferay.portal.SystemException;
212
213 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
214 public com.liferay.portlet.journal.model.JournalContentSearch findByG_P_A_First(
215 long groupId, boolean privateLayout, java.lang.String articleId,
216 com.liferay.portal.kernel.util.OrderByComparator obc)
217 throws com.liferay.portal.SystemException,
218 com.liferay.portlet.journal.NoSuchContentSearchException;
219
220 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
221 public com.liferay.portlet.journal.model.JournalContentSearch findByG_P_A_Last(
222 long groupId, boolean privateLayout, java.lang.String articleId,
223 com.liferay.portal.kernel.util.OrderByComparator obc)
224 throws com.liferay.portal.SystemException,
225 com.liferay.portlet.journal.NoSuchContentSearchException;
226
227 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
228 public com.liferay.portlet.journal.model.JournalContentSearch[] findByG_P_A_PrevAndNext(
229 long contentSearchId, long groupId, boolean privateLayout,
230 java.lang.String articleId,
231 com.liferay.portal.kernel.util.OrderByComparator obc)
232 throws com.liferay.portal.SystemException,
233 com.liferay.portlet.journal.NoSuchContentSearchException;
234
235 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
236 public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_L_P(
237 long groupId, boolean privateLayout, long layoutId,
238 java.lang.String portletId) throws com.liferay.portal.SystemException;
239
240 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
241 public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_L_P(
242 long groupId, boolean privateLayout, long layoutId,
243 java.lang.String portletId, int start, int end)
244 throws com.liferay.portal.SystemException;
245
246 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
247 public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_L_P(
248 long groupId, boolean privateLayout, long layoutId,
249 java.lang.String portletId, int start, int end,
250 com.liferay.portal.kernel.util.OrderByComparator obc)
251 throws com.liferay.portal.SystemException;
252
253 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
254 public com.liferay.portlet.journal.model.JournalContentSearch findByG_P_L_P_First(
255 long groupId, boolean privateLayout, long layoutId,
256 java.lang.String portletId,
257 com.liferay.portal.kernel.util.OrderByComparator obc)
258 throws com.liferay.portal.SystemException,
259 com.liferay.portlet.journal.NoSuchContentSearchException;
260
261 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
262 public com.liferay.portlet.journal.model.JournalContentSearch findByG_P_L_P_Last(
263 long groupId, boolean privateLayout, long layoutId,
264 java.lang.String portletId,
265 com.liferay.portal.kernel.util.OrderByComparator obc)
266 throws com.liferay.portal.SystemException,
267 com.liferay.portlet.journal.NoSuchContentSearchException;
268
269 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
270 public com.liferay.portlet.journal.model.JournalContentSearch[] findByG_P_L_P_PrevAndNext(
271 long contentSearchId, long groupId, boolean privateLayout,
272 long layoutId, java.lang.String portletId,
273 com.liferay.portal.kernel.util.OrderByComparator obc)
274 throws com.liferay.portal.SystemException,
275 com.liferay.portlet.journal.NoSuchContentSearchException;
276
277 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
278 public com.liferay.portlet.journal.model.JournalContentSearch findByG_P_L_P_A(
279 long groupId, boolean privateLayout, long layoutId,
280 java.lang.String portletId, java.lang.String articleId)
281 throws com.liferay.portal.SystemException,
282 com.liferay.portlet.journal.NoSuchContentSearchException;
283
284 public com.liferay.portlet.journal.model.JournalContentSearch fetchByG_P_L_P_A(
285 long groupId, boolean privateLayout, long layoutId,
286 java.lang.String portletId, java.lang.String articleId)
287 throws com.liferay.portal.SystemException;
288
289 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
290 public java.util.List<Object> findWithDynamicQuery(
291 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
292 throws com.liferay.portal.SystemException;
293
294 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
295 public java.util.List<Object> findWithDynamicQuery(
296 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
297 int end) throws com.liferay.portal.SystemException;
298
299 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
300 public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findAll()
301 throws com.liferay.portal.SystemException;
302
303 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
304 public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findAll(
305 int start, int end) throws com.liferay.portal.SystemException;
306
307 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
308 public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findAll(
309 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
310 throws com.liferay.portal.SystemException;
311
312 public void removeByG_P(long groupId, boolean privateLayout)
313 throws com.liferay.portal.SystemException;
314
315 public void removeByG_A(long groupId, java.lang.String articleId)
316 throws com.liferay.portal.SystemException;
317
318 public void removeByG_P_L(long groupId, boolean privateLayout, long layoutId)
319 throws com.liferay.portal.SystemException;
320
321 public void removeByG_P_A(long groupId, boolean privateLayout,
322 java.lang.String articleId) throws com.liferay.portal.SystemException;
323
324 public void removeByG_P_L_P(long groupId, boolean privateLayout,
325 long layoutId, java.lang.String portletId)
326 throws com.liferay.portal.SystemException;
327
328 public void removeByG_P_L_P_A(long groupId, boolean privateLayout,
329 long layoutId, java.lang.String portletId, java.lang.String articleId)
330 throws com.liferay.portal.SystemException,
331 com.liferay.portlet.journal.NoSuchContentSearchException;
332
333 public void removeAll() throws com.liferay.portal.SystemException;
334
335 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
336 public int countByG_P(long groupId, boolean privateLayout)
337 throws com.liferay.portal.SystemException;
338
339 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
340 public int countByG_A(long groupId, java.lang.String articleId)
341 throws com.liferay.portal.SystemException;
342
343 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
344 public int countByG_P_L(long groupId, boolean privateLayout, long layoutId)
345 throws com.liferay.portal.SystemException;
346
347 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
348 public int countByG_P_A(long groupId, boolean privateLayout,
349 java.lang.String articleId) throws com.liferay.portal.SystemException;
350
351 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
352 public int countByG_P_L_P(long groupId, boolean privateLayout,
353 long layoutId, java.lang.String portletId)
354 throws com.liferay.portal.SystemException;
355
356 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
357 public int countByG_P_L_P_A(long groupId, boolean privateLayout,
358 long layoutId, java.lang.String portletId, java.lang.String articleId)
359 throws com.liferay.portal.SystemException;
360
361 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
362 public int countAll() throws com.liferay.portal.SystemException;
363 }