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,
109 java.util.Map<java.util.Locale, String> localeNamesMap,
110 java.util.Map<java.util.Locale, String> localeTitlesMap,
111 java.lang.String description, java.lang.String type, boolean hidden,
112 java.lang.String friendlyURL)
113 throws com.liferay.portal.PortalException,
114 com.liferay.portal.SystemException {
115 return _layoutLocalService.addLayout(userId, groupId, privateLayout,
116 parentLayoutId, localeNamesMap, localeTitlesMap, description, type,
117 hidden, friendlyURL);
118 }
119
120 public com.liferay.portal.model.Layout addLayout(long userId, long groupId,
121 boolean privateLayout, long parentLayoutId,
122 java.util.Map<java.util.Locale, String> localeNamesMap,
123 java.util.Map<java.util.Locale, String> localeTitlesMap,
124 java.lang.String description, java.lang.String type, boolean hidden,
125 java.lang.String friendlyURL, long dlFolderId)
126 throws com.liferay.portal.PortalException,
127 com.liferay.portal.SystemException {
128 return _layoutLocalService.addLayout(userId, groupId, privateLayout,
129 parentLayoutId, localeNamesMap, localeTitlesMap, description, type,
130 hidden, friendlyURL, dlFolderId);
131 }
132
133 public com.liferay.portal.model.Layout addLayout(long userId, long groupId,
134 boolean privateLayout, long parentLayoutId, java.lang.String name,
135 java.lang.String title, java.lang.String description,
136 java.lang.String type, boolean hidden, java.lang.String friendlyURL)
137 throws com.liferay.portal.PortalException,
138 com.liferay.portal.SystemException {
139 return _layoutLocalService.addLayout(userId, groupId, privateLayout,
140 parentLayoutId, name, title, description, type, hidden, friendlyURL);
141 }
142
143 public com.liferay.portal.model.Layout addLayout(long userId, long groupId,
144 boolean privateLayout, long parentLayoutId, java.lang.String name,
145 java.lang.String title, java.lang.String description,
146 java.lang.String type, boolean hidden, java.lang.String friendlyURL,
147 long dlFolderId)
148 throws com.liferay.portal.PortalException,
149 com.liferay.portal.SystemException {
150 return _layoutLocalService.addLayout(userId, groupId, privateLayout,
151 parentLayoutId, name, title, description, type, hidden,
152 friendlyURL, dlFolderId);
153 }
154
155 public void deleteLayout(com.liferay.portal.model.Layout layout,
156 boolean updateLayoutSet)
157 throws com.liferay.portal.PortalException,
158 com.liferay.portal.SystemException {
159 _layoutLocalService.deleteLayout(layout, updateLayoutSet);
160 }
161
162 public void deleteLayout(long groupId, boolean privateLayout, long layoutId)
163 throws com.liferay.portal.PortalException,
164 com.liferay.portal.SystemException {
165 _layoutLocalService.deleteLayout(groupId, privateLayout, layoutId);
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 long[] layoutIds, java.util.Map<String, String[]> parameterMap,
176 java.util.Date startDate, java.util.Date endDate)
177 throws com.liferay.portal.PortalException,
178 com.liferay.portal.SystemException {
179 return _layoutLocalService.exportLayouts(groupId, privateLayout,
180 layoutIds, parameterMap, startDate, endDate);
181 }
182
183 public byte[] exportLayouts(long groupId, boolean privateLayout,
184 java.util.Map<String, String[]> parameterMap, java.util.Date startDate,
185 java.util.Date endDate)
186 throws com.liferay.portal.PortalException,
187 com.liferay.portal.SystemException {
188 return _layoutLocalService.exportLayouts(groupId, privateLayout,
189 parameterMap, startDate, endDate);
190 }
191
192 public java.io.File exportLayoutsAsFile(long groupId,
193 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.exportLayoutsAsFile(groupId, privateLayout,
199 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 java.io.File exportPortletInfoAsFile(long plid, long groupId,
213 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.exportPortletInfoAsFile(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, long parentLayoutId, int start,
281 int end) throws com.liferay.portal.SystemException {
282 return _layoutLocalService.getLayouts(groupId, privateLayout,
283 parentLayoutId, start, end);
284 }
285
286 public java.util.List<com.liferay.portal.model.Layout> getLayouts(
287 long groupId, boolean privateLayout, long[] layoutIds)
288 throws com.liferay.portal.PortalException,
289 com.liferay.portal.SystemException {
290 return _layoutLocalService.getLayouts(groupId, privateLayout, layoutIds);
291 }
292
293 public java.util.List<com.liferay.portal.model.Layout> getLayouts(
294 long groupId, boolean privateLayout, java.lang.String type)
295 throws com.liferay.portal.SystemException {
296 return _layoutLocalService.getLayouts(groupId, privateLayout, type);
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, byte[] bytes)
319 throws com.liferay.portal.PortalException,
320 com.liferay.portal.SystemException {
321 _layoutLocalService.importLayouts(userId, groupId, privateLayout,
322 parameterMap, bytes);
323 }
324
325 public void importLayouts(long userId, long groupId, boolean privateLayout,
326 java.util.Map<String, String[]> parameterMap, java.io.File file)
327 throws com.liferay.portal.PortalException,
328 com.liferay.portal.SystemException {
329 _layoutLocalService.importLayouts(userId, groupId, privateLayout,
330 parameterMap, file);
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(
419 com.liferay.portal.model.Layout layout, java.lang.String name,
420 java.lang.String languageId)
421 throws com.liferay.portal.PortalException,
422 com.liferay.portal.SystemException {
423 return _layoutLocalService.updateName(layout, name, languageId);
424 }
425
426 public com.liferay.portal.model.Layout updateName(long groupId,
427 boolean privateLayout, long layoutId, java.lang.String name,
428 java.lang.String languageId)
429 throws com.liferay.portal.PortalException,
430 com.liferay.portal.SystemException {
431 return _layoutLocalService.updateName(groupId, privateLayout, layoutId,
432 name, languageId);
433 }
434
435 public com.liferay.portal.model.Layout updateName(long plid,
436 java.lang.String name, java.lang.String languageId)
437 throws com.liferay.portal.PortalException,
438 com.liferay.portal.SystemException {
439 return _layoutLocalService.updateName(plid, name, languageId);
440 }
441
442 public com.liferay.portal.model.Layout updateParentLayoutId(long groupId,
443 boolean privateLayout, long layoutId, long parentLayoutId)
444 throws com.liferay.portal.PortalException,
445 com.liferay.portal.SystemException {
446 return _layoutLocalService.updateParentLayoutId(groupId, privateLayout,
447 layoutId, parentLayoutId);
448 }
449
450 public com.liferay.portal.model.Layout updateParentLayoutId(long plid,
451 long parentPlid)
452 throws com.liferay.portal.PortalException,
453 com.liferay.portal.SystemException {
454 return _layoutLocalService.updateParentLayoutId(plid, parentPlid);
455 }
456
457 public com.liferay.portal.model.Layout updatePriority(
458 com.liferay.portal.model.Layout layout, int priority)
459 throws com.liferay.portal.SystemException {
460 return _layoutLocalService.updatePriority(layout, priority);
461 }
462
463 public com.liferay.portal.model.Layout updatePriority(long groupId,
464 boolean privateLayout, long layoutId, int priority)
465 throws com.liferay.portal.PortalException,
466 com.liferay.portal.SystemException {
467 return _layoutLocalService.updatePriority(groupId, privateLayout,
468 layoutId, priority);
469 }
470
471 public com.liferay.portal.model.Layout updatePriority(long plid,
472 int priority)
473 throws com.liferay.portal.PortalException,
474 com.liferay.portal.SystemException {
475 return _layoutLocalService.updatePriority(plid, priority);
476 }
477
478 public LayoutLocalService getWrappedLayoutLocalService() {
479 return _layoutLocalService;
480 }
481
482 private LayoutLocalService _layoutLocalService;
483 }