001
014
015 package com.liferay.portlet.journal.service.persistence;
016
017
020 public interface JournalArticleFinder {
021 public int countByKeywords(long companyId, long groupId, long classNameId,
022 java.lang.String keywords, java.lang.Double version,
023 java.lang.String type, java.lang.String structureId,
024 java.lang.String templateId, java.util.Date displayDateGT,
025 java.util.Date displayDateLT, int status, java.util.Date reviewDate)
026 throws com.liferay.portal.kernel.exception.SystemException;
027
028 public int countByC_G_C_A_V_T_D_C_T_S_T_D_S_R(long companyId, long groupId,
029 long classNameId, java.lang.String articleId, java.lang.Double version,
030 java.lang.String title, java.lang.String description,
031 java.lang.String content, java.lang.String type,
032 java.lang.String structureId, java.lang.String templateId,
033 java.util.Date displayDateGT, java.util.Date displayDateLT, int status,
034 java.util.Date reviewDate, boolean andOperator)
035 throws com.liferay.portal.kernel.exception.SystemException;
036
037 public int countByC_G_C_A_V_T_D_C_T_S_T_D_S_R(long companyId, long groupId,
038 long classNameId, java.lang.String articleId, java.lang.Double version,
039 java.lang.String title, java.lang.String description,
040 java.lang.String content, java.lang.String type,
041 java.lang.String[] structureIds, java.lang.String[] templateIds,
042 java.util.Date displayDateGT, java.util.Date displayDateLT, int status,
043 java.util.Date reviewDate, boolean andOperator)
044 throws com.liferay.portal.kernel.exception.SystemException;
045
046 public int countByC_G_C_A_V_T_D_C_T_S_T_D_S_R(long companyId, long groupId,
047 long classNameId, java.lang.String[] articleIds,
048 java.lang.Double version, java.lang.String[] titles,
049 java.lang.String[] descriptions, java.lang.String[] contents,
050 java.lang.String type, java.lang.String[] structureIds,
051 java.lang.String[] templateIds, java.util.Date displayDateGT,
052 java.util.Date displayDateLT, int status, java.util.Date reviewDate,
053 boolean andOperator)
054 throws com.liferay.portal.kernel.exception.SystemException;
055
056 public int filterCountByKeywords(long companyId, long groupId,
057 long classNameId, java.lang.String keywords, java.lang.Double version,
058 java.lang.String type, java.lang.String structureId,
059 java.lang.String templateId, java.util.Date displayDateGT,
060 java.util.Date displayDateLT, int status, java.util.Date reviewDate)
061 throws com.liferay.portal.kernel.exception.SystemException;
062
063 public int filterCountByC_G_C_A_V_T_D_C_T_S_T_D_S_R(long companyId,
064 long groupId, long classNameId, java.lang.String articleId,
065 java.lang.Double version, java.lang.String title,
066 java.lang.String description, java.lang.String content,
067 java.lang.String type, java.lang.String structureId,
068 java.lang.String templateId, java.util.Date displayDateGT,
069 java.util.Date displayDateLT, int status, java.util.Date reviewDate,
070 boolean andOperator)
071 throws com.liferay.portal.kernel.exception.SystemException;
072
073 public int filterCountByC_G_C_A_V_T_D_C_T_S_T_D_S_R(long companyId,
074 long groupId, long classNameId, java.lang.String articleId,
075 java.lang.Double version, java.lang.String title,
076 java.lang.String description, java.lang.String content,
077 java.lang.String type, java.lang.String[] structureIds,
078 java.lang.String[] templateIds, java.util.Date displayDateGT,
079 java.util.Date displayDateLT, int status, java.util.Date reviewDate,
080 boolean andOperator)
081 throws com.liferay.portal.kernel.exception.SystemException;
082
083 public int filterCountByC_G_C_A_V_T_D_C_T_S_T_D_S_R(long companyId,
084 long groupId, long classNameId, java.lang.String[] articleIds,
085 java.lang.Double version, java.lang.String[] titles,
086 java.lang.String[] descriptions, java.lang.String[] contents,
087 java.lang.String type, java.lang.String[] structureIds,
088 java.lang.String[] templateIds, java.util.Date displayDateGT,
089 java.util.Date displayDateLT, int status, java.util.Date reviewDate,
090 boolean andOperator)
091 throws com.liferay.portal.kernel.exception.SystemException;
092
093 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByKeywords(
094 long companyId, long groupId, long classNameId,
095 java.lang.String keywords, java.lang.Double version,
096 java.lang.String type, java.lang.String structureId,
097 java.lang.String templateId, java.util.Date displayDateGT,
098 java.util.Date displayDateLT, int status, java.util.Date reviewDate,
099 int start, int end,
100 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
101 throws com.liferay.portal.kernel.exception.SystemException;
102
103 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByC_G_C_A_V_T_D_C_T_S_T_D_S_R(
104 long companyId, long groupId, long classNameId,
105 java.lang.String articleId, java.lang.Double version,
106 java.lang.String title, java.lang.String description,
107 java.lang.String content, java.lang.String type,
108 java.lang.String structureId, java.lang.String templateId,
109 java.util.Date displayDateGT, java.util.Date displayDateLT, int status,
110 java.util.Date reviewDate, boolean andOperator, int start, int end,
111 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
112 throws com.liferay.portal.kernel.exception.SystemException;
113
114 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByC_G_C_A_V_T_D_C_T_S_T_D_S_R(
115 long companyId, long groupId, long classNameId,
116 java.lang.String articleId, java.lang.Double version,
117 java.lang.String title, java.lang.String description,
118 java.lang.String content, java.lang.String type,
119 java.lang.String[] structureIds, java.lang.String[] templateIds,
120 java.util.Date displayDateGT, java.util.Date displayDateLT, int status,
121 java.util.Date reviewDate, boolean andOperator, int start, int end,
122 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
123 throws com.liferay.portal.kernel.exception.SystemException;
124
125 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByC_G_C_A_V_T_D_C_T_S_T_D_S_R(
126 long companyId, long groupId, long classNameId,
127 java.lang.String[] articleIds, java.lang.Double version,
128 java.lang.String[] titles, java.lang.String[] descriptions,
129 java.lang.String[] contents, java.lang.String type,
130 java.lang.String[] structureIds, java.lang.String[] templateIds,
131 java.util.Date displayDateGT, java.util.Date displayDateLT, int status,
132 java.util.Date reviewDate, boolean andOperator, int start, int end,
133 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
134 throws com.liferay.portal.kernel.exception.SystemException;
135
136 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByExpirationDate(
137 long classNameId, int status, java.util.Date expirationDateLT)
138 throws com.liferay.portal.kernel.exception.SystemException;
139
140 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByKeywords(
141 long companyId, long groupId, long classNameId,
142 java.lang.String keywords, java.lang.Double version,
143 java.lang.String type, java.lang.String structureId,
144 java.lang.String templateId, java.util.Date displayDateGT,
145 java.util.Date displayDateLT, int status, java.util.Date reviewDate,
146 int start, int end,
147 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
148 throws com.liferay.portal.kernel.exception.SystemException;
149
150 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByReviewDate(
151 long classNameId, java.util.Date reviewDateLT,
152 java.util.Date reviewDateGT)
153 throws com.liferay.portal.kernel.exception.SystemException;
154
155 public com.liferay.portlet.journal.model.JournalArticle findByR_D(
156 long resourcePrimKey, java.util.Date displayDate)
157 throws com.liferay.portal.kernel.exception.SystemException,
158 com.liferay.portlet.journal.NoSuchArticleException;
159
160 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_G_C_A_V_T_D_C_T_S_T_D_S_R(
161 long companyId, long groupId, long classNameId,
162 java.lang.String articleId, java.lang.Double version,
163 java.lang.String title, java.lang.String description,
164 java.lang.String content, java.lang.String type,
165 java.lang.String structureId, java.lang.String templateId,
166 java.util.Date displayDateGT, java.util.Date displayDateLT, int status,
167 java.util.Date reviewDate, boolean andOperator, int start, int end,
168 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
169 throws com.liferay.portal.kernel.exception.SystemException;
170
171 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_G_C_A_V_T_D_C_T_S_T_D_S_R(
172 long companyId, long groupId, long classNameId,
173 java.lang.String articleId, java.lang.Double version,
174 java.lang.String title, java.lang.String description,
175 java.lang.String content, java.lang.String type,
176 java.lang.String[] structureIds, java.lang.String[] templateIds,
177 java.util.Date displayDateGT, java.util.Date displayDateLT, int status,
178 java.util.Date reviewDate, boolean andOperator, int start, int end,
179 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
180 throws com.liferay.portal.kernel.exception.SystemException;
181
182 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_G_C_A_V_T_D_C_T_S_T_D_S_R(
183 long companyId, long groupId, long classNameId,
184 java.lang.String[] articleIds, java.lang.Double version,
185 java.lang.String[] titles, java.lang.String[] descriptions,
186 java.lang.String[] contents, java.lang.String type,
187 java.lang.String[] structureIds, java.lang.String[] templateIds,
188 java.util.Date displayDateGT, java.util.Date displayDateLT, int status,
189 java.util.Date reviewDate, boolean andOperator, int start, int end,
190 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
191 throws com.liferay.portal.kernel.exception.SystemException;
192 }