001
014
015 package com.liferay.portal.service.persistence;
016
017 import com.liferay.portal.model.Layout;
018
019
025 public interface LayoutPersistence extends BasePersistence<Layout> {
026 public void cacheResult(com.liferay.portal.model.Layout layout);
027
028 public void cacheResult(
029 java.util.List<com.liferay.portal.model.Layout> layouts);
030
031 public com.liferay.portal.model.Layout create(long plid);
032
033 public com.liferay.portal.model.Layout remove(long plid)
034 throws com.liferay.portal.NoSuchLayoutException,
035 com.liferay.portal.kernel.exception.SystemException;
036
037 public com.liferay.portal.model.Layout updateImpl(
038 com.liferay.portal.model.Layout layout, boolean merge)
039 throws com.liferay.portal.kernel.exception.SystemException;
040
041 public com.liferay.portal.model.Layout findByPrimaryKey(long plid)
042 throws com.liferay.portal.NoSuchLayoutException,
043 com.liferay.portal.kernel.exception.SystemException;
044
045 public com.liferay.portal.model.Layout fetchByPrimaryKey(long plid)
046 throws com.liferay.portal.kernel.exception.SystemException;
047
048 public java.util.List<com.liferay.portal.model.Layout> findByUuid(
049 java.lang.String uuid)
050 throws com.liferay.portal.kernel.exception.SystemException;
051
052 public java.util.List<com.liferay.portal.model.Layout> findByUuid(
053 java.lang.String uuid, int start, int end)
054 throws com.liferay.portal.kernel.exception.SystemException;
055
056 public java.util.List<com.liferay.portal.model.Layout> findByUuid(
057 java.lang.String uuid, int start, int end,
058 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
059 throws com.liferay.portal.kernel.exception.SystemException;
060
061 public com.liferay.portal.model.Layout findByUuid_First(
062 java.lang.String uuid,
063 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
064 throws com.liferay.portal.NoSuchLayoutException,
065 com.liferay.portal.kernel.exception.SystemException;
066
067 public com.liferay.portal.model.Layout findByUuid_Last(
068 java.lang.String uuid,
069 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
070 throws com.liferay.portal.NoSuchLayoutException,
071 com.liferay.portal.kernel.exception.SystemException;
072
073 public com.liferay.portal.model.Layout[] findByUuid_PrevAndNext(long plid,
074 java.lang.String uuid,
075 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
076 throws com.liferay.portal.NoSuchLayoutException,
077 com.liferay.portal.kernel.exception.SystemException;
078
079 public com.liferay.portal.model.Layout findByUUID_G(java.lang.String uuid,
080 long groupId)
081 throws com.liferay.portal.NoSuchLayoutException,
082 com.liferay.portal.kernel.exception.SystemException;
083
084 public com.liferay.portal.model.Layout fetchByUUID_G(
085 java.lang.String uuid, long groupId)
086 throws com.liferay.portal.kernel.exception.SystemException;
087
088 public com.liferay.portal.model.Layout fetchByUUID_G(
089 java.lang.String uuid, long groupId, boolean retrieveFromCache)
090 throws com.liferay.portal.kernel.exception.SystemException;
091
092 public java.util.List<com.liferay.portal.model.Layout> findByGroupId(
093 long groupId)
094 throws com.liferay.portal.kernel.exception.SystemException;
095
096 public java.util.List<com.liferay.portal.model.Layout> findByGroupId(
097 long groupId, int start, int end)
098 throws com.liferay.portal.kernel.exception.SystemException;
099
100 public java.util.List<com.liferay.portal.model.Layout> findByGroupId(
101 long groupId, int start, int end,
102 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
103 throws com.liferay.portal.kernel.exception.SystemException;
104
105 public com.liferay.portal.model.Layout findByGroupId_First(long groupId,
106 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
107 throws com.liferay.portal.NoSuchLayoutException,
108 com.liferay.portal.kernel.exception.SystemException;
109
110 public com.liferay.portal.model.Layout findByGroupId_Last(long groupId,
111 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
112 throws com.liferay.portal.NoSuchLayoutException,
113 com.liferay.portal.kernel.exception.SystemException;
114
115 public com.liferay.portal.model.Layout[] findByGroupId_PrevAndNext(
116 long plid, long groupId,
117 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
118 throws com.liferay.portal.NoSuchLayoutException,
119 com.liferay.portal.kernel.exception.SystemException;
120
121 public java.util.List<com.liferay.portal.model.Layout> findByCompanyId(
122 long companyId)
123 throws com.liferay.portal.kernel.exception.SystemException;
124
125 public java.util.List<com.liferay.portal.model.Layout> findByCompanyId(
126 long companyId, int start, int end)
127 throws com.liferay.portal.kernel.exception.SystemException;
128
129 public java.util.List<com.liferay.portal.model.Layout> findByCompanyId(
130 long companyId, int start, int end,
131 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
132 throws com.liferay.portal.kernel.exception.SystemException;
133
134 public com.liferay.portal.model.Layout findByCompanyId_First(
135 long companyId,
136 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
137 throws com.liferay.portal.NoSuchLayoutException,
138 com.liferay.portal.kernel.exception.SystemException;
139
140 public com.liferay.portal.model.Layout findByCompanyId_Last(
141 long companyId,
142 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
143 throws com.liferay.portal.NoSuchLayoutException,
144 com.liferay.portal.kernel.exception.SystemException;
145
146 public com.liferay.portal.model.Layout[] findByCompanyId_PrevAndNext(
147 long plid, long companyId,
148 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
149 throws com.liferay.portal.NoSuchLayoutException,
150 com.liferay.portal.kernel.exception.SystemException;
151
152 public com.liferay.portal.model.Layout findByDLFolderId(long dlFolderId)
153 throws com.liferay.portal.NoSuchLayoutException,
154 com.liferay.portal.kernel.exception.SystemException;
155
156 public com.liferay.portal.model.Layout fetchByDLFolderId(long dlFolderId)
157 throws com.liferay.portal.kernel.exception.SystemException;
158
159 public com.liferay.portal.model.Layout fetchByDLFolderId(long dlFolderId,
160 boolean retrieveFromCache)
161 throws com.liferay.portal.kernel.exception.SystemException;
162
163 public com.liferay.portal.model.Layout findByIconImageId(long iconImageId)
164 throws com.liferay.portal.NoSuchLayoutException,
165 com.liferay.portal.kernel.exception.SystemException;
166
167 public com.liferay.portal.model.Layout fetchByIconImageId(long iconImageId)
168 throws com.liferay.portal.kernel.exception.SystemException;
169
170 public com.liferay.portal.model.Layout fetchByIconImageId(
171 long iconImageId, boolean retrieveFromCache)
172 throws com.liferay.portal.kernel.exception.SystemException;
173
174 public java.util.List<com.liferay.portal.model.Layout> findByG_P(
175 long groupId, boolean privateLayout)
176 throws com.liferay.portal.kernel.exception.SystemException;
177
178 public java.util.List<com.liferay.portal.model.Layout> findByG_P(
179 long groupId, boolean privateLayout, int start, int end)
180 throws com.liferay.portal.kernel.exception.SystemException;
181
182 public java.util.List<com.liferay.portal.model.Layout> findByG_P(
183 long groupId, boolean privateLayout, int start, int end,
184 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
185 throws com.liferay.portal.kernel.exception.SystemException;
186
187 public com.liferay.portal.model.Layout findByG_P_First(long groupId,
188 boolean privateLayout,
189 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
190 throws com.liferay.portal.NoSuchLayoutException,
191 com.liferay.portal.kernel.exception.SystemException;
192
193 public com.liferay.portal.model.Layout findByG_P_Last(long groupId,
194 boolean privateLayout,
195 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
196 throws com.liferay.portal.NoSuchLayoutException,
197 com.liferay.portal.kernel.exception.SystemException;
198
199 public com.liferay.portal.model.Layout[] findByG_P_PrevAndNext(long plid,
200 long groupId, boolean privateLayout,
201 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
202 throws com.liferay.portal.NoSuchLayoutException,
203 com.liferay.portal.kernel.exception.SystemException;
204
205 public com.liferay.portal.model.Layout findByG_P_L(long groupId,
206 boolean privateLayout, long layoutId)
207 throws com.liferay.portal.NoSuchLayoutException,
208 com.liferay.portal.kernel.exception.SystemException;
209
210 public com.liferay.portal.model.Layout fetchByG_P_L(long groupId,
211 boolean privateLayout, long layoutId)
212 throws com.liferay.portal.kernel.exception.SystemException;
213
214 public com.liferay.portal.model.Layout fetchByG_P_L(long groupId,
215 boolean privateLayout, long layoutId, boolean retrieveFromCache)
216 throws com.liferay.portal.kernel.exception.SystemException;
217
218 public java.util.List<com.liferay.portal.model.Layout> findByG_P_P(
219 long groupId, boolean privateLayout, long parentLayoutId)
220 throws com.liferay.portal.kernel.exception.SystemException;
221
222 public java.util.List<com.liferay.portal.model.Layout> findByG_P_P(
223 long groupId, boolean privateLayout, long parentLayoutId, int start,
224 int end) throws com.liferay.portal.kernel.exception.SystemException;
225
226 public java.util.List<com.liferay.portal.model.Layout> findByG_P_P(
227 long groupId, boolean privateLayout, long parentLayoutId, int start,
228 int end,
229 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
230 throws com.liferay.portal.kernel.exception.SystemException;
231
232 public com.liferay.portal.model.Layout findByG_P_P_First(long groupId,
233 boolean privateLayout, long parentLayoutId,
234 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
235 throws com.liferay.portal.NoSuchLayoutException,
236 com.liferay.portal.kernel.exception.SystemException;
237
238 public com.liferay.portal.model.Layout findByG_P_P_Last(long groupId,
239 boolean privateLayout, long parentLayoutId,
240 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
241 throws com.liferay.portal.NoSuchLayoutException,
242 com.liferay.portal.kernel.exception.SystemException;
243
244 public com.liferay.portal.model.Layout[] findByG_P_P_PrevAndNext(
245 long plid, long groupId, boolean privateLayout, long parentLayoutId,
246 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
247 throws com.liferay.portal.NoSuchLayoutException,
248 com.liferay.portal.kernel.exception.SystemException;
249
250 public com.liferay.portal.model.Layout findByG_P_F(long groupId,
251 boolean privateLayout, java.lang.String friendlyURL)
252 throws com.liferay.portal.NoSuchLayoutException,
253 com.liferay.portal.kernel.exception.SystemException;
254
255 public com.liferay.portal.model.Layout fetchByG_P_F(long groupId,
256 boolean privateLayout, java.lang.String friendlyURL)
257 throws com.liferay.portal.kernel.exception.SystemException;
258
259 public com.liferay.portal.model.Layout fetchByG_P_F(long groupId,
260 boolean privateLayout, java.lang.String friendlyURL,
261 boolean retrieveFromCache)
262 throws com.liferay.portal.kernel.exception.SystemException;
263
264 public java.util.List<com.liferay.portal.model.Layout> findByG_P_T(
265 long groupId, boolean privateLayout, java.lang.String type)
266 throws com.liferay.portal.kernel.exception.SystemException;
267
268 public java.util.List<com.liferay.portal.model.Layout> findByG_P_T(
269 long groupId, boolean privateLayout, java.lang.String type, int start,
270 int end) throws com.liferay.portal.kernel.exception.SystemException;
271
272 public java.util.List<com.liferay.portal.model.Layout> findByG_P_T(
273 long groupId, boolean privateLayout, java.lang.String type, int start,
274 int end,
275 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
276 throws com.liferay.portal.kernel.exception.SystemException;
277
278 public com.liferay.portal.model.Layout findByG_P_T_First(long groupId,
279 boolean privateLayout, java.lang.String type,
280 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
281 throws com.liferay.portal.NoSuchLayoutException,
282 com.liferay.portal.kernel.exception.SystemException;
283
284 public com.liferay.portal.model.Layout findByG_P_T_Last(long groupId,
285 boolean privateLayout, java.lang.String type,
286 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
287 throws com.liferay.portal.NoSuchLayoutException,
288 com.liferay.portal.kernel.exception.SystemException;
289
290 public com.liferay.portal.model.Layout[] findByG_P_T_PrevAndNext(
291 long plid, long groupId, boolean privateLayout, java.lang.String type,
292 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
293 throws com.liferay.portal.NoSuchLayoutException,
294 com.liferay.portal.kernel.exception.SystemException;
295
296 public java.util.List<com.liferay.portal.model.Layout> findAll()
297 throws com.liferay.portal.kernel.exception.SystemException;
298
299 public java.util.List<com.liferay.portal.model.Layout> findAll(int start,
300 int end) throws com.liferay.portal.kernel.exception.SystemException;
301
302 public java.util.List<com.liferay.portal.model.Layout> findAll(int start,
303 int end,
304 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
305 throws com.liferay.portal.kernel.exception.SystemException;
306
307 public void removeByUuid(java.lang.String uuid)
308 throws com.liferay.portal.kernel.exception.SystemException;
309
310 public void removeByUUID_G(java.lang.String uuid, long groupId)
311 throws com.liferay.portal.NoSuchLayoutException,
312 com.liferay.portal.kernel.exception.SystemException;
313
314 public void removeByGroupId(long groupId)
315 throws com.liferay.portal.kernel.exception.SystemException;
316
317 public void removeByCompanyId(long companyId)
318 throws com.liferay.portal.kernel.exception.SystemException;
319
320 public void removeByDLFolderId(long dlFolderId)
321 throws com.liferay.portal.NoSuchLayoutException,
322 com.liferay.portal.kernel.exception.SystemException;
323
324 public void removeByIconImageId(long iconImageId)
325 throws com.liferay.portal.NoSuchLayoutException,
326 com.liferay.portal.kernel.exception.SystemException;
327
328 public void removeByG_P(long groupId, boolean privateLayout)
329 throws com.liferay.portal.kernel.exception.SystemException;
330
331 public void removeByG_P_L(long groupId, boolean privateLayout, long layoutId)
332 throws com.liferay.portal.NoSuchLayoutException,
333 com.liferay.portal.kernel.exception.SystemException;
334
335 public void removeByG_P_P(long groupId, boolean privateLayout,
336 long parentLayoutId)
337 throws com.liferay.portal.kernel.exception.SystemException;
338
339 public void removeByG_P_F(long groupId, boolean privateLayout,
340 java.lang.String friendlyURL)
341 throws com.liferay.portal.NoSuchLayoutException,
342 com.liferay.portal.kernel.exception.SystemException;
343
344 public void removeByG_P_T(long groupId, boolean privateLayout,
345 java.lang.String type)
346 throws com.liferay.portal.kernel.exception.SystemException;
347
348 public void removeAll()
349 throws com.liferay.portal.kernel.exception.SystemException;
350
351 public int countByUuid(java.lang.String uuid)
352 throws com.liferay.portal.kernel.exception.SystemException;
353
354 public int countByUUID_G(java.lang.String uuid, long groupId)
355 throws com.liferay.portal.kernel.exception.SystemException;
356
357 public int countByGroupId(long groupId)
358 throws com.liferay.portal.kernel.exception.SystemException;
359
360 public int countByCompanyId(long companyId)
361 throws com.liferay.portal.kernel.exception.SystemException;
362
363 public int countByDLFolderId(long dlFolderId)
364 throws com.liferay.portal.kernel.exception.SystemException;
365
366 public int countByIconImageId(long iconImageId)
367 throws com.liferay.portal.kernel.exception.SystemException;
368
369 public int countByG_P(long groupId, boolean privateLayout)
370 throws com.liferay.portal.kernel.exception.SystemException;
371
372 public int countByG_P_L(long groupId, boolean privateLayout, long layoutId)
373 throws com.liferay.portal.kernel.exception.SystemException;
374
375 public int countByG_P_P(long groupId, boolean privateLayout,
376 long parentLayoutId)
377 throws com.liferay.portal.kernel.exception.SystemException;
378
379 public int countByG_P_F(long groupId, boolean privateLayout,
380 java.lang.String friendlyURL)
381 throws com.liferay.portal.kernel.exception.SystemException;
382
383 public int countByG_P_T(long groupId, boolean privateLayout,
384 java.lang.String type)
385 throws com.liferay.portal.kernel.exception.SystemException;
386
387 public int countAll()
388 throws com.liferay.portal.kernel.exception.SystemException;
389 }