001
014
015 package com.liferay.portal.service;
016
017
026 public class PortletPreferencesLocalServiceWrapper
027 implements PortletPreferencesLocalService,
028 ServiceWrapper<PortletPreferencesLocalService> {
029 public PortletPreferencesLocalServiceWrapper(
030 PortletPreferencesLocalService portletPreferencesLocalService) {
031 _portletPreferencesLocalService = portletPreferencesLocalService;
032 }
033
034
041 public com.liferay.portal.model.PortletPreferences addPortletPreferences(
042 com.liferay.portal.model.PortletPreferences portletPreferences)
043 throws com.liferay.portal.kernel.exception.SystemException {
044 return _portletPreferencesLocalService.addPortletPreferences(portletPreferences);
045 }
046
047
053 public com.liferay.portal.model.PortletPreferences createPortletPreferences(
054 long portletPreferencesId) {
055 return _portletPreferencesLocalService.createPortletPreferences(portletPreferencesId);
056 }
057
058
065 public void deletePortletPreferences(long portletPreferencesId)
066 throws com.liferay.portal.kernel.exception.PortalException,
067 com.liferay.portal.kernel.exception.SystemException {
068 _portletPreferencesLocalService.deletePortletPreferences(portletPreferencesId);
069 }
070
071
077 public void deletePortletPreferences(
078 com.liferay.portal.model.PortletPreferences portletPreferences)
079 throws com.liferay.portal.kernel.exception.SystemException {
080 _portletPreferencesLocalService.deletePortletPreferences(portletPreferences);
081 }
082
083
090 @SuppressWarnings("rawtypes")
091 public java.util.List dynamicQuery(
092 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
093 throws com.liferay.portal.kernel.exception.SystemException {
094 return _portletPreferencesLocalService.dynamicQuery(dynamicQuery);
095 }
096
097
110 @SuppressWarnings("rawtypes")
111 public java.util.List dynamicQuery(
112 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
113 int end) throws com.liferay.portal.kernel.exception.SystemException {
114 return _portletPreferencesLocalService.dynamicQuery(dynamicQuery,
115 start, end);
116 }
117
118
132 @SuppressWarnings("rawtypes")
133 public java.util.List dynamicQuery(
134 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
135 int end,
136 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
137 throws com.liferay.portal.kernel.exception.SystemException {
138 return _portletPreferencesLocalService.dynamicQuery(dynamicQuery,
139 start, end, orderByComparator);
140 }
141
142
149 public long dynamicQueryCount(
150 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
151 throws com.liferay.portal.kernel.exception.SystemException {
152 return _portletPreferencesLocalService.dynamicQueryCount(dynamicQuery);
153 }
154
155 public com.liferay.portal.model.PortletPreferences fetchPortletPreferences(
156 long portletPreferencesId)
157 throws com.liferay.portal.kernel.exception.SystemException {
158 return _portletPreferencesLocalService.fetchPortletPreferences(portletPreferencesId);
159 }
160
161
169 public com.liferay.portal.model.PortletPreferences getPortletPreferences(
170 long portletPreferencesId)
171 throws com.liferay.portal.kernel.exception.PortalException,
172 com.liferay.portal.kernel.exception.SystemException {
173 return _portletPreferencesLocalService.getPortletPreferences(portletPreferencesId);
174 }
175
176 public com.liferay.portal.model.PersistedModel getPersistedModel(
177 java.io.Serializable primaryKeyObj)
178 throws com.liferay.portal.kernel.exception.PortalException,
179 com.liferay.portal.kernel.exception.SystemException {
180 return _portletPreferencesLocalService.getPersistedModel(primaryKeyObj);
181 }
182
183
195 public java.util.List<com.liferay.portal.model.PortletPreferences> getPortletPreferenceses(
196 int start, int end)
197 throws com.liferay.portal.kernel.exception.SystemException {
198 return _portletPreferencesLocalService.getPortletPreferenceses(start,
199 end);
200 }
201
202
208 public int getPortletPreferencesesCount()
209 throws com.liferay.portal.kernel.exception.SystemException {
210 return _portletPreferencesLocalService.getPortletPreferencesesCount();
211 }
212
213
220 public com.liferay.portal.model.PortletPreferences updatePortletPreferences(
221 com.liferay.portal.model.PortletPreferences portletPreferences)
222 throws com.liferay.portal.kernel.exception.SystemException {
223 return _portletPreferencesLocalService.updatePortletPreferences(portletPreferences);
224 }
225
226
234 public com.liferay.portal.model.PortletPreferences updatePortletPreferences(
235 com.liferay.portal.model.PortletPreferences portletPreferences,
236 boolean merge)
237 throws com.liferay.portal.kernel.exception.SystemException {
238 return _portletPreferencesLocalService.updatePortletPreferences(portletPreferences,
239 merge);
240 }
241
242
247 public java.lang.String getBeanIdentifier() {
248 return _portletPreferencesLocalService.getBeanIdentifier();
249 }
250
251
256 public void setBeanIdentifier(java.lang.String beanIdentifier) {
257 _portletPreferencesLocalService.setBeanIdentifier(beanIdentifier);
258 }
259
260 public com.liferay.portal.model.PortletPreferences addPortletPreferences(
261 long companyId, long ownerId, int ownerType, long plid,
262 java.lang.String portletId, com.liferay.portal.model.Portlet portlet,
263 java.lang.String defaultPreferences)
264 throws com.liferay.portal.kernel.exception.SystemException {
265 return _portletPreferencesLocalService.addPortletPreferences(companyId,
266 ownerId, ownerType, plid, portletId, portlet, defaultPreferences);
267 }
268
269 public void deletePortletPreferences(long ownerId, int ownerType, long plid)
270 throws com.liferay.portal.kernel.exception.SystemException {
271 _portletPreferencesLocalService.deletePortletPreferences(ownerId,
272 ownerType, plid);
273 }
274
275 public void deletePortletPreferences(long ownerId, int ownerType,
276 long plid, java.lang.String portletId)
277 throws com.liferay.portal.kernel.exception.PortalException,
278 com.liferay.portal.kernel.exception.SystemException {
279 _portletPreferencesLocalService.deletePortletPreferences(ownerId,
280 ownerType, plid, portletId);
281 }
282
283 public javax.portlet.PortletPreferences getDefaultPreferences(
284 long companyId, java.lang.String portletId)
285 throws com.liferay.portal.kernel.exception.SystemException {
286 return _portletPreferencesLocalService.getDefaultPreferences(companyId,
287 portletId);
288 }
289
290 public java.util.List<com.liferay.portal.model.PortletPreferences> getPortletPreferences()
291 throws com.liferay.portal.kernel.exception.SystemException {
292 return _portletPreferencesLocalService.getPortletPreferences();
293 }
294
295 public java.util.List<com.liferay.portal.model.PortletPreferences> getPortletPreferences(
296 int ownerType, long plid, java.lang.String portletId)
297 throws com.liferay.portal.kernel.exception.SystemException {
298 return _portletPreferencesLocalService.getPortletPreferences(ownerType,
299 plid, portletId);
300 }
301
302 public java.util.List<com.liferay.portal.model.PortletPreferences> getPortletPreferences(
303 long ownerId, int ownerType, long plid)
304 throws com.liferay.portal.kernel.exception.SystemException {
305 return _portletPreferencesLocalService.getPortletPreferences(ownerId,
306 ownerType, plid);
307 }
308
309 public com.liferay.portal.model.PortletPreferences getPortletPreferences(
310 long ownerId, int ownerType, long plid, java.lang.String portletId)
311 throws com.liferay.portal.kernel.exception.PortalException,
312 com.liferay.portal.kernel.exception.SystemException {
313 return _portletPreferencesLocalService.getPortletPreferences(ownerId,
314 ownerType, plid, portletId);
315 }
316
317 public java.util.List<com.liferay.portal.model.PortletPreferences> getPortletPreferences(
318 long companyId, long groupId, long ownerId, int ownerType,
319 java.lang.String portletId, boolean privateLayout)
320 throws com.liferay.portal.kernel.exception.SystemException {
321 return _portletPreferencesLocalService.getPortletPreferences(companyId,
322 groupId, ownerId, ownerType, portletId, privateLayout);
323 }
324
325 public java.util.List<com.liferay.portal.model.PortletPreferences> getPortletPreferences(
326 long plid, java.lang.String portletId)
327 throws com.liferay.portal.kernel.exception.SystemException {
328 return _portletPreferencesLocalService.getPortletPreferences(plid,
329 portletId);
330 }
331
332 public java.util.List<com.liferay.portal.model.PortletPreferences> getPortletPreferencesByPlid(
333 long plid) throws com.liferay.portal.kernel.exception.SystemException {
334 return _portletPreferencesLocalService.getPortletPreferencesByPlid(plid);
335 }
336
337 public javax.portlet.PortletPreferences getPreferences(long companyId,
338 long ownerId, int ownerType, long plid, java.lang.String portletId)
339 throws com.liferay.portal.kernel.exception.SystemException {
340 return _portletPreferencesLocalService.getPreferences(companyId,
341 ownerId, ownerType, plid, portletId);
342 }
343
344 public javax.portlet.PortletPreferences getPreferences(long companyId,
345 long ownerId, int ownerType, long plid, java.lang.String portletId,
346 java.lang.String defaultPreferences)
347 throws com.liferay.portal.kernel.exception.SystemException {
348 return _portletPreferencesLocalService.getPreferences(companyId,
349 ownerId, ownerType, plid, portletId, defaultPreferences);
350 }
351
352 public javax.portlet.PortletPreferences getPreferences(
353 com.liferay.portal.model.PortletPreferencesIds portletPreferencesIds)
354 throws com.liferay.portal.kernel.exception.SystemException {
355 return _portletPreferencesLocalService.getPreferences(portletPreferencesIds);
356 }
357
358 public javax.portlet.PortletPreferences getStrictPreferences(
359 long companyId, long ownerId, int ownerType, long plid,
360 java.lang.String portletId)
361 throws com.liferay.portal.kernel.exception.SystemException {
362 return _portletPreferencesLocalService.getStrictPreferences(companyId,
363 ownerId, ownerType, plid, portletId);
364 }
365
366 public javax.portlet.PortletPreferences getStrictPreferences(
367 com.liferay.portal.model.PortletPreferencesIds portletPreferencesIds)
368 throws com.liferay.portal.kernel.exception.SystemException {
369 return _portletPreferencesLocalService.getStrictPreferences(portletPreferencesIds);
370 }
371
372 public com.liferay.portal.model.PortletPreferences updatePreferences(
373 long ownerId, int ownerType, long plid, java.lang.String portletId,
374 javax.portlet.PortletPreferences portletPreferences)
375 throws com.liferay.portal.kernel.exception.SystemException {
376 return _portletPreferencesLocalService.updatePreferences(ownerId,
377 ownerType, plid, portletId, portletPreferences);
378 }
379
380 public com.liferay.portal.model.PortletPreferences updatePreferences(
381 long ownerId, int ownerType, long plid, java.lang.String portletId,
382 java.lang.String xml)
383 throws com.liferay.portal.kernel.exception.SystemException {
384 return _portletPreferencesLocalService.updatePreferences(ownerId,
385 ownerType, plid, portletId, xml);
386 }
387
388
391 public PortletPreferencesLocalService getWrappedPortletPreferencesLocalService() {
392 return _portletPreferencesLocalService;
393 }
394
395
398 public void setWrappedPortletPreferencesLocalService(
399 PortletPreferencesLocalService portletPreferencesLocalService) {
400 _portletPreferencesLocalService = portletPreferencesLocalService;
401 }
402
403 public PortletPreferencesLocalService getWrappedService() {
404 return _portletPreferencesLocalService;
405 }
406
407 public void setWrappedService(
408 PortletPreferencesLocalService portletPreferencesLocalService) {
409 _portletPreferencesLocalService = portletPreferencesLocalService;
410 }
411
412 private PortletPreferencesLocalService _portletPreferencesLocalService;
413 }