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