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