1   /**
2    * Copyright (c) 2000-2009 Liferay, Inc. All rights reserved.
3    *
4    *
5    *
6    *
7    * The contents of this file are subject to the terms of the Liferay Enterprise
8    * Subscription License ("License"). You may not use this file except in
9    * compliance with the License. You can obtain a copy of the License by
10   * contacting Liferay, Inc. See the License for the specific language governing
11   * permissions and limitations under the License, including but not limited to
12   * distribution rights of the Software.
13   *
14   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20   * SOFTWARE.
21   */
22  
23  package com.liferay.portlet.journal.service.persistence;
24  
25  import com.liferay.portal.service.persistence.BasePersistence;
26  
27  /**
28   * <a href="JournalArticlePersistence.java.html"><b><i>View Source</i></b></a>
29   *
30   * <p>
31   * ServiceBuilder generated this class. Modifications in this class will be
32   * overwritten the next time is generated.
33   * </p>
34   *
35   * @author    Brian Wing Shun Chan
36   * @see       JournalArticlePersistenceImpl
37   * @see       JournalArticleUtil
38   * @generated
39   */
40  public interface JournalArticlePersistence extends BasePersistence {
41      public void cacheResult(
42          com.liferay.portlet.journal.model.JournalArticle journalArticle);
43  
44      public void cacheResult(
45          java.util.List<com.liferay.portlet.journal.model.JournalArticle> journalArticles);
46  
47      public void clearCache();
48  
49      public com.liferay.portlet.journal.model.JournalArticle create(long id);
50  
51      public com.liferay.portlet.journal.model.JournalArticle remove(long id)
52          throws com.liferay.portal.SystemException,
53              com.liferay.portlet.journal.NoSuchArticleException;
54  
55      public com.liferay.portlet.journal.model.JournalArticle remove(
56          com.liferay.portlet.journal.model.JournalArticle journalArticle)
57          throws com.liferay.portal.SystemException;
58  
59      /**
60       * @deprecated Use {@link #update(JournalArticle, boolean merge)}.
61       */
62      public com.liferay.portlet.journal.model.JournalArticle update(
63          com.liferay.portlet.journal.model.JournalArticle journalArticle)
64          throws com.liferay.portal.SystemException;
65  
66      /**
67       * Add, update, or merge, the entity. This method also calls the model
68       * listeners to trigger the proper events associated with adding, deleting,
69       * or updating an entity.
70       *
71       * @param  journalArticle the entity to add, update, or merge
72       * @param  merge boolean value for whether to merge the entity. The default
73       *         value is false. Setting merge to true is more expensive and
74       *         should only be true when journalArticle is transient. See
75       *         LEP-5473 for a detailed discussion of this method.
76       * @return the entity that was added, updated, or merged
77       */
78      public com.liferay.portlet.journal.model.JournalArticle update(
79          com.liferay.portlet.journal.model.JournalArticle journalArticle,
80          boolean merge) throws com.liferay.portal.SystemException;
81  
82      public com.liferay.portlet.journal.model.JournalArticle updateImpl(
83          com.liferay.portlet.journal.model.JournalArticle journalArticle,
84          boolean merge) throws com.liferay.portal.SystemException;
85  
86      public com.liferay.portlet.journal.model.JournalArticle findByPrimaryKey(
87          long id)
88          throws com.liferay.portal.SystemException,
89              com.liferay.portlet.journal.NoSuchArticleException;
90  
91      public com.liferay.portlet.journal.model.JournalArticle fetchByPrimaryKey(
92          long id) throws com.liferay.portal.SystemException;
93  
94      public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByUuid(
95          java.lang.String uuid) throws com.liferay.portal.SystemException;
96  
97      public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByUuid(
98          java.lang.String uuid, int start, int end)
99          throws com.liferay.portal.SystemException;
100 
101     public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByUuid(
102         java.lang.String uuid, int start, int end,
103         com.liferay.portal.kernel.util.OrderByComparator obc)
104         throws com.liferay.portal.SystemException;
105 
106     public com.liferay.portlet.journal.model.JournalArticle findByUuid_First(
107         java.lang.String uuid,
108         com.liferay.portal.kernel.util.OrderByComparator obc)
109         throws com.liferay.portal.SystemException,
110             com.liferay.portlet.journal.NoSuchArticleException;
111 
112     public com.liferay.portlet.journal.model.JournalArticle findByUuid_Last(
113         java.lang.String uuid,
114         com.liferay.portal.kernel.util.OrderByComparator obc)
115         throws com.liferay.portal.SystemException,
116             com.liferay.portlet.journal.NoSuchArticleException;
117 
118     public com.liferay.portlet.journal.model.JournalArticle[] findByUuid_PrevAndNext(
119         long id, java.lang.String uuid,
120         com.liferay.portal.kernel.util.OrderByComparator obc)
121         throws com.liferay.portal.SystemException,
122             com.liferay.portlet.journal.NoSuchArticleException;
123 
124     public com.liferay.portlet.journal.model.JournalArticle findByUUID_G(
125         java.lang.String uuid, long groupId)
126         throws com.liferay.portal.SystemException,
127             com.liferay.portlet.journal.NoSuchArticleException;
128 
129     public com.liferay.portlet.journal.model.JournalArticle fetchByUUID_G(
130         java.lang.String uuid, long groupId)
131         throws com.liferay.portal.SystemException;
132 
133     public com.liferay.portlet.journal.model.JournalArticle fetchByUUID_G(
134         java.lang.String uuid, long groupId, boolean retrieveFromCache)
135         throws com.liferay.portal.SystemException;
136 
137     public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByGroupId(
138         long groupId) throws com.liferay.portal.SystemException;
139 
140     public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByGroupId(
141         long groupId, int start, int end)
142         throws com.liferay.portal.SystemException;
143 
144     public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByGroupId(
145         long groupId, int start, int end,
146         com.liferay.portal.kernel.util.OrderByComparator obc)
147         throws com.liferay.portal.SystemException;
148 
149     public com.liferay.portlet.journal.model.JournalArticle findByGroupId_First(
150         long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
151         throws com.liferay.portal.SystemException,
152             com.liferay.portlet.journal.NoSuchArticleException;
153 
154     public com.liferay.portlet.journal.model.JournalArticle findByGroupId_Last(
155         long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
156         throws com.liferay.portal.SystemException,
157             com.liferay.portlet.journal.NoSuchArticleException;
158 
159     public com.liferay.portlet.journal.model.JournalArticle[] findByGroupId_PrevAndNext(
160         long id, long groupId,
161         com.liferay.portal.kernel.util.OrderByComparator obc)
162         throws com.liferay.portal.SystemException,
163             com.liferay.portlet.journal.NoSuchArticleException;
164 
165     public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByCompanyId(
166         long companyId) throws com.liferay.portal.SystemException;
167 
168     public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByCompanyId(
169         long companyId, int start, int end)
170         throws com.liferay.portal.SystemException;
171 
172     public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByCompanyId(
173         long companyId, int start, int end,
174         com.liferay.portal.kernel.util.OrderByComparator obc)
175         throws com.liferay.portal.SystemException;
176 
177     public com.liferay.portlet.journal.model.JournalArticle findByCompanyId_First(
178         long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
179         throws com.liferay.portal.SystemException,
180             com.liferay.portlet.journal.NoSuchArticleException;
181 
182     public com.liferay.portlet.journal.model.JournalArticle findByCompanyId_Last(
183         long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
184         throws com.liferay.portal.SystemException,
185             com.liferay.portlet.journal.NoSuchArticleException;
186 
187     public com.liferay.portlet.journal.model.JournalArticle[] findByCompanyId_PrevAndNext(
188         long id, long companyId,
189         com.liferay.portal.kernel.util.OrderByComparator obc)
190         throws com.liferay.portal.SystemException,
191             com.liferay.portlet.journal.NoSuchArticleException;
192 
193     public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findBySmallImageId(
194         long smallImageId) throws com.liferay.portal.SystemException;
195 
196     public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findBySmallImageId(
197         long smallImageId, int start, int end)
198         throws com.liferay.portal.SystemException;
199 
200     public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findBySmallImageId(
201         long smallImageId, int start, int end,
202         com.liferay.portal.kernel.util.OrderByComparator obc)
203         throws com.liferay.portal.SystemException;
204 
205     public com.liferay.portlet.journal.model.JournalArticle findBySmallImageId_First(
206         long smallImageId, com.liferay.portal.kernel.util.OrderByComparator obc)
207         throws com.liferay.portal.SystemException,
208             com.liferay.portlet.journal.NoSuchArticleException;
209 
210     public com.liferay.portlet.journal.model.JournalArticle findBySmallImageId_Last(
211         long smallImageId, com.liferay.portal.kernel.util.OrderByComparator obc)
212         throws com.liferay.portal.SystemException,
213             com.liferay.portlet.journal.NoSuchArticleException;
214 
215     public com.liferay.portlet.journal.model.JournalArticle[] findBySmallImageId_PrevAndNext(
216         long id, long smallImageId,
217         com.liferay.portal.kernel.util.OrderByComparator obc)
218         throws com.liferay.portal.SystemException,
219             com.liferay.portlet.journal.NoSuchArticleException;
220 
221     public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_A(
222         long resourcePrimKey, boolean approved)
223         throws com.liferay.portal.SystemException;
224 
225     public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_A(
226         long resourcePrimKey, boolean approved, int start, int end)
227         throws com.liferay.portal.SystemException;
228 
229     public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_A(
230         long resourcePrimKey, boolean approved, int start, int end,
231         com.liferay.portal.kernel.util.OrderByComparator obc)
232         throws com.liferay.portal.SystemException;
233 
234     public com.liferay.portlet.journal.model.JournalArticle findByR_A_First(
235         long resourcePrimKey, boolean approved,
236         com.liferay.portal.kernel.util.OrderByComparator obc)
237         throws com.liferay.portal.SystemException,
238             com.liferay.portlet.journal.NoSuchArticleException;
239 
240     public com.liferay.portlet.journal.model.JournalArticle findByR_A_Last(
241         long resourcePrimKey, boolean approved,
242         com.liferay.portal.kernel.util.OrderByComparator obc)
243         throws com.liferay.portal.SystemException,
244             com.liferay.portlet.journal.NoSuchArticleException;
245 
246     public com.liferay.portlet.journal.model.JournalArticle[] findByR_A_PrevAndNext(
247         long id, long resourcePrimKey, boolean approved,
248         com.liferay.portal.kernel.util.OrderByComparator obc)
249         throws com.liferay.portal.SystemException,
250             com.liferay.portlet.journal.NoSuchArticleException;
251 
252     public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A(
253         long groupId, java.lang.String articleId)
254         throws com.liferay.portal.SystemException;
255 
256     public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A(
257         long groupId, java.lang.String articleId, int start, int end)
258         throws com.liferay.portal.SystemException;
259 
260     public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A(
261         long groupId, java.lang.String articleId, int start, int end,
262         com.liferay.portal.kernel.util.OrderByComparator obc)
263         throws com.liferay.portal.SystemException;
264 
265     public com.liferay.portlet.journal.model.JournalArticle findByG_A_First(
266         long groupId, java.lang.String articleId,
267         com.liferay.portal.kernel.util.OrderByComparator obc)
268         throws com.liferay.portal.SystemException,
269             com.liferay.portlet.journal.NoSuchArticleException;
270 
271     public com.liferay.portlet.journal.model.JournalArticle findByG_A_Last(
272         long groupId, java.lang.String articleId,
273         com.liferay.portal.kernel.util.OrderByComparator obc)
274         throws com.liferay.portal.SystemException,
275             com.liferay.portlet.journal.NoSuchArticleException;
276 
277     public com.liferay.portlet.journal.model.JournalArticle[] findByG_A_PrevAndNext(
278         long id, long groupId, java.lang.String articleId,
279         com.liferay.portal.kernel.util.OrderByComparator obc)
280         throws com.liferay.portal.SystemException,
281             com.liferay.portlet.journal.NoSuchArticleException;
282 
283     public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_S(
284         long groupId, java.lang.String structureId)
285         throws com.liferay.portal.SystemException;
286 
287     public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_S(
288         long groupId, java.lang.String structureId, int start, int end)
289         throws com.liferay.portal.SystemException;
290 
291     public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_S(
292         long groupId, java.lang.String structureId, int start, int end,
293         com.liferay.portal.kernel.util.OrderByComparator obc)
294         throws com.liferay.portal.SystemException;
295 
296     public com.liferay.portlet.journal.model.JournalArticle findByG_S_First(
297         long groupId, java.lang.String structureId,
298         com.liferay.portal.kernel.util.OrderByComparator obc)
299         throws com.liferay.portal.SystemException,
300             com.liferay.portlet.journal.NoSuchArticleException;
301 
302     public com.liferay.portlet.journal.model.JournalArticle findByG_S_Last(
303         long groupId, java.lang.String structureId,
304         com.liferay.portal.kernel.util.OrderByComparator obc)
305         throws com.liferay.portal.SystemException,
306             com.liferay.portlet.journal.NoSuchArticleException;
307 
308     public com.liferay.portlet.journal.model.JournalArticle[] findByG_S_PrevAndNext(
309         long id, long groupId, java.lang.String structureId,
310         com.liferay.portal.kernel.util.OrderByComparator obc)
311         throws com.liferay.portal.SystemException,
312             com.liferay.portlet.journal.NoSuchArticleException;
313 
314     public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_T(
315         long groupId, java.lang.String templateId)
316         throws com.liferay.portal.SystemException;
317 
318     public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_T(
319         long groupId, java.lang.String templateId, int start, int end)
320         throws com.liferay.portal.SystemException;
321 
322     public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_T(
323         long groupId, java.lang.String templateId, int start, int end,
324         com.liferay.portal.kernel.util.OrderByComparator obc)
325         throws com.liferay.portal.SystemException;
326 
327     public com.liferay.portlet.journal.model.JournalArticle findByG_T_First(
328         long groupId, java.lang.String templateId,
329         com.liferay.portal.kernel.util.OrderByComparator obc)
330         throws com.liferay.portal.SystemException,
331             com.liferay.portlet.journal.NoSuchArticleException;
332 
333     public com.liferay.portlet.journal.model.JournalArticle findByG_T_Last(
334         long groupId, java.lang.String templateId,
335         com.liferay.portal.kernel.util.OrderByComparator obc)
336         throws com.liferay.portal.SystemException,
337             com.liferay.portlet.journal.NoSuchArticleException;
338 
339     public com.liferay.portlet.journal.model.JournalArticle[] findByG_T_PrevAndNext(
340         long id, long groupId, java.lang.String templateId,
341         com.liferay.portal.kernel.util.OrderByComparator obc)
342         throws com.liferay.portal.SystemException,
343             com.liferay.portlet.journal.NoSuchArticleException;
344 
345     public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT(
346         long groupId, java.lang.String urlTitle)
347         throws com.liferay.portal.SystemException;
348 
349     public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT(
350         long groupId, java.lang.String urlTitle, int start, int end)
351         throws com.liferay.portal.SystemException;
352 
353     public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT(
354         long groupId, java.lang.String urlTitle, int start, int end,
355         com.liferay.portal.kernel.util.OrderByComparator obc)
356         throws com.liferay.portal.SystemException;
357 
358     public com.liferay.portlet.journal.model.JournalArticle findByG_UT_First(
359         long groupId, java.lang.String urlTitle,
360         com.liferay.portal.kernel.util.OrderByComparator obc)
361         throws com.liferay.portal.SystemException,
362             com.liferay.portlet.journal.NoSuchArticleException;
363 
364     public com.liferay.portlet.journal.model.JournalArticle findByG_UT_Last(
365         long groupId, java.lang.String urlTitle,
366         com.liferay.portal.kernel.util.OrderByComparator obc)
367         throws com.liferay.portal.SystemException,
368             com.liferay.portlet.journal.NoSuchArticleException;
369 
370     public com.liferay.portlet.journal.model.JournalArticle[] findByG_UT_PrevAndNext(
371         long id, long groupId, java.lang.String urlTitle,
372         com.liferay.portal.kernel.util.OrderByComparator obc)
373         throws com.liferay.portal.SystemException,
374             com.liferay.portlet.journal.NoSuchArticleException;
375 
376     public com.liferay.portlet.journal.model.JournalArticle findByG_A_V(
377         long groupId, java.lang.String articleId, double version)
378         throws com.liferay.portal.SystemException,
379             com.liferay.portlet.journal.NoSuchArticleException;
380 
381     public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_V(
382         long groupId, java.lang.String articleId, double version)
383         throws com.liferay.portal.SystemException;
384 
385     public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_V(
386         long groupId, java.lang.String articleId, double version,
387         boolean retrieveFromCache) throws com.liferay.portal.SystemException;
388 
389     public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_A(
390         long groupId, java.lang.String articleId, boolean approved)
391         throws com.liferay.portal.SystemException;
392 
393     public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_A(
394         long groupId, java.lang.String articleId, boolean approved, int start,
395         int end) throws com.liferay.portal.SystemException;
396 
397     public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_A(
398         long groupId, java.lang.String articleId, boolean approved, int start,
399         int end, com.liferay.portal.kernel.util.OrderByComparator obc)
400         throws com.liferay.portal.SystemException;
401 
402     public com.liferay.portlet.journal.model.JournalArticle findByG_A_A_First(
403         long groupId, java.lang.String articleId, boolean approved,
404         com.liferay.portal.kernel.util.OrderByComparator obc)
405         throws com.liferay.portal.SystemException,
406             com.liferay.portlet.journal.NoSuchArticleException;
407 
408     public com.liferay.portlet.journal.model.JournalArticle findByG_A_A_Last(
409         long groupId, java.lang.String articleId, boolean approved,
410         com.liferay.portal.kernel.util.OrderByComparator obc)
411         throws com.liferay.portal.SystemException,
412             com.liferay.portlet.journal.NoSuchArticleException;
413 
414     public com.liferay.portlet.journal.model.JournalArticle[] findByG_A_A_PrevAndNext(
415         long id, long groupId, java.lang.String articleId, boolean approved,
416         com.liferay.portal.kernel.util.OrderByComparator obc)
417         throws com.liferay.portal.SystemException,
418             com.liferay.portlet.journal.NoSuchArticleException;
419 
420     public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT_A(
421         long groupId, java.lang.String urlTitle, boolean approved)
422         throws com.liferay.portal.SystemException;
423 
424     public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT_A(
425         long groupId, java.lang.String urlTitle, boolean approved, int start,
426         int end) throws com.liferay.portal.SystemException;
427 
428     public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT_A(
429         long groupId, java.lang.String urlTitle, boolean approved, int start,
430         int end, com.liferay.portal.kernel.util.OrderByComparator obc)
431         throws com.liferay.portal.SystemException;
432 
433     public com.liferay.portlet.journal.model.JournalArticle findByG_UT_A_First(
434         long groupId, java.lang.String urlTitle, boolean approved,
435         com.liferay.portal.kernel.util.OrderByComparator obc)
436         throws com.liferay.portal.SystemException,
437             com.liferay.portlet.journal.NoSuchArticleException;
438 
439     public com.liferay.portlet.journal.model.JournalArticle findByG_UT_A_Last(
440         long groupId, java.lang.String urlTitle, boolean approved,
441         com.liferay.portal.kernel.util.OrderByComparator obc)
442         throws com.liferay.portal.SystemException,
443             com.liferay.portlet.journal.NoSuchArticleException;
444 
445     public com.liferay.portlet.journal.model.JournalArticle[] findByG_UT_A_PrevAndNext(
446         long id, long groupId, java.lang.String urlTitle, boolean approved,
447         com.liferay.portal.kernel.util.OrderByComparator obc)
448         throws com.liferay.portal.SystemException,
449             com.liferay.portlet.journal.NoSuchArticleException;
450 
451     public java.util.List<Object> findWithDynamicQuery(
452         com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
453         throws com.liferay.portal.SystemException;
454 
455     public java.util.List<Object> findWithDynamicQuery(
456         com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
457         int end) throws com.liferay.portal.SystemException;
458 
459     public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findAll()
460         throws com.liferay.portal.SystemException;
461 
462     public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findAll(
463         int start, int end) throws com.liferay.portal.SystemException;
464 
465     public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findAll(
466         int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
467         throws com.liferay.portal.SystemException;
468 
469     public void removeByUuid(java.lang.String uuid)
470         throws com.liferay.portal.SystemException;
471 
472     public void removeByUUID_G(java.lang.String uuid, long groupId)
473         throws com.liferay.portal.SystemException,
474             com.liferay.portlet.journal.NoSuchArticleException;
475 
476     public void removeByGroupId(long groupId)
477         throws com.liferay.portal.SystemException;
478 
479     public void removeByCompanyId(long companyId)
480         throws com.liferay.portal.SystemException;
481 
482     public void removeBySmallImageId(long smallImageId)
483         throws com.liferay.portal.SystemException;
484 
485     public void removeByR_A(long resourcePrimKey, boolean approved)
486         throws com.liferay.portal.SystemException;
487 
488     public void removeByG_A(long groupId, java.lang.String articleId)
489         throws com.liferay.portal.SystemException;
490 
491     public void removeByG_S(long groupId, java.lang.String structureId)
492         throws com.liferay.portal.SystemException;
493 
494     public void removeByG_T(long groupId, java.lang.String templateId)
495         throws com.liferay.portal.SystemException;
496 
497     public void removeByG_UT(long groupId, java.lang.String urlTitle)
498         throws com.liferay.portal.SystemException;
499 
500     public void removeByG_A_V(long groupId, java.lang.String articleId,
501         double version)
502         throws com.liferay.portal.SystemException,
503             com.liferay.portlet.journal.NoSuchArticleException;
504 
505     public void removeByG_A_A(long groupId, java.lang.String articleId,
506         boolean approved) throws com.liferay.portal.SystemException;
507 
508     public void removeByG_UT_A(long groupId, java.lang.String urlTitle,
509         boolean approved) throws com.liferay.portal.SystemException;
510 
511     public void removeAll() throws com.liferay.portal.SystemException;
512 
513     public int countByUuid(java.lang.String uuid)
514         throws com.liferay.portal.SystemException;
515 
516     public int countByUUID_G(java.lang.String uuid, long groupId)
517         throws com.liferay.portal.SystemException;
518 
519     public int countByGroupId(long groupId)
520         throws com.liferay.portal.SystemException;
521 
522     public int countByCompanyId(long companyId)
523         throws com.liferay.portal.SystemException;
524 
525     public int countBySmallImageId(long smallImageId)
526         throws com.liferay.portal.SystemException;
527 
528     public int countByR_A(long resourcePrimKey, boolean approved)
529         throws com.liferay.portal.SystemException;
530 
531     public int countByG_A(long groupId, java.lang.String articleId)
532         throws com.liferay.portal.SystemException;
533 
534     public int countByG_S(long groupId, java.lang.String structureId)
535         throws com.liferay.portal.SystemException;
536 
537     public int countByG_T(long groupId, java.lang.String templateId)
538         throws com.liferay.portal.SystemException;
539 
540     public int countByG_UT(long groupId, java.lang.String urlTitle)
541         throws com.liferay.portal.SystemException;
542 
543     public int countByG_A_V(long groupId, java.lang.String articleId,
544         double version) throws com.liferay.portal.SystemException;
545 
546     public int countByG_A_A(long groupId, java.lang.String articleId,
547         boolean approved) throws com.liferay.portal.SystemException;
548 
549     public int countByG_UT_A(long groupId, java.lang.String urlTitle,
550         boolean approved) throws com.liferay.portal.SystemException;
551 
552     public int countAll() throws com.liferay.portal.SystemException;
553 }