1   /**
2    * Copyright (c) 2000-2008 Liferay, Inc. All rights reserved.
3    *
4    * Permission is hereby granted, free of charge, to any person obtaining a copy
5    * of this software and associated documentation files (the "Software"), to deal
6    * in the Software without restriction, including without limitation the rights
7    * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8    * copies of the Software, and to permit persons to whom the Software is
9    * furnished to do so, subject to the following conditions:
10   *
11   * The above copyright notice and this permission notice shall be included in
12   * all copies or substantial portions 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  /**
26   * <a href="JournalArticleFinder.java.html"><b><i>View Source</i></b></a>
27   *
28   * @author Brian Wing Shun Chan
29   *
30   */
31  public interface JournalArticleFinder {
32      public int countByKeywords(long companyId, long groupId,
33          java.lang.String keywords, java.lang.Double version,
34          java.lang.String type, java.lang.String structureId,
35          java.lang.String templateId, java.util.Date displayDateGT,
36          java.util.Date displayDateLT, java.lang.Boolean approved,
37          java.lang.Boolean expired, java.util.Date reviewDate)
38          throws com.liferay.portal.SystemException;
39  
40      public int countByC_G_A_V_T_D_C_T_S_T_D_A_E_R(long companyId, long groupId,
41          java.lang.String articleId, java.lang.Double version,
42          java.lang.String title, java.lang.String description,
43          java.lang.String content, java.lang.String type,
44          java.lang.String structureId, java.lang.String templateId,
45          java.util.Date displayDateGT, java.util.Date displayDateLT,
46          java.lang.Boolean approved, java.lang.Boolean expired,
47          java.util.Date reviewDate, boolean andOperator)
48          throws com.liferay.portal.SystemException;
49  
50      public int countByC_G_A_V_T_D_C_T_S_T_D_A_E_R(long companyId, long groupId,
51          java.lang.String articleId, java.lang.Double version,
52          java.lang.String title, java.lang.String description,
53          java.lang.String content, java.lang.String type,
54          java.lang.String[] structureIds, java.lang.String[] templateIds,
55          java.util.Date displayDateGT, java.util.Date displayDateLT,
56          java.lang.Boolean approved, java.lang.Boolean expired,
57          java.util.Date reviewDate, boolean andOperator)
58          throws com.liferay.portal.SystemException;
59  
60      public int countByC_G_A_V_T_D_C_T_S_T_D_A_E_R(long companyId, long groupId,
61          java.lang.String[] articleIds, java.lang.Double version,
62          java.lang.String[] titles, java.lang.String[] descriptions,
63          java.lang.String[] contents, java.lang.String type,
64          java.lang.String[] structureIds, java.lang.String[] templateIds,
65          java.util.Date displayDateGT, java.util.Date displayDateLT,
66          java.lang.Boolean approved, java.lang.Boolean expired,
67          java.util.Date reviewDate, boolean andOperator)
68          throws com.liferay.portal.SystemException;
69  
70      public java.util.List findByExpirationDate(java.lang.Boolean expired,
71          java.util.Date expirationDateLT, java.util.Date expirationDateGT)
72          throws com.liferay.portal.SystemException;
73  
74      public java.util.List findByKeywords(long companyId, long groupId,
75          java.lang.String keywords, java.lang.Double version,
76          java.lang.String type, java.lang.String structureId,
77          java.lang.String templateId, java.util.Date displayDateGT,
78          java.util.Date displayDateLT, java.lang.Boolean approved,
79          java.lang.Boolean expired, java.util.Date reviewDate, int begin,
80          int end, com.liferay.portal.kernel.util.OrderByComparator obc)
81          throws com.liferay.portal.SystemException;
82  
83      public java.util.List findByReviewDate(java.util.Date reviewDateLT,
84          java.util.Date reviewDateGT) throws com.liferay.portal.SystemException;
85  
86      public java.util.List findByC_G_A_V_T_D_C_T_S_T_D_A_E_R(long companyId,
87          long groupId, java.lang.String articleId, java.lang.Double version,
88          java.lang.String title, java.lang.String description,
89          java.lang.String content, java.lang.String type,
90          java.lang.String structureId, java.lang.String templateId,
91          java.util.Date displayDateGT, java.util.Date displayDateLT,
92          java.lang.Boolean approved, java.lang.Boolean expired,
93          java.util.Date reviewDate, boolean andOperator, int begin, int end,
94          com.liferay.portal.kernel.util.OrderByComparator obc)
95          throws com.liferay.portal.SystemException;
96  
97      public java.util.List findByC_G_A_V_T_D_C_T_S_T_D_A_E_R(long companyId,
98          long groupId, java.lang.String articleId, java.lang.Double version,
99          java.lang.String title, java.lang.String description,
100         java.lang.String content, java.lang.String type,
101         java.lang.String[] structureIds, java.lang.String[] templateIds,
102         java.util.Date displayDateGT, java.util.Date displayDateLT,
103         java.lang.Boolean approved, java.lang.Boolean expired,
104         java.util.Date reviewDate, boolean andOperator, int begin, int end,
105         com.liferay.portal.kernel.util.OrderByComparator obc)
106         throws com.liferay.portal.SystemException;
107 
108     public java.util.List findByC_G_A_V_T_D_C_T_S_T_D_A_E_R(long companyId,
109         long groupId, java.lang.String[] articleIds, java.lang.Double version,
110         java.lang.String[] titles, java.lang.String[] descriptions,
111         java.lang.String[] contents, java.lang.String type,
112         java.lang.String[] structureIds, java.lang.String[] templateIds,
113         java.util.Date displayDateGT, java.util.Date displayDateLT,
114         java.lang.Boolean approved, java.lang.Boolean expired,
115         java.util.Date reviewDate, boolean andOperator, int begin, int end,
116         com.liferay.portal.kernel.util.OrderByComparator obc)
117         throws com.liferay.portal.SystemException;
118 }