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="LayoutServiceUtil.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 LayoutService}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       LayoutService
32   * @generated
33   */
34  public class LayoutServiceWrapper implements LayoutService {
35      public LayoutServiceWrapper(LayoutService layoutService) {
36          _layoutService = layoutService;
37      }
38  
39      public com.liferay.portal.model.Layout addLayout(long groupId,
40          boolean privateLayout, long parentLayoutId,
41          java.util.Map<java.util.Locale, String> localeNamesMap,
42          java.util.Map<java.util.Locale, String> localeTitlesMap,
43          java.lang.String description, java.lang.String type, boolean hidden,
44          java.lang.String friendlyURL,
45          com.liferay.portal.service.ServiceContext serviceContext)
46          throws com.liferay.portal.kernel.exception.PortalException,
47              com.liferay.portal.kernel.exception.SystemException {
48          return _layoutService.addLayout(groupId, privateLayout, parentLayoutId,
49              localeNamesMap, localeTitlesMap, description, type, hidden,
50              friendlyURL, serviceContext);
51      }
52  
53      public com.liferay.portal.model.Layout addLayout(long groupId,
54          boolean privateLayout, long parentLayoutId, java.lang.String name,
55          java.lang.String title, java.lang.String description,
56          java.lang.String type, boolean hidden, java.lang.String friendlyURL,
57          com.liferay.portal.service.ServiceContext serviceContext)
58          throws com.liferay.portal.kernel.exception.PortalException,
59              com.liferay.portal.kernel.exception.SystemException {
60          return _layoutService.addLayout(groupId, privateLayout, parentLayoutId,
61              name, title, description, type, hidden, friendlyURL, serviceContext);
62      }
63  
64      public void deleteLayout(long plid)
65          throws com.liferay.portal.kernel.exception.PortalException,
66              com.liferay.portal.kernel.exception.SystemException {
67          _layoutService.deleteLayout(plid);
68      }
69  
70      public void deleteLayout(long groupId, boolean privateLayout, long layoutId)
71          throws com.liferay.portal.kernel.exception.PortalException,
72              com.liferay.portal.kernel.exception.SystemException {
73          _layoutService.deleteLayout(groupId, privateLayout, layoutId);
74      }
75  
76      public byte[] exportLayouts(long groupId, boolean privateLayout,
77          long[] layoutIds, java.util.Map<String, String[]> parameterMap,
78          java.util.Date startDate, java.util.Date endDate)
79          throws com.liferay.portal.kernel.exception.PortalException,
80              com.liferay.portal.kernel.exception.SystemException {
81          return _layoutService.exportLayouts(groupId, privateLayout, layoutIds,
82              parameterMap, startDate, endDate);
83      }
84  
85      public byte[] exportLayouts(long groupId, boolean privateLayout,
86          java.util.Map<String, String[]> parameterMap, java.util.Date startDate,
87          java.util.Date endDate)
88          throws com.liferay.portal.kernel.exception.PortalException,
89              com.liferay.portal.kernel.exception.SystemException {
90          return _layoutService.exportLayouts(groupId, privateLayout,
91              parameterMap, startDate, endDate);
92      }
93  
94      public java.io.File exportLayoutsAsFile(long groupId,
95          boolean privateLayout, long[] layoutIds,
96          java.util.Map<String, String[]> parameterMap, java.util.Date startDate,
97          java.util.Date endDate)
98          throws com.liferay.portal.kernel.exception.PortalException,
99              com.liferay.portal.kernel.exception.SystemException {
100         return _layoutService.exportLayoutsAsFile(groupId, privateLayout,
101             layoutIds, parameterMap, startDate, endDate);
102     }
103 
104     public byte[] exportPortletInfo(long plid, long groupId,
105         java.lang.String portletId,
106         java.util.Map<String, String[]> parameterMap, java.util.Date startDate,
107         java.util.Date endDate)
108         throws com.liferay.portal.kernel.exception.PortalException,
109             com.liferay.portal.kernel.exception.SystemException {
110         return _layoutService.exportPortletInfo(plid, groupId, portletId,
111             parameterMap, startDate, endDate);
112     }
113 
114     public java.io.File exportPortletInfoAsFile(long plid, long groupId,
115         java.lang.String portletId,
116         java.util.Map<String, String[]> parameterMap, java.util.Date startDate,
117         java.util.Date endDate)
118         throws com.liferay.portal.kernel.exception.PortalException,
119             com.liferay.portal.kernel.exception.SystemException {
120         return _layoutService.exportPortletInfoAsFile(plid, groupId, portletId,
121             parameterMap, startDate, endDate);
122     }
123 
124     public java.lang.String getLayoutName(long groupId, boolean privateLayout,
125         long layoutId, java.lang.String languageId)
126         throws com.liferay.portal.kernel.exception.PortalException,
127             com.liferay.portal.kernel.exception.SystemException {
128         return _layoutService.getLayoutName(groupId, privateLayout, layoutId,
129             languageId);
130     }
131 
132     public com.liferay.portal.model.LayoutReference[] getLayoutReferences(
133         long companyId, java.lang.String portletId,
134         java.lang.String preferencesKey, java.lang.String preferencesValue)
135         throws com.liferay.portal.kernel.exception.SystemException {
136         return _layoutService.getLayoutReferences(companyId, portletId,
137             preferencesKey, preferencesValue);
138     }
139 
140     public void importLayouts(long groupId, boolean privateLayout,
141         java.util.Map<String, String[]> parameterMap, byte[] bytes)
142         throws com.liferay.portal.kernel.exception.PortalException,
143             com.liferay.portal.kernel.exception.SystemException {
144         _layoutService.importLayouts(groupId, privateLayout, parameterMap, bytes);
145     }
146 
147     public void importLayouts(long groupId, boolean privateLayout,
148         java.util.Map<String, String[]> parameterMap, java.io.File file)
149         throws com.liferay.portal.kernel.exception.PortalException,
150             com.liferay.portal.kernel.exception.SystemException {
151         _layoutService.importLayouts(groupId, privateLayout, parameterMap, file);
152     }
153 
154     public void importLayouts(long groupId, boolean privateLayout,
155         java.util.Map<String, String[]> parameterMap, java.io.InputStream is)
156         throws com.liferay.portal.kernel.exception.PortalException,
157             com.liferay.portal.kernel.exception.SystemException {
158         _layoutService.importLayouts(groupId, privateLayout, parameterMap, is);
159     }
160 
161     public void importPortletInfo(long plid, long groupId,
162         java.lang.String portletId,
163         java.util.Map<String, String[]> parameterMap, java.io.File file)
164         throws com.liferay.portal.kernel.exception.PortalException,
165             com.liferay.portal.kernel.exception.SystemException {
166         _layoutService.importPortletInfo(plid, groupId, portletId,
167             parameterMap, file);
168     }
169 
170     public void importPortletInfo(long plid, long groupId,
171         java.lang.String portletId,
172         java.util.Map<String, String[]> parameterMap, java.io.InputStream is)
173         throws com.liferay.portal.kernel.exception.PortalException,
174             com.liferay.portal.kernel.exception.SystemException {
175         _layoutService.importPortletInfo(plid, groupId, portletId,
176             parameterMap, is);
177     }
178 
179     public void schedulePublishToLive(long sourceGroupId, long targetGroupId,
180         boolean privateLayout, java.util.Map<Long, Boolean> layoutIdMap,
181         java.util.Map<String, String[]> parameterMap, java.lang.String scope,
182         java.util.Date startDate, java.util.Date endDate,
183         java.lang.String groupName, java.lang.String cronText,
184         java.util.Date schedulerStartDate, java.util.Date schedulerEndDate,
185         java.lang.String description)
186         throws com.liferay.portal.kernel.exception.PortalException,
187             com.liferay.portal.kernel.exception.SystemException {
188         _layoutService.schedulePublishToLive(sourceGroupId, targetGroupId,
189             privateLayout, layoutIdMap, parameterMap, scope, startDate,
190             endDate, groupName, cronText, schedulerStartDate, schedulerEndDate,
191             description);
192     }
193 
194     public void schedulePublishToRemote(long sourceGroupId,
195         boolean privateLayout, java.util.Map<Long, Boolean> layoutIdMap,
196         java.util.Map<String, String[]> parameterMap,
197         java.lang.String remoteAddress, int remotePort,
198         boolean secureConnection, long remoteGroupId,
199         boolean remotePrivateLayout, java.util.Date startDate,
200         java.util.Date endDate, java.lang.String groupName,
201         java.lang.String cronText, java.util.Date schedulerStartDate,
202         java.util.Date schedulerEndDate, java.lang.String description)
203         throws com.liferay.portal.kernel.exception.PortalException,
204             com.liferay.portal.kernel.exception.SystemException {
205         _layoutService.schedulePublishToRemote(sourceGroupId, privateLayout,
206             layoutIdMap, parameterMap, remoteAddress, remotePort,
207             secureConnection, remoteGroupId, remotePrivateLayout, startDate,
208             endDate, groupName, cronText, schedulerStartDate, schedulerEndDate,
209             description);
210     }
211 
212     public void setLayouts(long groupId, boolean privateLayout,
213         long parentLayoutId, long[] layoutIds)
214         throws com.liferay.portal.kernel.exception.PortalException,
215             com.liferay.portal.kernel.exception.SystemException {
216         _layoutService.setLayouts(groupId, privateLayout, parentLayoutId,
217             layoutIds);
218     }
219 
220     public void unschedulePublishToLive(long groupId, java.lang.String jobName,
221         java.lang.String groupName)
222         throws com.liferay.portal.kernel.exception.PortalException,
223             com.liferay.portal.kernel.exception.SystemException {
224         _layoutService.unschedulePublishToLive(groupId, jobName, groupName);
225     }
226 
227     public void unschedulePublishToRemote(long groupId,
228         java.lang.String jobName, java.lang.String groupName)
229         throws com.liferay.portal.kernel.exception.PortalException,
230             com.liferay.portal.kernel.exception.SystemException {
231         _layoutService.unschedulePublishToRemote(groupId, jobName, groupName);
232     }
233 
234     public com.liferay.portal.model.Layout updateLayout(long groupId,
235         boolean privateLayout, long layoutId, long parentLayoutId,
236         java.util.Map<java.util.Locale, String> localeNamesMap,
237         java.util.Map<java.util.Locale, String> localeTitlesMap,
238         java.lang.String description, java.lang.String type, boolean hidden,
239         java.lang.String friendlyURL, java.lang.Boolean iconImage,
240         byte[] iconBytes,
241         com.liferay.portal.service.ServiceContext serviceContext)
242         throws com.liferay.portal.kernel.exception.PortalException,
243             com.liferay.portal.kernel.exception.SystemException {
244         return _layoutService.updateLayout(groupId, privateLayout, layoutId,
245             parentLayoutId, localeNamesMap, localeTitlesMap, description, type,
246             hidden, friendlyURL, iconImage, iconBytes, serviceContext);
247     }
248 
249     public com.liferay.portal.model.Layout updateLayout(long groupId,
250         boolean privateLayout, long layoutId, long parentLayoutId,
251         java.util.Map<java.util.Locale, String> localeNamesMap,
252         java.util.Map<java.util.Locale, String> localeTitlesMap,
253         java.lang.String description, java.lang.String type, boolean hidden,
254         java.lang.String friendlyURL,
255         com.liferay.portal.service.ServiceContext serviceContext)
256         throws com.liferay.portal.kernel.exception.PortalException,
257             com.liferay.portal.kernel.exception.SystemException {
258         return _layoutService.updateLayout(groupId, privateLayout, layoutId,
259             parentLayoutId, localeNamesMap, localeTitlesMap, description, type,
260             hidden, friendlyURL, serviceContext);
261     }
262 
263     public com.liferay.portal.model.Layout updateLayout(long groupId,
264         boolean privateLayout, long layoutId, java.lang.String typeSettings)
265         throws com.liferay.portal.kernel.exception.PortalException,
266             com.liferay.portal.kernel.exception.SystemException {
267         return _layoutService.updateLayout(groupId, privateLayout, layoutId,
268             typeSettings);
269     }
270 
271     public com.liferay.portal.model.Layout updateLookAndFeel(long groupId,
272         boolean privateLayout, long layoutId, java.lang.String themeId,
273         java.lang.String colorSchemeId, java.lang.String css, boolean wapTheme)
274         throws com.liferay.portal.kernel.exception.PortalException,
275             com.liferay.portal.kernel.exception.SystemException {
276         return _layoutService.updateLookAndFeel(groupId, privateLayout,
277             layoutId, themeId, colorSchemeId, css, wapTheme);
278     }
279 
280     public com.liferay.portal.model.Layout updateName(long groupId,
281         boolean privateLayout, long layoutId, java.lang.String name,
282         java.lang.String languageId)
283         throws com.liferay.portal.kernel.exception.PortalException,
284             com.liferay.portal.kernel.exception.SystemException {
285         return _layoutService.updateName(groupId, privateLayout, layoutId,
286             name, languageId);
287     }
288 
289     public com.liferay.portal.model.Layout updateName(long plid,
290         java.lang.String name, java.lang.String languageId)
291         throws com.liferay.portal.kernel.exception.PortalException,
292             com.liferay.portal.kernel.exception.SystemException {
293         return _layoutService.updateName(plid, name, languageId);
294     }
295 
296     public com.liferay.portal.model.Layout updateParentLayoutId(long groupId,
297         boolean privateLayout, long layoutId, long parentLayoutId)
298         throws com.liferay.portal.kernel.exception.PortalException,
299             com.liferay.portal.kernel.exception.SystemException {
300         return _layoutService.updateParentLayoutId(groupId, privateLayout,
301             layoutId, parentLayoutId);
302     }
303 
304     public com.liferay.portal.model.Layout updateParentLayoutId(long plid,
305         long parentPlid)
306         throws com.liferay.portal.kernel.exception.PortalException,
307             com.liferay.portal.kernel.exception.SystemException {
308         return _layoutService.updateParentLayoutId(plid, parentPlid);
309     }
310 
311     public com.liferay.portal.model.Layout updatePriority(long groupId,
312         boolean privateLayout, long layoutId, int priority)
313         throws com.liferay.portal.kernel.exception.PortalException,
314             com.liferay.portal.kernel.exception.SystemException {
315         return _layoutService.updatePriority(groupId, privateLayout, layoutId,
316             priority);
317     }
318 
319     public com.liferay.portal.model.Layout updatePriority(long plid,
320         int priority)
321         throws com.liferay.portal.kernel.exception.PortalException,
322             com.liferay.portal.kernel.exception.SystemException {
323         return _layoutService.updatePriority(plid, priority);
324     }
325 
326     public LayoutService getWrappedLayoutService() {
327         return _layoutService;
328     }
329 
330     private LayoutService _layoutService;
331 }