1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portal.service;
16  
17  
18  /**
19   * <a href="LayoutLocalServiceUtil.java.html"><b><i>View Source</i></b></a>
20   *
21   * <p>
22   * ServiceBuilder generated this class. Modifications in this class will be
23   * overwritten the next time is generated.
24   * </p>
25   *
26   * <p>
27   * This class is a wrapper for {@link LayoutLocalService}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       LayoutLocalService
32   * @generated
33   */
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 com.liferay.portal.model.Layout getLayout(long plid)
73          throws com.liferay.portal.PortalException,
74              com.liferay.portal.SystemException {
75          return _layoutLocalService.getLayout(plid);
76      }
77  
78      public java.util.List<com.liferay.portal.model.Layout> getLayouts(
79          int start, int end) throws com.liferay.portal.SystemException {
80          return _layoutLocalService.getLayouts(start, end);
81      }
82  
83      public int getLayoutsCount() throws com.liferay.portal.SystemException {
84          return _layoutLocalService.getLayoutsCount();
85      }
86  
87      public com.liferay.portal.model.Layout updateLayout(
88          com.liferay.portal.model.Layout layout)
89          throws com.liferay.portal.SystemException {
90          return _layoutLocalService.updateLayout(layout);
91      }
92  
93      public com.liferay.portal.model.Layout updateLayout(
94          com.liferay.portal.model.Layout layout, boolean merge)
95          throws com.liferay.portal.SystemException {
96          return _layoutLocalService.updateLayout(layout, merge);
97      }
98  
99      public com.liferay.portal.model.Layout addLayout(long userId, long groupId,
100         boolean privateLayout, long parentLayoutId,
101         java.util.Map<java.util.Locale, String> localeNamesMap,
102         java.util.Map<java.util.Locale, String> localeTitlesMap,
103         java.lang.String description, java.lang.String type, boolean hidden,
104         java.lang.String friendlyURL)
105         throws com.liferay.portal.PortalException,
106             com.liferay.portal.SystemException {
107         return _layoutLocalService.addLayout(userId, groupId, privateLayout,
108             parentLayoutId, localeNamesMap, localeTitlesMap, description, type,
109             hidden, friendlyURL);
110     }
111 
112     public com.liferay.portal.model.Layout addLayout(long userId, long groupId,
113         boolean privateLayout, long parentLayoutId,
114         java.util.Map<java.util.Locale, String> localeNamesMap,
115         java.util.Map<java.util.Locale, String> localeTitlesMap,
116         java.lang.String description, java.lang.String type, boolean hidden,
117         java.lang.String friendlyURL, long dlFolderId)
118         throws com.liferay.portal.PortalException,
119             com.liferay.portal.SystemException {
120         return _layoutLocalService.addLayout(userId, groupId, privateLayout,
121             parentLayoutId, localeNamesMap, localeTitlesMap, description, type,
122             hidden, friendlyURL, dlFolderId);
123     }
124 
125     public com.liferay.portal.model.Layout addLayout(long userId, long groupId,
126         boolean privateLayout, long parentLayoutId, java.lang.String name,
127         java.lang.String title, java.lang.String description,
128         java.lang.String type, boolean hidden, java.lang.String friendlyURL)
129         throws com.liferay.portal.PortalException,
130             com.liferay.portal.SystemException {
131         return _layoutLocalService.addLayout(userId, groupId, privateLayout,
132             parentLayoutId, name, title, description, type, hidden, friendlyURL);
133     }
134 
135     public com.liferay.portal.model.Layout addLayout(long userId, long groupId,
136         boolean privateLayout, long parentLayoutId, java.lang.String name,
137         java.lang.String title, java.lang.String description,
138         java.lang.String type, boolean hidden, java.lang.String friendlyURL,
139         long dlFolderId)
140         throws com.liferay.portal.PortalException,
141             com.liferay.portal.SystemException {
142         return _layoutLocalService.addLayout(userId, groupId, privateLayout,
143             parentLayoutId, name, title, description, type, hidden,
144             friendlyURL, dlFolderId);
145     }
146 
147     public void deleteLayout(com.liferay.portal.model.Layout layout,
148         boolean updateLayoutSet)
149         throws com.liferay.portal.PortalException,
150             com.liferay.portal.SystemException {
151         _layoutLocalService.deleteLayout(layout, updateLayoutSet);
152     }
153 
154     public void deleteLayout(long groupId, boolean privateLayout, long layoutId)
155         throws com.liferay.portal.PortalException,
156             com.liferay.portal.SystemException {
157         _layoutLocalService.deleteLayout(groupId, privateLayout, layoutId);
158     }
159 
160     public void deleteLayouts(long groupId, boolean privateLayout)
161         throws com.liferay.portal.PortalException,
162             com.liferay.portal.SystemException {
163         _layoutLocalService.deleteLayouts(groupId, privateLayout);
164     }
165 
166     public byte[] exportLayouts(long groupId, boolean privateLayout,
167         long[] layoutIds, java.util.Map<String, String[]> parameterMap,
168         java.util.Date startDate, java.util.Date endDate)
169         throws com.liferay.portal.PortalException,
170             com.liferay.portal.SystemException {
171         return _layoutLocalService.exportLayouts(groupId, privateLayout,
172             layoutIds, parameterMap, startDate, endDate);
173     }
174 
175     public byte[] exportLayouts(long groupId, boolean privateLayout,
176         java.util.Map<String, String[]> parameterMap, java.util.Date startDate,
177         java.util.Date endDate)
178         throws com.liferay.portal.PortalException,
179             com.liferay.portal.SystemException {
180         return _layoutLocalService.exportLayouts(groupId, privateLayout,
181             parameterMap, startDate, endDate);
182     }
183 
184     public java.io.File exportLayoutsAsFile(long groupId,
185         boolean privateLayout, long[] layoutIds,
186         java.util.Map<String, String[]> parameterMap, java.util.Date startDate,
187         java.util.Date endDate)
188         throws com.liferay.portal.PortalException,
189             com.liferay.portal.SystemException {
190         return _layoutLocalService.exportLayoutsAsFile(groupId, privateLayout,
191             layoutIds, parameterMap, startDate, endDate);
192     }
193 
194     public byte[] exportPortletInfo(long plid, long groupId,
195         java.lang.String portletId,
196         java.util.Map<String, String[]> parameterMap, java.util.Date startDate,
197         java.util.Date endDate)
198         throws com.liferay.portal.PortalException,
199             com.liferay.portal.SystemException {
200         return _layoutLocalService.exportPortletInfo(plid, groupId, portletId,
201             parameterMap, startDate, endDate);
202     }
203 
204     public java.io.File exportPortletInfoAsFile(long plid, long groupId,
205         java.lang.String portletId,
206         java.util.Map<String, String[]> parameterMap, java.util.Date startDate,
207         java.util.Date endDate)
208         throws com.liferay.portal.PortalException,
209             com.liferay.portal.SystemException {
210         return _layoutLocalService.exportPortletInfoAsFile(plid, groupId,
211             portletId, parameterMap, startDate, endDate);
212     }
213 
214     public long getDefaultPlid(long groupId)
215         throws com.liferay.portal.SystemException {
216         return _layoutLocalService.getDefaultPlid(groupId);
217     }
218 
219     public long getDefaultPlid(long groupId, boolean privateLayout)
220         throws com.liferay.portal.SystemException {
221         return _layoutLocalService.getDefaultPlid(groupId, privateLayout);
222     }
223 
224     public long getDefaultPlid(long groupId, boolean privateLayout,
225         java.lang.String portletId) throws com.liferay.portal.SystemException {
226         return _layoutLocalService.getDefaultPlid(groupId, privateLayout,
227             portletId);
228     }
229 
230     public com.liferay.portal.model.Layout getDLFolderLayout(long dlFolderId)
231         throws com.liferay.portal.PortalException,
232             com.liferay.portal.SystemException {
233         return _layoutLocalService.getDLFolderLayout(dlFolderId);
234     }
235 
236     public com.liferay.portal.model.Layout getFriendlyURLLayout(long groupId,
237         boolean privateLayout, java.lang.String friendlyURL)
238         throws com.liferay.portal.PortalException,
239             com.liferay.portal.SystemException {
240         return _layoutLocalService.getFriendlyURLLayout(groupId, privateLayout,
241             friendlyURL);
242     }
243 
244     public com.liferay.portal.model.Layout getLayout(long groupId,
245         boolean privateLayout, long layoutId)
246         throws com.liferay.portal.PortalException,
247             com.liferay.portal.SystemException {
248         return _layoutLocalService.getLayout(groupId, privateLayout, layoutId);
249     }
250 
251     public com.liferay.portal.model.Layout getLayoutByIconImageId(
252         long iconImageId)
253         throws com.liferay.portal.PortalException,
254             com.liferay.portal.SystemException {
255         return _layoutLocalService.getLayoutByIconImageId(iconImageId);
256     }
257 
258     public java.util.List<com.liferay.portal.model.Layout> getLayouts(
259         long groupId, boolean privateLayout)
260         throws com.liferay.portal.SystemException {
261         return _layoutLocalService.getLayouts(groupId, privateLayout);
262     }
263 
264     public java.util.List<com.liferay.portal.model.Layout> getLayouts(
265         long groupId, boolean privateLayout, long parentLayoutId)
266         throws com.liferay.portal.SystemException {
267         return _layoutLocalService.getLayouts(groupId, privateLayout,
268             parentLayoutId);
269     }
270 
271     public java.util.List<com.liferay.portal.model.Layout> getLayouts(
272         long groupId, boolean privateLayout, long parentLayoutId, int start,
273         int end) throws com.liferay.portal.SystemException {
274         return _layoutLocalService.getLayouts(groupId, privateLayout,
275             parentLayoutId, start, end);
276     }
277 
278     public java.util.List<com.liferay.portal.model.Layout> getLayouts(
279         long groupId, boolean privateLayout, long[] layoutIds)
280         throws com.liferay.portal.PortalException,
281             com.liferay.portal.SystemException {
282         return _layoutLocalService.getLayouts(groupId, privateLayout, layoutIds);
283     }
284 
285     public java.util.List<com.liferay.portal.model.Layout> getLayouts(
286         long groupId, boolean privateLayout, java.lang.String type)
287         throws com.liferay.portal.SystemException {
288         return _layoutLocalService.getLayouts(groupId, privateLayout, type);
289     }
290 
291     public com.liferay.portal.model.LayoutReference[] getLayouts(
292         long companyId, java.lang.String portletId, java.lang.String prefsKey,
293         java.lang.String prefsValue) throws com.liferay.portal.SystemException {
294         return _layoutLocalService.getLayouts(companyId, portletId, prefsKey,
295             prefsValue);
296     }
297 
298     public long getNextLayoutId(long groupId, boolean privateLayout)
299         throws com.liferay.portal.SystemException {
300         return _layoutLocalService.getNextLayoutId(groupId, privateLayout);
301     }
302 
303     public java.util.List<com.liferay.portal.model.Layout> getNullFriendlyURLLayouts()
304         throws com.liferay.portal.SystemException {
305         return _layoutLocalService.getNullFriendlyURLLayouts();
306     }
307 
308     public void importLayouts(long userId, long groupId, boolean privateLayout,
309         java.util.Map<String, String[]> parameterMap, byte[] bytes)
310         throws com.liferay.portal.PortalException,
311             com.liferay.portal.SystemException {
312         _layoutLocalService.importLayouts(userId, groupId, privateLayout,
313             parameterMap, bytes);
314     }
315 
316     public void importLayouts(long userId, long groupId, boolean privateLayout,
317         java.util.Map<String, String[]> parameterMap, java.io.File file)
318         throws com.liferay.portal.PortalException,
319             com.liferay.portal.SystemException {
320         _layoutLocalService.importLayouts(userId, groupId, privateLayout,
321             parameterMap, file);
322     }
323 
324     public void importLayouts(long userId, long groupId, boolean privateLayout,
325         java.util.Map<String, String[]> parameterMap, java.io.InputStream is)
326         throws com.liferay.portal.PortalException,
327             com.liferay.portal.SystemException {
328         _layoutLocalService.importLayouts(userId, groupId, privateLayout,
329             parameterMap, is);
330     }
331 
332     public void importPortletInfo(long userId, long plid, long groupId,
333         java.lang.String portletId,
334         java.util.Map<String, String[]> parameterMap, java.io.File file)
335         throws com.liferay.portal.PortalException,
336             com.liferay.portal.SystemException {
337         _layoutLocalService.importPortletInfo(userId, plid, groupId, portletId,
338             parameterMap, file);
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.InputStream is)
344         throws com.liferay.portal.PortalException,
345             com.liferay.portal.SystemException {
346         _layoutLocalService.importPortletInfo(userId, plid, groupId, portletId,
347             parameterMap, is);
348     }
349 
350     public void setLayouts(long groupId, boolean privateLayout,
351         long parentLayoutId, long[] layoutIds)
352         throws com.liferay.portal.PortalException,
353             com.liferay.portal.SystemException {
354         _layoutLocalService.setLayouts(groupId, privateLayout, parentLayoutId,
355             layoutIds);
356     }
357 
358     public com.liferay.portal.model.Layout updateFriendlyURL(long plid,
359         java.lang.String friendlyURL)
360         throws com.liferay.portal.PortalException,
361             com.liferay.portal.SystemException {
362         return _layoutLocalService.updateFriendlyURL(plid, friendlyURL);
363     }
364 
365     public com.liferay.portal.model.Layout updateLayout(long groupId,
366         boolean privateLayout, long layoutId, long parentLayoutId,
367         java.util.Map<java.util.Locale, String> localeNamesMap,
368         java.util.Map<java.util.Locale, String> localeTitlesMap,
369         java.lang.String description, java.lang.String type, boolean hidden,
370         java.lang.String friendlyURL)
371         throws com.liferay.portal.PortalException,
372             com.liferay.portal.SystemException {
373         return _layoutLocalService.updateLayout(groupId, privateLayout,
374             layoutId, parentLayoutId, localeNamesMap, localeTitlesMap,
375             description, type, hidden, friendlyURL);
376     }
377 
378     public com.liferay.portal.model.Layout updateLayout(long groupId,
379         boolean privateLayout, long layoutId, long parentLayoutId,
380         java.util.Map<java.util.Locale, String> localeNamesMap,
381         java.util.Map<java.util.Locale, String> localeTitlesMap,
382         java.lang.String description, java.lang.String type, boolean hidden,
383         java.lang.String friendlyURL, java.lang.Boolean iconImage,
384         byte[] iconBytes)
385         throws com.liferay.portal.PortalException,
386             com.liferay.portal.SystemException {
387         return _layoutLocalService.updateLayout(groupId, privateLayout,
388             layoutId, parentLayoutId, localeNamesMap, localeTitlesMap,
389             description, type, hidden, friendlyURL, iconImage, iconBytes);
390     }
391 
392     public com.liferay.portal.model.Layout updateLayout(long groupId,
393         boolean privateLayout, long layoutId, java.lang.String typeSettings)
394         throws com.liferay.portal.PortalException,
395             com.liferay.portal.SystemException {
396         return _layoutLocalService.updateLayout(groupId, privateLayout,
397             layoutId, typeSettings);
398     }
399 
400     public com.liferay.portal.model.Layout updateLookAndFeel(long groupId,
401         boolean privateLayout, long layoutId, java.lang.String themeId,
402         java.lang.String colorSchemeId, java.lang.String css, boolean wapTheme)
403         throws com.liferay.portal.PortalException,
404             com.liferay.portal.SystemException {
405         return _layoutLocalService.updateLookAndFeel(groupId, privateLayout,
406             layoutId, themeId, colorSchemeId, css, wapTheme);
407     }
408 
409     public com.liferay.portal.model.Layout updateName(
410         com.liferay.portal.model.Layout layout, java.lang.String name,
411         java.lang.String languageId)
412         throws com.liferay.portal.PortalException,
413             com.liferay.portal.SystemException {
414         return _layoutLocalService.updateName(layout, name, languageId);
415     }
416 
417     public com.liferay.portal.model.Layout updateName(long groupId,
418         boolean privateLayout, long layoutId, java.lang.String name,
419         java.lang.String languageId)
420         throws com.liferay.portal.PortalException,
421             com.liferay.portal.SystemException {
422         return _layoutLocalService.updateName(groupId, privateLayout, layoutId,
423             name, languageId);
424     }
425 
426     public com.liferay.portal.model.Layout updateName(long plid,
427         java.lang.String name, java.lang.String languageId)
428         throws com.liferay.portal.PortalException,
429             com.liferay.portal.SystemException {
430         return _layoutLocalService.updateName(plid, name, languageId);
431     }
432 
433     public com.liferay.portal.model.Layout updateParentLayoutId(long groupId,
434         boolean privateLayout, long layoutId, long parentLayoutId)
435         throws com.liferay.portal.PortalException,
436             com.liferay.portal.SystemException {
437         return _layoutLocalService.updateParentLayoutId(groupId, privateLayout,
438             layoutId, parentLayoutId);
439     }
440 
441     public com.liferay.portal.model.Layout updateParentLayoutId(long plid,
442         long parentPlid)
443         throws com.liferay.portal.PortalException,
444             com.liferay.portal.SystemException {
445         return _layoutLocalService.updateParentLayoutId(plid, parentPlid);
446     }
447 
448     public com.liferay.portal.model.Layout updatePriority(
449         com.liferay.portal.model.Layout layout, int priority)
450         throws com.liferay.portal.SystemException {
451         return _layoutLocalService.updatePriority(layout, priority);
452     }
453 
454     public com.liferay.portal.model.Layout updatePriority(long groupId,
455         boolean privateLayout, long layoutId, int priority)
456         throws com.liferay.portal.PortalException,
457             com.liferay.portal.SystemException {
458         return _layoutLocalService.updatePriority(groupId, privateLayout,
459             layoutId, priority);
460     }
461 
462     public com.liferay.portal.model.Layout updatePriority(long plid,
463         int priority)
464         throws com.liferay.portal.PortalException,
465             com.liferay.portal.SystemException {
466         return _layoutLocalService.updatePriority(plid, priority);
467     }
468 
469     public LayoutLocalService getWrappedLayoutLocalService() {
470         return _layoutLocalService;
471     }
472 
473     private LayoutLocalService _layoutLocalService;
474 }