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