1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * The contents of this file are subject to the terms of the Liferay Enterprise
5    * Subscription License ("License"). You may not use this file except in
6    * compliance with the License. You can obtain a copy of the License by
7    * contacting Liferay, Inc. See the License for the specific language governing
8    * permissions and limitations under the License, including but not limited to
9    * distribution rights of the Software.
10   *
11   *
12   * 
13   */
14  
15  package com.liferay.portlet.journal.service.persistence;
16  
17  /**
18   * <a href="JournalArticleFinder.java.html"><b><i>View Source</i></b></a>
19   *
20   * @author Brian Wing Shun Chan
21   */
22  public interface JournalArticleFinder {
23      public int countByKeywords(long companyId, long groupId,
24          java.lang.String keywords, java.lang.Double version,
25          java.lang.String type, java.lang.String structureId,
26          java.lang.String templateId, java.util.Date displayDateGT,
27          java.util.Date displayDateLT, java.lang.Boolean approved,
28          java.lang.Boolean expired, java.util.Date reviewDate)
29          throws com.liferay.portal.SystemException;
30  
31      public int countByC_G_A_V_T_D_C_T_S_T_D_A_E_R(long companyId, long groupId,
32          java.lang.String articleId, java.lang.Double version,
33          java.lang.String title, java.lang.String description,
34          java.lang.String content, java.lang.String type,
35          java.lang.String structureId, java.lang.String templateId,
36          java.util.Date displayDateGT, java.util.Date displayDateLT,
37          java.lang.Boolean approved, java.lang.Boolean expired,
38          java.util.Date reviewDate, boolean andOperator)
39          throws com.liferay.portal.SystemException;
40  
41      public int countByC_G_A_V_T_D_C_T_S_T_D_A_E_R(long companyId, long groupId,
42          java.lang.String articleId, java.lang.Double version,
43          java.lang.String title, java.lang.String description,
44          java.lang.String content, java.lang.String type,
45          java.lang.String[] structureIds, java.lang.String[] templateIds,
46          java.util.Date displayDateGT, java.util.Date displayDateLT,
47          java.lang.Boolean approved, java.lang.Boolean expired,
48          java.util.Date reviewDate, boolean andOperator)
49          throws com.liferay.portal.SystemException;
50  
51      public int countByC_G_A_V_T_D_C_T_S_T_D_A_E_R(long companyId, long groupId,
52          java.lang.String[] articleIds, java.lang.Double version,
53          java.lang.String[] titles, java.lang.String[] descriptions,
54          java.lang.String[] contents, java.lang.String type,
55          java.lang.String[] structureIds, java.lang.String[] templateIds,
56          java.util.Date displayDateGT, java.util.Date displayDateLT,
57          java.lang.Boolean approved, java.lang.Boolean expired,
58          java.util.Date reviewDate, boolean andOperator)
59          throws com.liferay.portal.SystemException;
60  
61      public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByExpirationDate(
62          java.lang.Boolean expired, java.util.Date expirationDateLT,
63          java.util.Date expirationDateGT)
64          throws com.liferay.portal.SystemException;
65  
66      public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByKeywords(
67          long companyId, long groupId, java.lang.String keywords,
68          java.lang.Double version, java.lang.String type,
69          java.lang.String structureId, java.lang.String templateId,
70          java.util.Date displayDateGT, java.util.Date displayDateLT,
71          java.lang.Boolean approved, java.lang.Boolean expired,
72          java.util.Date reviewDate, int start, int end,
73          com.liferay.portal.kernel.util.OrderByComparator obc)
74          throws com.liferay.portal.SystemException;
75  
76      public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByReviewDate(
77          java.util.Date reviewDateLT, java.util.Date reviewDateGT)
78          throws com.liferay.portal.SystemException;
79  
80      public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_G_A_V_T_D_C_T_S_T_D_A_E_R(
81          long companyId, long groupId, java.lang.String articleId,
82          java.lang.Double version, java.lang.String title,
83          java.lang.String description, java.lang.String content,
84          java.lang.String type, java.lang.String structureId,
85          java.lang.String templateId, java.util.Date displayDateGT,
86          java.util.Date displayDateLT, java.lang.Boolean approved,
87          java.lang.Boolean expired, java.util.Date reviewDate,
88          boolean andOperator, int start, int end,
89          com.liferay.portal.kernel.util.OrderByComparator obc)
90          throws com.liferay.portal.SystemException;
91  
92      public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_G_A_V_T_D_C_T_S_T_D_A_E_R(
93          long companyId, long groupId, java.lang.String articleId,
94          java.lang.Double version, java.lang.String title,
95          java.lang.String description, java.lang.String content,
96          java.lang.String type, java.lang.String[] structureIds,
97          java.lang.String[] templateIds, java.util.Date displayDateGT,
98          java.util.Date displayDateLT, java.lang.Boolean approved,
99          java.lang.Boolean expired, java.util.Date reviewDate,
100         boolean andOperator, int start, int end,
101         com.liferay.portal.kernel.util.OrderByComparator obc)
102         throws com.liferay.portal.SystemException;
103 
104     public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_G_A_V_T_D_C_T_S_T_D_A_E_R(
105         long companyId, long groupId, java.lang.String[] articleIds,
106         java.lang.Double version, java.lang.String[] titles,
107         java.lang.String[] descriptions, java.lang.String[] contents,
108         java.lang.String type, java.lang.String[] structureIds,
109         java.lang.String[] templateIds, java.util.Date displayDateGT,
110         java.util.Date displayDateLT, java.lang.Boolean approved,
111         java.lang.Boolean expired, java.util.Date reviewDate,
112         boolean andOperator, int start, int end,
113         com.liferay.portal.kernel.util.OrderByComparator obc)
114         throws com.liferay.portal.SystemException;
115 }