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