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