1
22
23 package com.liferay.portal.service.persistence;
24
25
26
39 public interface LayoutPersistence extends BasePersistence {
40 public void cacheResult(com.liferay.portal.model.Layout layout);
41
42 public void cacheResult(
43 java.util.List<com.liferay.portal.model.Layout> layouts);
44
45 public void clearCache();
46
47 public com.liferay.portal.model.Layout create(long plid);
48
49 public com.liferay.portal.model.Layout remove(long plid)
50 throws com.liferay.portal.NoSuchLayoutException,
51 com.liferay.portal.SystemException;
52
53 public com.liferay.portal.model.Layout remove(
54 com.liferay.portal.model.Layout layout)
55 throws com.liferay.portal.SystemException;
56
57
60 public com.liferay.portal.model.Layout update(
61 com.liferay.portal.model.Layout layout)
62 throws com.liferay.portal.SystemException;
63
64
76 public com.liferay.portal.model.Layout update(
77 com.liferay.portal.model.Layout layout, boolean merge)
78 throws com.liferay.portal.SystemException;
79
80 public com.liferay.portal.model.Layout updateImpl(
81 com.liferay.portal.model.Layout layout, boolean merge)
82 throws com.liferay.portal.SystemException;
83
84 public com.liferay.portal.model.Layout findByPrimaryKey(long plid)
85 throws com.liferay.portal.NoSuchLayoutException,
86 com.liferay.portal.SystemException;
87
88 public com.liferay.portal.model.Layout fetchByPrimaryKey(long plid)
89 throws com.liferay.portal.SystemException;
90
91 public java.util.List<com.liferay.portal.model.Layout> findByGroupId(
92 long groupId) throws com.liferay.portal.SystemException;
93
94 public java.util.List<com.liferay.portal.model.Layout> findByGroupId(
95 long groupId, int start, int end)
96 throws com.liferay.portal.SystemException;
97
98 public java.util.List<com.liferay.portal.model.Layout> findByGroupId(
99 long groupId, int start, int end,
100 com.liferay.portal.kernel.util.OrderByComparator obc)
101 throws com.liferay.portal.SystemException;
102
103 public com.liferay.portal.model.Layout findByGroupId_First(long groupId,
104 com.liferay.portal.kernel.util.OrderByComparator obc)
105 throws com.liferay.portal.NoSuchLayoutException,
106 com.liferay.portal.SystemException;
107
108 public com.liferay.portal.model.Layout findByGroupId_Last(long groupId,
109 com.liferay.portal.kernel.util.OrderByComparator obc)
110 throws com.liferay.portal.NoSuchLayoutException,
111 com.liferay.portal.SystemException;
112
113 public com.liferay.portal.model.Layout[] findByGroupId_PrevAndNext(
114 long plid, long groupId,
115 com.liferay.portal.kernel.util.OrderByComparator obc)
116 throws com.liferay.portal.NoSuchLayoutException,
117 com.liferay.portal.SystemException;
118
119 public java.util.List<com.liferay.portal.model.Layout> findByCompanyId(
120 long companyId) throws com.liferay.portal.SystemException;
121
122 public java.util.List<com.liferay.portal.model.Layout> findByCompanyId(
123 long companyId, int start, int end)
124 throws com.liferay.portal.SystemException;
125
126 public java.util.List<com.liferay.portal.model.Layout> findByCompanyId(
127 long companyId, int start, int end,
128 com.liferay.portal.kernel.util.OrderByComparator obc)
129 throws com.liferay.portal.SystemException;
130
131 public com.liferay.portal.model.Layout findByCompanyId_First(
132 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
133 throws com.liferay.portal.NoSuchLayoutException,
134 com.liferay.portal.SystemException;
135
136 public com.liferay.portal.model.Layout findByCompanyId_Last(
137 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
138 throws com.liferay.portal.NoSuchLayoutException,
139 com.liferay.portal.SystemException;
140
141 public com.liferay.portal.model.Layout[] findByCompanyId_PrevAndNext(
142 long plid, long companyId,
143 com.liferay.portal.kernel.util.OrderByComparator obc)
144 throws com.liferay.portal.NoSuchLayoutException,
145 com.liferay.portal.SystemException;
146
147 public com.liferay.portal.model.Layout findByDLFolderId(long dlFolderId)
148 throws com.liferay.portal.NoSuchLayoutException,
149 com.liferay.portal.SystemException;
150
151 public com.liferay.portal.model.Layout fetchByDLFolderId(long dlFolderId)
152 throws com.liferay.portal.SystemException;
153
154 public com.liferay.portal.model.Layout fetchByDLFolderId(long dlFolderId,
155 boolean retrieveFromCache) throws com.liferay.portal.SystemException;
156
157 public com.liferay.portal.model.Layout findByIconImageId(long iconImageId)
158 throws com.liferay.portal.NoSuchLayoutException,
159 com.liferay.portal.SystemException;
160
161 public com.liferay.portal.model.Layout fetchByIconImageId(long iconImageId)
162 throws com.liferay.portal.SystemException;
163
164 public com.liferay.portal.model.Layout fetchByIconImageId(
165 long iconImageId, boolean retrieveFromCache)
166 throws com.liferay.portal.SystemException;
167
168 public java.util.List<com.liferay.portal.model.Layout> findByG_P(
169 long groupId, boolean privateLayout)
170 throws com.liferay.portal.SystemException;
171
172 public java.util.List<com.liferay.portal.model.Layout> findByG_P(
173 long groupId, boolean privateLayout, int start, int end)
174 throws com.liferay.portal.SystemException;
175
176 public java.util.List<com.liferay.portal.model.Layout> findByG_P(
177 long groupId, boolean privateLayout, int start, int end,
178 com.liferay.portal.kernel.util.OrderByComparator obc)
179 throws com.liferay.portal.SystemException;
180
181 public com.liferay.portal.model.Layout findByG_P_First(long groupId,
182 boolean privateLayout,
183 com.liferay.portal.kernel.util.OrderByComparator obc)
184 throws com.liferay.portal.NoSuchLayoutException,
185 com.liferay.portal.SystemException;
186
187 public com.liferay.portal.model.Layout findByG_P_Last(long groupId,
188 boolean privateLayout,
189 com.liferay.portal.kernel.util.OrderByComparator obc)
190 throws com.liferay.portal.NoSuchLayoutException,
191 com.liferay.portal.SystemException;
192
193 public com.liferay.portal.model.Layout[] findByG_P_PrevAndNext(long plid,
194 long groupId, boolean privateLayout,
195 com.liferay.portal.kernel.util.OrderByComparator obc)
196 throws com.liferay.portal.NoSuchLayoutException,
197 com.liferay.portal.SystemException;
198
199 public com.liferay.portal.model.Layout findByG_P_L(long groupId,
200 boolean privateLayout, long layoutId)
201 throws com.liferay.portal.NoSuchLayoutException,
202 com.liferay.portal.SystemException;
203
204 public com.liferay.portal.model.Layout fetchByG_P_L(long groupId,
205 boolean privateLayout, long layoutId)
206 throws com.liferay.portal.SystemException;
207
208 public com.liferay.portal.model.Layout fetchByG_P_L(long groupId,
209 boolean privateLayout, long layoutId, boolean retrieveFromCache)
210 throws com.liferay.portal.SystemException;
211
212 public java.util.List<com.liferay.portal.model.Layout> findByG_P_P(
213 long groupId, boolean privateLayout, long parentLayoutId)
214 throws com.liferay.portal.SystemException;
215
216 public java.util.List<com.liferay.portal.model.Layout> findByG_P_P(
217 long groupId, boolean privateLayout, long parentLayoutId, int start,
218 int end) throws com.liferay.portal.SystemException;
219
220 public java.util.List<com.liferay.portal.model.Layout> findByG_P_P(
221 long groupId, boolean privateLayout, long parentLayoutId, int start,
222 int end, com.liferay.portal.kernel.util.OrderByComparator obc)
223 throws com.liferay.portal.SystemException;
224
225 public com.liferay.portal.model.Layout findByG_P_P_First(long groupId,
226 boolean privateLayout, long parentLayoutId,
227 com.liferay.portal.kernel.util.OrderByComparator obc)
228 throws com.liferay.portal.NoSuchLayoutException,
229 com.liferay.portal.SystemException;
230
231 public com.liferay.portal.model.Layout findByG_P_P_Last(long groupId,
232 boolean privateLayout, long parentLayoutId,
233 com.liferay.portal.kernel.util.OrderByComparator obc)
234 throws com.liferay.portal.NoSuchLayoutException,
235 com.liferay.portal.SystemException;
236
237 public com.liferay.portal.model.Layout[] findByG_P_P_PrevAndNext(
238 long plid, long groupId, boolean privateLayout, long parentLayoutId,
239 com.liferay.portal.kernel.util.OrderByComparator obc)
240 throws com.liferay.portal.NoSuchLayoutException,
241 com.liferay.portal.SystemException;
242
243 public com.liferay.portal.model.Layout findByG_P_F(long groupId,
244 boolean privateLayout, java.lang.String friendlyURL)
245 throws com.liferay.portal.NoSuchLayoutException,
246 com.liferay.portal.SystemException;
247
248 public com.liferay.portal.model.Layout fetchByG_P_F(long groupId,
249 boolean privateLayout, java.lang.String friendlyURL)
250 throws com.liferay.portal.SystemException;
251
252 public com.liferay.portal.model.Layout fetchByG_P_F(long groupId,
253 boolean privateLayout, java.lang.String friendlyURL,
254 boolean retrieveFromCache) throws com.liferay.portal.SystemException;
255
256 public java.util.List<com.liferay.portal.model.Layout> findByG_P_T(
257 long groupId, boolean privateLayout, java.lang.String type)
258 throws com.liferay.portal.SystemException;
259
260 public java.util.List<com.liferay.portal.model.Layout> findByG_P_T(
261 long groupId, boolean privateLayout, java.lang.String type, int start,
262 int end) throws com.liferay.portal.SystemException;
263
264 public java.util.List<com.liferay.portal.model.Layout> findByG_P_T(
265 long groupId, boolean privateLayout, java.lang.String type, int start,
266 int end, com.liferay.portal.kernel.util.OrderByComparator obc)
267 throws com.liferay.portal.SystemException;
268
269 public com.liferay.portal.model.Layout findByG_P_T_First(long groupId,
270 boolean privateLayout, java.lang.String type,
271 com.liferay.portal.kernel.util.OrderByComparator obc)
272 throws com.liferay.portal.NoSuchLayoutException,
273 com.liferay.portal.SystemException;
274
275 public com.liferay.portal.model.Layout findByG_P_T_Last(long groupId,
276 boolean privateLayout, java.lang.String type,
277 com.liferay.portal.kernel.util.OrderByComparator obc)
278 throws com.liferay.portal.NoSuchLayoutException,
279 com.liferay.portal.SystemException;
280
281 public com.liferay.portal.model.Layout[] findByG_P_T_PrevAndNext(
282 long plid, long groupId, boolean privateLayout, java.lang.String type,
283 com.liferay.portal.kernel.util.OrderByComparator obc)
284 throws com.liferay.portal.NoSuchLayoutException,
285 com.liferay.portal.SystemException;
286
287 public java.util.List<Object> findWithDynamicQuery(
288 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
289 throws com.liferay.portal.SystemException;
290
291 public java.util.List<Object> findWithDynamicQuery(
292 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
293 int end) throws com.liferay.portal.SystemException;
294
295 public java.util.List<com.liferay.portal.model.Layout> findAll()
296 throws com.liferay.portal.SystemException;
297
298 public java.util.List<com.liferay.portal.model.Layout> findAll(int start,
299 int end) throws com.liferay.portal.SystemException;
300
301 public java.util.List<com.liferay.portal.model.Layout> findAll(int start,
302 int end, com.liferay.portal.kernel.util.OrderByComparator obc)
303 throws com.liferay.portal.SystemException;
304
305 public void removeByGroupId(long groupId)
306 throws com.liferay.portal.SystemException;
307
308 public void removeByCompanyId(long companyId)
309 throws com.liferay.portal.SystemException;
310
311 public void removeByDLFolderId(long dlFolderId)
312 throws com.liferay.portal.NoSuchLayoutException,
313 com.liferay.portal.SystemException;
314
315 public void removeByIconImageId(long iconImageId)
316 throws com.liferay.portal.NoSuchLayoutException,
317 com.liferay.portal.SystemException;
318
319 public void removeByG_P(long groupId, boolean privateLayout)
320 throws com.liferay.portal.SystemException;
321
322 public void removeByG_P_L(long groupId, boolean privateLayout, long layoutId)
323 throws com.liferay.portal.NoSuchLayoutException,
324 com.liferay.portal.SystemException;
325
326 public void removeByG_P_P(long groupId, boolean privateLayout,
327 long parentLayoutId) throws com.liferay.portal.SystemException;
328
329 public void removeByG_P_F(long groupId, boolean privateLayout,
330 java.lang.String friendlyURL)
331 throws com.liferay.portal.NoSuchLayoutException,
332 com.liferay.portal.SystemException;
333
334 public void removeByG_P_T(long groupId, boolean privateLayout,
335 java.lang.String type) throws com.liferay.portal.SystemException;
336
337 public void removeAll() throws com.liferay.portal.SystemException;
338
339 public int countByGroupId(long groupId)
340 throws com.liferay.portal.SystemException;
341
342 public int countByCompanyId(long companyId)
343 throws com.liferay.portal.SystemException;
344
345 public int countByDLFolderId(long dlFolderId)
346 throws com.liferay.portal.SystemException;
347
348 public int countByIconImageId(long iconImageId)
349 throws com.liferay.portal.SystemException;
350
351 public int countByG_P(long groupId, boolean privateLayout)
352 throws com.liferay.portal.SystemException;
353
354 public int countByG_P_L(long groupId, boolean privateLayout, long layoutId)
355 throws com.liferay.portal.SystemException;
356
357 public int countByG_P_P(long groupId, boolean privateLayout,
358 long parentLayoutId) throws com.liferay.portal.SystemException;
359
360 public int countByG_P_F(long groupId, boolean privateLayout,
361 java.lang.String friendlyURL) throws com.liferay.portal.SystemException;
362
363 public int countByG_P_T(long groupId, boolean privateLayout,
364 java.lang.String type) throws com.liferay.portal.SystemException;
365
366 public int countAll() throws com.liferay.portal.SystemException;
367 }