1
22
23 package com.liferay.portlet.journal.service.persistence;
24
25
31 public interface JournalContentSearchPersistence {
32 public com.liferay.portlet.journal.model.JournalContentSearch create(
33 long contentSearchId);
34
35 public com.liferay.portlet.journal.model.JournalContentSearch remove(
36 long contentSearchId)
37 throws com.liferay.portal.SystemException,
38 com.liferay.portlet.journal.NoSuchContentSearchException;
39
40 public com.liferay.portlet.journal.model.JournalContentSearch remove(
41 com.liferay.portlet.journal.model.JournalContentSearch journalContentSearch)
42 throws com.liferay.portal.SystemException;
43
44 public com.liferay.portlet.journal.model.JournalContentSearch update(
45 com.liferay.portlet.journal.model.JournalContentSearch journalContentSearch)
46 throws com.liferay.portal.SystemException;
47
48 public com.liferay.portlet.journal.model.JournalContentSearch update(
49 com.liferay.portlet.journal.model.JournalContentSearch journalContentSearch,
50 boolean merge) throws com.liferay.portal.SystemException;
51
52 public com.liferay.portlet.journal.model.JournalContentSearch updateImpl(
53 com.liferay.portlet.journal.model.JournalContentSearch journalContentSearch,
54 boolean merge) throws com.liferay.portal.SystemException;
55
56 public com.liferay.portlet.journal.model.JournalContentSearch findByPrimaryKey(
57 long contentSearchId)
58 throws com.liferay.portal.SystemException,
59 com.liferay.portlet.journal.NoSuchContentSearchException;
60
61 public com.liferay.portlet.journal.model.JournalContentSearch fetchByPrimaryKey(
62 long contentSearchId) throws com.liferay.portal.SystemException;
63
64 public java.util.List findByG_P(long groupId, boolean privateLayout)
65 throws com.liferay.portal.SystemException;
66
67 public java.util.List findByG_P(long groupId, boolean privateLayout,
68 int begin, int end) throws com.liferay.portal.SystemException;
69
70 public java.util.List findByG_P(long groupId, boolean privateLayout,
71 int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
72 throws com.liferay.portal.SystemException;
73
74 public com.liferay.portlet.journal.model.JournalContentSearch findByG_P_First(
75 long groupId, boolean privateLayout,
76 com.liferay.portal.kernel.util.OrderByComparator obc)
77 throws com.liferay.portal.SystemException,
78 com.liferay.portlet.journal.NoSuchContentSearchException;
79
80 public com.liferay.portlet.journal.model.JournalContentSearch findByG_P_Last(
81 long groupId, boolean privateLayout,
82 com.liferay.portal.kernel.util.OrderByComparator obc)
83 throws com.liferay.portal.SystemException,
84 com.liferay.portlet.journal.NoSuchContentSearchException;
85
86 public com.liferay.portlet.journal.model.JournalContentSearch[] findByG_P_PrevAndNext(
87 long contentSearchId, long groupId, boolean privateLayout,
88 com.liferay.portal.kernel.util.OrderByComparator obc)
89 throws com.liferay.portal.SystemException,
90 com.liferay.portlet.journal.NoSuchContentSearchException;
91
92 public java.util.List findByG_A(long groupId, java.lang.String articleId)
93 throws com.liferay.portal.SystemException;
94
95 public java.util.List findByG_A(long groupId, java.lang.String articleId,
96 int begin, int end) throws com.liferay.portal.SystemException;
97
98 public java.util.List findByG_A(long groupId, java.lang.String articleId,
99 int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
100 throws com.liferay.portal.SystemException;
101
102 public com.liferay.portlet.journal.model.JournalContentSearch findByG_A_First(
103 long groupId, java.lang.String articleId,
104 com.liferay.portal.kernel.util.OrderByComparator obc)
105 throws com.liferay.portal.SystemException,
106 com.liferay.portlet.journal.NoSuchContentSearchException;
107
108 public com.liferay.portlet.journal.model.JournalContentSearch findByG_A_Last(
109 long groupId, java.lang.String articleId,
110 com.liferay.portal.kernel.util.OrderByComparator obc)
111 throws com.liferay.portal.SystemException,
112 com.liferay.portlet.journal.NoSuchContentSearchException;
113
114 public com.liferay.portlet.journal.model.JournalContentSearch[] findByG_A_PrevAndNext(
115 long contentSearchId, long groupId, java.lang.String articleId,
116 com.liferay.portal.kernel.util.OrderByComparator obc)
117 throws com.liferay.portal.SystemException,
118 com.liferay.portlet.journal.NoSuchContentSearchException;
119
120 public java.util.List findByG_P_L(long groupId, boolean privateLayout,
121 long layoutId) throws com.liferay.portal.SystemException;
122
123 public java.util.List findByG_P_L(long groupId, boolean privateLayout,
124 long layoutId, int begin, int end)
125 throws com.liferay.portal.SystemException;
126
127 public java.util.List findByG_P_L(long groupId, boolean privateLayout,
128 long layoutId, int begin, int end,
129 com.liferay.portal.kernel.util.OrderByComparator obc)
130 throws com.liferay.portal.SystemException;
131
132 public com.liferay.portlet.journal.model.JournalContentSearch findByG_P_L_First(
133 long groupId, boolean privateLayout, long layoutId,
134 com.liferay.portal.kernel.util.OrderByComparator obc)
135 throws com.liferay.portal.SystemException,
136 com.liferay.portlet.journal.NoSuchContentSearchException;
137
138 public com.liferay.portlet.journal.model.JournalContentSearch findByG_P_L_Last(
139 long groupId, boolean privateLayout, long layoutId,
140 com.liferay.portal.kernel.util.OrderByComparator obc)
141 throws com.liferay.portal.SystemException,
142 com.liferay.portlet.journal.NoSuchContentSearchException;
143
144 public com.liferay.portlet.journal.model.JournalContentSearch[] findByG_P_L_PrevAndNext(
145 long contentSearchId, long groupId, boolean privateLayout,
146 long layoutId, com.liferay.portal.kernel.util.OrderByComparator obc)
147 throws com.liferay.portal.SystemException,
148 com.liferay.portlet.journal.NoSuchContentSearchException;
149
150 public java.util.List findByG_P_A(long groupId, boolean privateLayout,
151 java.lang.String articleId) throws com.liferay.portal.SystemException;
152
153 public java.util.List findByG_P_A(long groupId, boolean privateLayout,
154 java.lang.String articleId, int begin, int end)
155 throws com.liferay.portal.SystemException;
156
157 public java.util.List findByG_P_A(long groupId, boolean privateLayout,
158 java.lang.String articleId, int begin, int end,
159 com.liferay.portal.kernel.util.OrderByComparator obc)
160 throws com.liferay.portal.SystemException;
161
162 public com.liferay.portlet.journal.model.JournalContentSearch findByG_P_A_First(
163 long groupId, boolean privateLayout, java.lang.String articleId,
164 com.liferay.portal.kernel.util.OrderByComparator obc)
165 throws com.liferay.portal.SystemException,
166 com.liferay.portlet.journal.NoSuchContentSearchException;
167
168 public com.liferay.portlet.journal.model.JournalContentSearch findByG_P_A_Last(
169 long groupId, boolean privateLayout, java.lang.String articleId,
170 com.liferay.portal.kernel.util.OrderByComparator obc)
171 throws com.liferay.portal.SystemException,
172 com.liferay.portlet.journal.NoSuchContentSearchException;
173
174 public com.liferay.portlet.journal.model.JournalContentSearch[] findByG_P_A_PrevAndNext(
175 long contentSearchId, long groupId, boolean privateLayout,
176 java.lang.String articleId,
177 com.liferay.portal.kernel.util.OrderByComparator obc)
178 throws com.liferay.portal.SystemException,
179 com.liferay.portlet.journal.NoSuchContentSearchException;
180
181 public java.util.List findByG_P_L_P(long groupId, boolean privateLayout,
182 long layoutId, java.lang.String portletId)
183 throws com.liferay.portal.SystemException;
184
185 public java.util.List findByG_P_L_P(long groupId, boolean privateLayout,
186 long layoutId, java.lang.String portletId, int begin, int end)
187 throws com.liferay.portal.SystemException;
188
189 public java.util.List findByG_P_L_P(long groupId, boolean privateLayout,
190 long layoutId, java.lang.String portletId, int begin, int end,
191 com.liferay.portal.kernel.util.OrderByComparator obc)
192 throws com.liferay.portal.SystemException;
193
194 public com.liferay.portlet.journal.model.JournalContentSearch findByG_P_L_P_First(
195 long groupId, boolean privateLayout, long layoutId,
196 java.lang.String portletId,
197 com.liferay.portal.kernel.util.OrderByComparator obc)
198 throws com.liferay.portal.SystemException,
199 com.liferay.portlet.journal.NoSuchContentSearchException;
200
201 public com.liferay.portlet.journal.model.JournalContentSearch findByG_P_L_P_Last(
202 long groupId, boolean privateLayout, long layoutId,
203 java.lang.String portletId,
204 com.liferay.portal.kernel.util.OrderByComparator obc)
205 throws com.liferay.portal.SystemException,
206 com.liferay.portlet.journal.NoSuchContentSearchException;
207
208 public com.liferay.portlet.journal.model.JournalContentSearch[] findByG_P_L_P_PrevAndNext(
209 long contentSearchId, long groupId, boolean privateLayout,
210 long layoutId, java.lang.String portletId,
211 com.liferay.portal.kernel.util.OrderByComparator obc)
212 throws com.liferay.portal.SystemException,
213 com.liferay.portlet.journal.NoSuchContentSearchException;
214
215 public com.liferay.portlet.journal.model.JournalContentSearch findByG_P_L_P_A(
216 long groupId, boolean privateLayout, long layoutId,
217 java.lang.String portletId, java.lang.String articleId)
218 throws com.liferay.portal.SystemException,
219 com.liferay.portlet.journal.NoSuchContentSearchException;
220
221 public com.liferay.portlet.journal.model.JournalContentSearch fetchByG_P_L_P_A(
222 long groupId, boolean privateLayout, long layoutId,
223 java.lang.String portletId, java.lang.String articleId)
224 throws com.liferay.portal.SystemException;
225
226 public java.util.List findWithDynamicQuery(
227 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
228 throws com.liferay.portal.SystemException;
229
230 public java.util.List findWithDynamicQuery(
231 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
232 int begin, int end) throws com.liferay.portal.SystemException;
233
234 public java.util.List findAll() throws com.liferay.portal.SystemException;
235
236 public java.util.List findAll(int begin, int end)
237 throws com.liferay.portal.SystemException;
238
239 public java.util.List findAll(int begin, int end,
240 com.liferay.portal.kernel.util.OrderByComparator obc)
241 throws com.liferay.portal.SystemException;
242
243 public void removeByG_P(long groupId, boolean privateLayout)
244 throws com.liferay.portal.SystemException;
245
246 public void removeByG_A(long groupId, java.lang.String articleId)
247 throws com.liferay.portal.SystemException;
248
249 public void removeByG_P_L(long groupId, boolean privateLayout, long layoutId)
250 throws com.liferay.portal.SystemException;
251
252 public void removeByG_P_A(long groupId, boolean privateLayout,
253 java.lang.String articleId) throws com.liferay.portal.SystemException;
254
255 public void removeByG_P_L_P(long groupId, boolean privateLayout,
256 long layoutId, java.lang.String portletId)
257 throws com.liferay.portal.SystemException;
258
259 public void removeByG_P_L_P_A(long groupId, boolean privateLayout,
260 long layoutId, java.lang.String portletId, java.lang.String articleId)
261 throws com.liferay.portal.SystemException,
262 com.liferay.portlet.journal.NoSuchContentSearchException;
263
264 public void removeAll() throws com.liferay.portal.SystemException;
265
266 public int countByG_P(long groupId, boolean privateLayout)
267 throws com.liferay.portal.SystemException;
268
269 public int countByG_A(long groupId, java.lang.String articleId)
270 throws com.liferay.portal.SystemException;
271
272 public int countByG_P_L(long groupId, boolean privateLayout, long layoutId)
273 throws com.liferay.portal.SystemException;
274
275 public int countByG_P_A(long groupId, boolean privateLayout,
276 java.lang.String articleId) throws com.liferay.portal.SystemException;
277
278 public int countByG_P_L_P(long groupId, boolean privateLayout,
279 long layoutId, java.lang.String portletId)
280 throws com.liferay.portal.SystemException;
281
282 public int countByG_P_L_P_A(long groupId, boolean privateLayout,
283 long layoutId, java.lang.String portletId, java.lang.String articleId)
284 throws com.liferay.portal.SystemException;
285
286 public int countAll() throws com.liferay.portal.SystemException;
287 }