001
014
015 package com.liferay.portlet.journal.service.persistence;
016
017 import com.liferay.portal.service.persistence.BasePersistence;
018
019 import com.liferay.portlet.journal.model.JournalContentSearch;
020
021
027 public interface JournalContentSearchPersistence extends BasePersistence<JournalContentSearch> {
028 public void cacheResult(
029 com.liferay.portlet.journal.model.JournalContentSearch journalContentSearch);
030
031 public void cacheResult(
032 java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> journalContentSearchs);
033
034 public com.liferay.portlet.journal.model.JournalContentSearch create(
035 long contentSearchId);
036
037 public com.liferay.portlet.journal.model.JournalContentSearch remove(
038 long contentSearchId)
039 throws com.liferay.portal.kernel.exception.SystemException,
040 com.liferay.portlet.journal.NoSuchContentSearchException;
041
042 public com.liferay.portlet.journal.model.JournalContentSearch updateImpl(
043 com.liferay.portlet.journal.model.JournalContentSearch journalContentSearch,
044 boolean merge)
045 throws com.liferay.portal.kernel.exception.SystemException;
046
047 public com.liferay.portlet.journal.model.JournalContentSearch findByPrimaryKey(
048 long contentSearchId)
049 throws com.liferay.portal.kernel.exception.SystemException,
050 com.liferay.portlet.journal.NoSuchContentSearchException;
051
052 public com.liferay.portlet.journal.model.JournalContentSearch fetchByPrimaryKey(
053 long contentSearchId)
054 throws com.liferay.portal.kernel.exception.SystemException;
055
056 public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByArticleId(
057 java.lang.String articleId)
058 throws com.liferay.portal.kernel.exception.SystemException;
059
060 public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByArticleId(
061 java.lang.String articleId, int start, int end)
062 throws com.liferay.portal.kernel.exception.SystemException;
063
064 public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByArticleId(
065 java.lang.String articleId, int start, int end,
066 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
067 throws com.liferay.portal.kernel.exception.SystemException;
068
069 public com.liferay.portlet.journal.model.JournalContentSearch findByArticleId_First(
070 java.lang.String articleId,
071 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
072 throws com.liferay.portal.kernel.exception.SystemException,
073 com.liferay.portlet.journal.NoSuchContentSearchException;
074
075 public com.liferay.portlet.journal.model.JournalContentSearch findByArticleId_Last(
076 java.lang.String articleId,
077 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
078 throws com.liferay.portal.kernel.exception.SystemException,
079 com.liferay.portlet.journal.NoSuchContentSearchException;
080
081 public com.liferay.portlet.journal.model.JournalContentSearch[] findByArticleId_PrevAndNext(
082 long contentSearchId, java.lang.String articleId,
083 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
084 throws com.liferay.portal.kernel.exception.SystemException,
085 com.liferay.portlet.journal.NoSuchContentSearchException;
086
087 public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P(
088 long groupId, boolean privateLayout)
089 throws com.liferay.portal.kernel.exception.SystemException;
090
091 public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P(
092 long groupId, boolean privateLayout, int start, int end)
093 throws com.liferay.portal.kernel.exception.SystemException;
094
095 public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P(
096 long groupId, boolean privateLayout, int start, int end,
097 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
098 throws com.liferay.portal.kernel.exception.SystemException;
099
100 public com.liferay.portlet.journal.model.JournalContentSearch findByG_P_First(
101 long groupId, boolean privateLayout,
102 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
103 throws com.liferay.portal.kernel.exception.SystemException,
104 com.liferay.portlet.journal.NoSuchContentSearchException;
105
106 public com.liferay.portlet.journal.model.JournalContentSearch findByG_P_Last(
107 long groupId, boolean privateLayout,
108 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
109 throws com.liferay.portal.kernel.exception.SystemException,
110 com.liferay.portlet.journal.NoSuchContentSearchException;
111
112 public com.liferay.portlet.journal.model.JournalContentSearch[] findByG_P_PrevAndNext(
113 long contentSearchId, long groupId, boolean privateLayout,
114 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
115 throws com.liferay.portal.kernel.exception.SystemException,
116 com.liferay.portlet.journal.NoSuchContentSearchException;
117
118 public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_A(
119 long groupId, java.lang.String articleId)
120 throws com.liferay.portal.kernel.exception.SystemException;
121
122 public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_A(
123 long groupId, java.lang.String articleId, int start, int end)
124 throws com.liferay.portal.kernel.exception.SystemException;
125
126 public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_A(
127 long groupId, java.lang.String articleId, int start, int end,
128 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
129 throws com.liferay.portal.kernel.exception.SystemException;
130
131 public com.liferay.portlet.journal.model.JournalContentSearch findByG_A_First(
132 long groupId, java.lang.String articleId,
133 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
134 throws com.liferay.portal.kernel.exception.SystemException,
135 com.liferay.portlet.journal.NoSuchContentSearchException;
136
137 public com.liferay.portlet.journal.model.JournalContentSearch findByG_A_Last(
138 long groupId, java.lang.String articleId,
139 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
140 throws com.liferay.portal.kernel.exception.SystemException,
141 com.liferay.portlet.journal.NoSuchContentSearchException;
142
143 public com.liferay.portlet.journal.model.JournalContentSearch[] findByG_A_PrevAndNext(
144 long contentSearchId, long groupId, java.lang.String articleId,
145 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
146 throws com.liferay.portal.kernel.exception.SystemException,
147 com.liferay.portlet.journal.NoSuchContentSearchException;
148
149 public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_L(
150 long groupId, boolean privateLayout, long layoutId)
151 throws com.liferay.portal.kernel.exception.SystemException;
152
153 public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_L(
154 long groupId, boolean privateLayout, long layoutId, int start, int end)
155 throws com.liferay.portal.kernel.exception.SystemException;
156
157 public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_L(
158 long groupId, boolean privateLayout, long layoutId, int start, int end,
159 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
160 throws com.liferay.portal.kernel.exception.SystemException;
161
162 public com.liferay.portlet.journal.model.JournalContentSearch findByG_P_L_First(
163 long groupId, boolean privateLayout, long layoutId,
164 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
165 throws com.liferay.portal.kernel.exception.SystemException,
166 com.liferay.portlet.journal.NoSuchContentSearchException;
167
168 public com.liferay.portlet.journal.model.JournalContentSearch findByG_P_L_Last(
169 long groupId, boolean privateLayout, long layoutId,
170 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
171 throws com.liferay.portal.kernel.exception.SystemException,
172 com.liferay.portlet.journal.NoSuchContentSearchException;
173
174 public com.liferay.portlet.journal.model.JournalContentSearch[] findByG_P_L_PrevAndNext(
175 long contentSearchId, long groupId, boolean privateLayout,
176 long layoutId,
177 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
178 throws com.liferay.portal.kernel.exception.SystemException,
179 com.liferay.portlet.journal.NoSuchContentSearchException;
180
181 public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_A(
182 long groupId, boolean privateLayout, java.lang.String articleId)
183 throws com.liferay.portal.kernel.exception.SystemException;
184
185 public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_A(
186 long groupId, boolean privateLayout, java.lang.String articleId,
187 int start, int end)
188 throws com.liferay.portal.kernel.exception.SystemException;
189
190 public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_A(
191 long groupId, boolean privateLayout, java.lang.String articleId,
192 int start, int end,
193 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
194 throws com.liferay.portal.kernel.exception.SystemException;
195
196 public com.liferay.portlet.journal.model.JournalContentSearch findByG_P_A_First(
197 long groupId, boolean privateLayout, java.lang.String articleId,
198 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
199 throws com.liferay.portal.kernel.exception.SystemException,
200 com.liferay.portlet.journal.NoSuchContentSearchException;
201
202 public com.liferay.portlet.journal.model.JournalContentSearch findByG_P_A_Last(
203 long groupId, boolean privateLayout, java.lang.String articleId,
204 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
205 throws com.liferay.portal.kernel.exception.SystemException,
206 com.liferay.portlet.journal.NoSuchContentSearchException;
207
208 public com.liferay.portlet.journal.model.JournalContentSearch[] findByG_P_A_PrevAndNext(
209 long contentSearchId, long groupId, boolean privateLayout,
210 java.lang.String articleId,
211 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
212 throws com.liferay.portal.kernel.exception.SystemException,
213 com.liferay.portlet.journal.NoSuchContentSearchException;
214
215 public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_L_P(
216 long groupId, boolean privateLayout, long layoutId,
217 java.lang.String portletId)
218 throws com.liferay.portal.kernel.exception.SystemException;
219
220 public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_L_P(
221 long groupId, boolean privateLayout, long layoutId,
222 java.lang.String portletId, int start, int end)
223 throws com.liferay.portal.kernel.exception.SystemException;
224
225 public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_L_P(
226 long groupId, boolean privateLayout, long layoutId,
227 java.lang.String portletId, int start, int end,
228 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
229 throws com.liferay.portal.kernel.exception.SystemException;
230
231 public com.liferay.portlet.journal.model.JournalContentSearch findByG_P_L_P_First(
232 long groupId, boolean privateLayout, long layoutId,
233 java.lang.String portletId,
234 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
235 throws com.liferay.portal.kernel.exception.SystemException,
236 com.liferay.portlet.journal.NoSuchContentSearchException;
237
238 public com.liferay.portlet.journal.model.JournalContentSearch findByG_P_L_P_Last(
239 long groupId, boolean privateLayout, long layoutId,
240 java.lang.String portletId,
241 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
242 throws com.liferay.portal.kernel.exception.SystemException,
243 com.liferay.portlet.journal.NoSuchContentSearchException;
244
245 public com.liferay.portlet.journal.model.JournalContentSearch[] findByG_P_L_P_PrevAndNext(
246 long contentSearchId, long groupId, boolean privateLayout,
247 long layoutId, java.lang.String portletId,
248 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
249 throws com.liferay.portal.kernel.exception.SystemException,
250 com.liferay.portlet.journal.NoSuchContentSearchException;
251
252 public com.liferay.portlet.journal.model.JournalContentSearch findByG_P_L_P_A(
253 long groupId, boolean privateLayout, long layoutId,
254 java.lang.String portletId, java.lang.String articleId)
255 throws com.liferay.portal.kernel.exception.SystemException,
256 com.liferay.portlet.journal.NoSuchContentSearchException;
257
258 public com.liferay.portlet.journal.model.JournalContentSearch fetchByG_P_L_P_A(
259 long groupId, boolean privateLayout, long layoutId,
260 java.lang.String portletId, java.lang.String articleId)
261 throws com.liferay.portal.kernel.exception.SystemException;
262
263 public com.liferay.portlet.journal.model.JournalContentSearch fetchByG_P_L_P_A(
264 long groupId, boolean privateLayout, long layoutId,
265 java.lang.String portletId, java.lang.String articleId,
266 boolean retrieveFromCache)
267 throws com.liferay.portal.kernel.exception.SystemException;
268
269 public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findAll()
270 throws com.liferay.portal.kernel.exception.SystemException;
271
272 public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findAll(
273 int start, int end)
274 throws com.liferay.portal.kernel.exception.SystemException;
275
276 public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findAll(
277 int start, int end,
278 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
279 throws com.liferay.portal.kernel.exception.SystemException;
280
281 public void removeByArticleId(java.lang.String articleId)
282 throws com.liferay.portal.kernel.exception.SystemException;
283
284 public void removeByG_P(long groupId, boolean privateLayout)
285 throws com.liferay.portal.kernel.exception.SystemException;
286
287 public void removeByG_A(long groupId, java.lang.String articleId)
288 throws com.liferay.portal.kernel.exception.SystemException;
289
290 public void removeByG_P_L(long groupId, boolean privateLayout, long layoutId)
291 throws com.liferay.portal.kernel.exception.SystemException;
292
293 public void removeByG_P_A(long groupId, boolean privateLayout,
294 java.lang.String articleId)
295 throws com.liferay.portal.kernel.exception.SystemException;
296
297 public void removeByG_P_L_P(long groupId, boolean privateLayout,
298 long layoutId, java.lang.String portletId)
299 throws com.liferay.portal.kernel.exception.SystemException;
300
301 public void removeByG_P_L_P_A(long groupId, boolean privateLayout,
302 long layoutId, java.lang.String portletId, java.lang.String articleId)
303 throws com.liferay.portal.kernel.exception.SystemException,
304 com.liferay.portlet.journal.NoSuchContentSearchException;
305
306 public void removeAll()
307 throws com.liferay.portal.kernel.exception.SystemException;
308
309 public int countByArticleId(java.lang.String articleId)
310 throws com.liferay.portal.kernel.exception.SystemException;
311
312 public int countByG_P(long groupId, boolean privateLayout)
313 throws com.liferay.portal.kernel.exception.SystemException;
314
315 public int countByG_A(long groupId, java.lang.String articleId)
316 throws com.liferay.portal.kernel.exception.SystemException;
317
318 public int countByG_P_L(long groupId, boolean privateLayout, long layoutId)
319 throws com.liferay.portal.kernel.exception.SystemException;
320
321 public int countByG_P_A(long groupId, boolean privateLayout,
322 java.lang.String articleId)
323 throws com.liferay.portal.kernel.exception.SystemException;
324
325 public int countByG_P_L_P(long groupId, boolean privateLayout,
326 long layoutId, java.lang.String portletId)
327 throws com.liferay.portal.kernel.exception.SystemException;
328
329 public int countByG_P_L_P_A(long groupId, boolean privateLayout,
330 long layoutId, java.lang.String portletId, java.lang.String articleId)
331 throws com.liferay.portal.kernel.exception.SystemException;
332
333 public int countAll()
334 throws com.liferay.portal.kernel.exception.SystemException;
335 }