1
14
15 package com.liferay.portal.service;
16
17
18
34 public class LayoutLocalServiceWrapper implements LayoutLocalService {
35 public LayoutLocalServiceWrapper(LayoutLocalService layoutLocalService) {
36 _layoutLocalService = layoutLocalService;
37 }
38
39 public com.liferay.portal.model.Layout addLayout(
40 com.liferay.portal.model.Layout layout)
41 throws com.liferay.portal.SystemException {
42 return _layoutLocalService.addLayout(layout);
43 }
44
45 public com.liferay.portal.model.Layout createLayout(long plid) {
46 return _layoutLocalService.createLayout(plid);
47 }
48
49 public void deleteLayout(long plid)
50 throws com.liferay.portal.PortalException,
51 com.liferay.portal.SystemException {
52 _layoutLocalService.deleteLayout(plid);
53 }
54
55 public void deleteLayout(com.liferay.portal.model.Layout layout)
56 throws com.liferay.portal.SystemException {
57 _layoutLocalService.deleteLayout(layout);
58 }
59
60 public java.util.List<Object> dynamicQuery(
61 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
62 throws com.liferay.portal.SystemException {
63 return _layoutLocalService.dynamicQuery(dynamicQuery);
64 }
65
66 public java.util.List<Object> dynamicQuery(
67 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
68 int end) throws com.liferay.portal.SystemException {
69 return _layoutLocalService.dynamicQuery(dynamicQuery, start, end);
70 }
71
72 public java.util.List<Object> dynamicQuery(
73 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
74 int end,
75 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
76 throws com.liferay.portal.SystemException {
77 return _layoutLocalService.dynamicQuery(dynamicQuery, start, end,
78 orderByComparator);
79 }
80
81 public int dynamicQueryCount(
82 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
83 throws com.liferay.portal.SystemException {
84 return _layoutLocalService.dynamicQueryCount(dynamicQuery);
85 }
86
87 public com.liferay.portal.model.Layout getLayout(long plid)
88 throws com.liferay.portal.PortalException,
89 com.liferay.portal.SystemException {
90 return _layoutLocalService.getLayout(plid);
91 }
92
93 public java.util.List<com.liferay.portal.model.Layout> getLayouts(
94 int start, int end) throws com.liferay.portal.SystemException {
95 return _layoutLocalService.getLayouts(start, end);
96 }
97
98 public int getLayoutsCount() throws com.liferay.portal.SystemException {
99 return _layoutLocalService.getLayoutsCount();
100 }
101
102 public com.liferay.portal.model.Layout updateLayout(
103 com.liferay.portal.model.Layout layout)
104 throws com.liferay.portal.SystemException {
105 return _layoutLocalService.updateLayout(layout);
106 }
107
108 public com.liferay.portal.model.Layout updateLayout(
109 com.liferay.portal.model.Layout layout, boolean merge)
110 throws com.liferay.portal.SystemException {
111 return _layoutLocalService.updateLayout(layout, merge);
112 }
113
114 public com.liferay.portal.model.Layout addLayout(long userId, long groupId,
115 boolean privateLayout, long parentLayoutId,
116 java.util.Map<java.util.Locale, String> localeNamesMap,
117 java.util.Map<java.util.Locale, String> localeTitlesMap,
118 java.lang.String description, java.lang.String type, boolean hidden,
119 java.lang.String friendlyURL)
120 throws com.liferay.portal.PortalException,
121 com.liferay.portal.SystemException {
122 return _layoutLocalService.addLayout(userId, groupId, privateLayout,
123 parentLayoutId, localeNamesMap, localeTitlesMap, description, type,
124 hidden, friendlyURL);
125 }
126
127 public com.liferay.portal.model.Layout addLayout(long userId, long groupId,
128 boolean privateLayout, long parentLayoutId,
129 java.util.Map<java.util.Locale, String> localeNamesMap,
130 java.util.Map<java.util.Locale, String> localeTitlesMap,
131 java.lang.String description, java.lang.String type, boolean hidden,
132 java.lang.String friendlyURL, long dlFolderId)
133 throws com.liferay.portal.PortalException,
134 com.liferay.portal.SystemException {
135 return _layoutLocalService.addLayout(userId, groupId, privateLayout,
136 parentLayoutId, localeNamesMap, localeTitlesMap, description, type,
137 hidden, friendlyURL, dlFolderId);
138 }
139
140 public com.liferay.portal.model.Layout addLayout(long userId, long groupId,
141 boolean privateLayout, long parentLayoutId, java.lang.String name,
142 java.lang.String title, java.lang.String description,
143 java.lang.String type, boolean hidden, java.lang.String friendlyURL)
144 throws com.liferay.portal.PortalException,
145 com.liferay.portal.SystemException {
146 return _layoutLocalService.addLayout(userId, groupId, privateLayout,
147 parentLayoutId, name, title, description, type, hidden, friendlyURL);
148 }
149
150 public com.liferay.portal.model.Layout addLayout(long userId, long groupId,
151 boolean privateLayout, long parentLayoutId, java.lang.String name,
152 java.lang.String title, java.lang.String description,
153 java.lang.String type, boolean hidden, java.lang.String friendlyURL,
154 long dlFolderId)
155 throws com.liferay.portal.PortalException,
156 com.liferay.portal.SystemException {
157 return _layoutLocalService.addLayout(userId, groupId, privateLayout,
158 parentLayoutId, name, title, description, type, hidden,
159 friendlyURL, dlFolderId);
160 }
161
162 public void deleteLayout(com.liferay.portal.model.Layout layout,
163 boolean updateLayoutSet)
164 throws com.liferay.portal.PortalException,
165 com.liferay.portal.SystemException {
166 _layoutLocalService.deleteLayout(layout, updateLayoutSet);
167 }
168
169 public void deleteLayout(long groupId, boolean privateLayout, long layoutId)
170 throws com.liferay.portal.PortalException,
171 com.liferay.portal.SystemException {
172 _layoutLocalService.deleteLayout(groupId, privateLayout, layoutId);
173 }
174
175 public void deleteLayouts(long groupId, boolean privateLayout)
176 throws com.liferay.portal.PortalException,
177 com.liferay.portal.SystemException {
178 _layoutLocalService.deleteLayouts(groupId, privateLayout);
179 }
180
181 public byte[] exportLayouts(long groupId, boolean privateLayout,
182 long[] layoutIds, java.util.Map<String, String[]> parameterMap,
183 java.util.Date startDate, java.util.Date endDate)
184 throws com.liferay.portal.PortalException,
185 com.liferay.portal.SystemException {
186 return _layoutLocalService.exportLayouts(groupId, privateLayout,
187 layoutIds, parameterMap, startDate, endDate);
188 }
189
190 public byte[] exportLayouts(long groupId, boolean privateLayout,
191 java.util.Map<String, String[]> parameterMap, java.util.Date startDate,
192 java.util.Date endDate)
193 throws com.liferay.portal.PortalException,
194 com.liferay.portal.SystemException {
195 return _layoutLocalService.exportLayouts(groupId, privateLayout,
196 parameterMap, startDate, endDate);
197 }
198
199 public java.io.File exportLayoutsAsFile(long groupId,
200 boolean privateLayout, long[] layoutIds,
201 java.util.Map<String, String[]> parameterMap, java.util.Date startDate,
202 java.util.Date endDate)
203 throws com.liferay.portal.PortalException,
204 com.liferay.portal.SystemException {
205 return _layoutLocalService.exportLayoutsAsFile(groupId, privateLayout,
206 layoutIds, parameterMap, startDate, endDate);
207 }
208
209 public byte[] exportPortletInfo(long plid, long groupId,
210 java.lang.String portletId,
211 java.util.Map<String, String[]> parameterMap, java.util.Date startDate,
212 java.util.Date endDate)
213 throws com.liferay.portal.PortalException,
214 com.liferay.portal.SystemException {
215 return _layoutLocalService.exportPortletInfo(plid, groupId, portletId,
216 parameterMap, startDate, endDate);
217 }
218
219 public java.io.File exportPortletInfoAsFile(long plid, long groupId,
220 java.lang.String portletId,
221 java.util.Map<String, String[]> parameterMap, java.util.Date startDate,
222 java.util.Date endDate)
223 throws com.liferay.portal.PortalException,
224 com.liferay.portal.SystemException {
225 return _layoutLocalService.exportPortletInfoAsFile(plid, groupId,
226 portletId, parameterMap, startDate, endDate);
227 }
228
229 public long getDefaultPlid(long groupId)
230 throws com.liferay.portal.SystemException {
231 return _layoutLocalService.getDefaultPlid(groupId);
232 }
233
234 public long getDefaultPlid(long groupId, boolean privateLayout)
235 throws com.liferay.portal.SystemException {
236 return _layoutLocalService.getDefaultPlid(groupId, privateLayout);
237 }
238
239 public long getDefaultPlid(long groupId, boolean privateLayout,
240 java.lang.String portletId) throws com.liferay.portal.SystemException {
241 return _layoutLocalService.getDefaultPlid(groupId, privateLayout,
242 portletId);
243 }
244
245 public com.liferay.portal.model.Layout getDLFolderLayout(long dlFolderId)
246 throws com.liferay.portal.PortalException,
247 com.liferay.portal.SystemException {
248 return _layoutLocalService.getDLFolderLayout(dlFolderId);
249 }
250
251 public com.liferay.portal.model.Layout getFriendlyURLLayout(long groupId,
252 boolean privateLayout, java.lang.String friendlyURL)
253 throws com.liferay.portal.PortalException,
254 com.liferay.portal.SystemException {
255 return _layoutLocalService.getFriendlyURLLayout(groupId, privateLayout,
256 friendlyURL);
257 }
258
259 public com.liferay.portal.model.Layout getLayout(long groupId,
260 boolean privateLayout, long layoutId)
261 throws com.liferay.portal.PortalException,
262 com.liferay.portal.SystemException {
263 return _layoutLocalService.getLayout(groupId, privateLayout, layoutId);
264 }
265
266 public com.liferay.portal.model.Layout getLayoutByIconImageId(
267 long iconImageId)
268 throws com.liferay.portal.PortalException,
269 com.liferay.portal.SystemException {
270 return _layoutLocalService.getLayoutByIconImageId(iconImageId);
271 }
272
273 public java.util.List<com.liferay.portal.model.Layout> getLayouts(
274 long groupId, boolean privateLayout)
275 throws com.liferay.portal.SystemException {
276 return _layoutLocalService.getLayouts(groupId, privateLayout);
277 }
278
279 public java.util.List<com.liferay.portal.model.Layout> getLayouts(
280 long groupId, boolean privateLayout, long parentLayoutId)
281 throws com.liferay.portal.SystemException {
282 return _layoutLocalService.getLayouts(groupId, privateLayout,
283 parentLayoutId);
284 }
285
286 public java.util.List<com.liferay.portal.model.Layout> getLayouts(
287 long groupId, boolean privateLayout, long parentLayoutId, int start,
288 int end) throws com.liferay.portal.SystemException {
289 return _layoutLocalService.getLayouts(groupId, privateLayout,
290 parentLayoutId, start, end);
291 }
292
293 public java.util.List<com.liferay.portal.model.Layout> getLayouts(
294 long groupId, boolean privateLayout, long[] layoutIds)
295 throws com.liferay.portal.PortalException,
296 com.liferay.portal.SystemException {
297 return _layoutLocalService.getLayouts(groupId, privateLayout, layoutIds);
298 }
299
300 public java.util.List<com.liferay.portal.model.Layout> getLayouts(
301 long groupId, boolean privateLayout, java.lang.String type)
302 throws com.liferay.portal.SystemException {
303 return _layoutLocalService.getLayouts(groupId, privateLayout, type);
304 }
305
306 public com.liferay.portal.model.LayoutReference[] getLayouts(
307 long companyId, java.lang.String portletId,
308 java.lang.String preferencesKey, java.lang.String preferencesValue)
309 throws com.liferay.portal.SystemException {
310 return _layoutLocalService.getLayouts(companyId, portletId,
311 preferencesKey, preferencesValue);
312 }
313
314 public long getNextLayoutId(long groupId, boolean privateLayout)
315 throws com.liferay.portal.SystemException {
316 return _layoutLocalService.getNextLayoutId(groupId, privateLayout);
317 }
318
319 public java.util.List<com.liferay.portal.model.Layout> getNullFriendlyURLLayouts()
320 throws com.liferay.portal.SystemException {
321 return _layoutLocalService.getNullFriendlyURLLayouts();
322 }
323
324 public void importLayouts(long userId, long groupId, boolean privateLayout,
325 java.util.Map<String, String[]> parameterMap, byte[] bytes)
326 throws com.liferay.portal.PortalException,
327 com.liferay.portal.SystemException {
328 _layoutLocalService.importLayouts(userId, groupId, privateLayout,
329 parameterMap, bytes);
330 }
331
332 public void importLayouts(long userId, long groupId, boolean privateLayout,
333 java.util.Map<String, String[]> parameterMap, java.io.File file)
334 throws com.liferay.portal.PortalException,
335 com.liferay.portal.SystemException {
336 _layoutLocalService.importLayouts(userId, groupId, privateLayout,
337 parameterMap, file);
338 }
339
340 public void importLayouts(long userId, long groupId, boolean privateLayout,
341 java.util.Map<String, String[]> parameterMap, java.io.InputStream is)
342 throws com.liferay.portal.PortalException,
343 com.liferay.portal.SystemException {
344 _layoutLocalService.importLayouts(userId, groupId, privateLayout,
345 parameterMap, is);
346 }
347
348 public void importPortletInfo(long userId, long plid, long groupId,
349 java.lang.String portletId,
350 java.util.Map<String, String[]> parameterMap, java.io.File file)
351 throws com.liferay.portal.PortalException,
352 com.liferay.portal.SystemException {
353 _layoutLocalService.importPortletInfo(userId, plid, groupId, portletId,
354 parameterMap, file);
355 }
356
357 public void importPortletInfo(long userId, long plid, long groupId,
358 java.lang.String portletId,
359 java.util.Map<String, String[]> parameterMap, java.io.InputStream is)
360 throws com.liferay.portal.PortalException,
361 com.liferay.portal.SystemException {
362 _layoutLocalService.importPortletInfo(userId, plid, groupId, portletId,
363 parameterMap, is);
364 }
365
366 public void setLayouts(long groupId, boolean privateLayout,
367 long parentLayoutId, long[] layoutIds)
368 throws com.liferay.portal.PortalException,
369 com.liferay.portal.SystemException {
370 _layoutLocalService.setLayouts(groupId, privateLayout, parentLayoutId,
371 layoutIds);
372 }
373
374 public com.liferay.portal.model.Layout updateFriendlyURL(long plid,
375 java.lang.String friendlyURL)
376 throws com.liferay.portal.PortalException,
377 com.liferay.portal.SystemException {
378 return _layoutLocalService.updateFriendlyURL(plid, friendlyURL);
379 }
380
381 public com.liferay.portal.model.Layout updateLayout(long groupId,
382 boolean privateLayout, long layoutId, long parentLayoutId,
383 java.util.Map<java.util.Locale, String> localeNamesMap,
384 java.util.Map<java.util.Locale, String> localeTitlesMap,
385 java.lang.String description, java.lang.String type, boolean hidden,
386 java.lang.String friendlyURL)
387 throws com.liferay.portal.PortalException,
388 com.liferay.portal.SystemException {
389 return _layoutLocalService.updateLayout(groupId, privateLayout,
390 layoutId, parentLayoutId, localeNamesMap, localeTitlesMap,
391 description, type, hidden, friendlyURL);
392 }
393
394 public com.liferay.portal.model.Layout updateLayout(long groupId,
395 boolean privateLayout, long layoutId, long parentLayoutId,
396 java.util.Map<java.util.Locale, String> localeNamesMap,
397 java.util.Map<java.util.Locale, String> localeTitlesMap,
398 java.lang.String description, java.lang.String type, boolean hidden,
399 java.lang.String friendlyURL, java.lang.Boolean iconImage,
400 byte[] iconBytes)
401 throws com.liferay.portal.PortalException,
402 com.liferay.portal.SystemException {
403 return _layoutLocalService.updateLayout(groupId, privateLayout,
404 layoutId, parentLayoutId, localeNamesMap, localeTitlesMap,
405 description, type, hidden, friendlyURL, iconImage, iconBytes);
406 }
407
408 public com.liferay.portal.model.Layout updateLayout(long groupId,
409 boolean privateLayout, long layoutId, java.lang.String typeSettings)
410 throws com.liferay.portal.PortalException,
411 com.liferay.portal.SystemException {
412 return _layoutLocalService.updateLayout(groupId, privateLayout,
413 layoutId, typeSettings);
414 }
415
416 public com.liferay.portal.model.Layout updateLookAndFeel(long groupId,
417 boolean privateLayout, long layoutId, java.lang.String themeId,
418 java.lang.String colorSchemeId, java.lang.String css, boolean wapTheme)
419 throws com.liferay.portal.PortalException,
420 com.liferay.portal.SystemException {
421 return _layoutLocalService.updateLookAndFeel(groupId, privateLayout,
422 layoutId, themeId, colorSchemeId, css, wapTheme);
423 }
424
425 public com.liferay.portal.model.Layout updateName(
426 com.liferay.portal.model.Layout layout, java.lang.String name,
427 java.lang.String languageId)
428 throws com.liferay.portal.PortalException,
429 com.liferay.portal.SystemException {
430 return _layoutLocalService.updateName(layout, name, languageId);
431 }
432
433 public com.liferay.portal.model.Layout updateName(long groupId,
434 boolean privateLayout, long layoutId, java.lang.String name,
435 java.lang.String languageId)
436 throws com.liferay.portal.PortalException,
437 com.liferay.portal.SystemException {
438 return _layoutLocalService.updateName(groupId, privateLayout, layoutId,
439 name, languageId);
440 }
441
442 public com.liferay.portal.model.Layout updateName(long plid,
443 java.lang.String name, java.lang.String languageId)
444 throws com.liferay.portal.PortalException,
445 com.liferay.portal.SystemException {
446 return _layoutLocalService.updateName(plid, name, languageId);
447 }
448
449 public com.liferay.portal.model.Layout updateParentLayoutId(long groupId,
450 boolean privateLayout, long layoutId, long parentLayoutId)
451 throws com.liferay.portal.PortalException,
452 com.liferay.portal.SystemException {
453 return _layoutLocalService.updateParentLayoutId(groupId, privateLayout,
454 layoutId, parentLayoutId);
455 }
456
457 public com.liferay.portal.model.Layout updateParentLayoutId(long plid,
458 long parentPlid)
459 throws com.liferay.portal.PortalException,
460 com.liferay.portal.SystemException {
461 return _layoutLocalService.updateParentLayoutId(plid, parentPlid);
462 }
463
464 public com.liferay.portal.model.Layout updatePriority(
465 com.liferay.portal.model.Layout layout, int priority)
466 throws com.liferay.portal.SystemException {
467 return _layoutLocalService.updatePriority(layout, priority);
468 }
469
470 public com.liferay.portal.model.Layout updatePriority(long groupId,
471 boolean privateLayout, long layoutId, int priority)
472 throws com.liferay.portal.PortalException,
473 com.liferay.portal.SystemException {
474 return _layoutLocalService.updatePriority(groupId, privateLayout,
475 layoutId, priority);
476 }
477
478 public com.liferay.portal.model.Layout updatePriority(long plid,
479 int priority)
480 throws com.liferay.portal.PortalException,
481 com.liferay.portal.SystemException {
482 return _layoutLocalService.updatePriority(plid, priority);
483 }
484
485 public LayoutLocalService getWrappedLayoutLocalService() {
486 return _layoutLocalService;
487 }
488
489 private LayoutLocalService _layoutLocalService;
490 }