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 long ownerId, int ownerType, long plid)
297 throws com.liferay.portal.kernel.exception.SystemException {
298 return _portletPreferencesLocalService.getPortletPreferences(ownerId,
299 ownerType, plid);
300 }
301
302 public com.liferay.portal.model.PortletPreferences getPortletPreferences(
303 long ownerId, int ownerType, long plid, java.lang.String portletId)
304 throws com.liferay.portal.kernel.exception.PortalException,
305 com.liferay.portal.kernel.exception.SystemException {
306 return _portletPreferencesLocalService.getPortletPreferences(ownerId,
307 ownerType, plid, portletId);
308 }
309
310 public java.util.List<com.liferay.portal.model.PortletPreferences> getPortletPreferences(
311 long plid, java.lang.String portletId)
312 throws com.liferay.portal.kernel.exception.SystemException {
313 return _portletPreferencesLocalService.getPortletPreferences(plid,
314 portletId);
315 }
316
317 public java.util.List<com.liferay.portal.model.PortletPreferences> getPortletPreferencesByPlid(
318 long plid) throws com.liferay.portal.kernel.exception.SystemException {
319 return _portletPreferencesLocalService.getPortletPreferencesByPlid(plid);
320 }
321
322 public javax.portlet.PortletPreferences getPreferences(long companyId,
323 long ownerId, int ownerType, long plid, java.lang.String portletId)
324 throws com.liferay.portal.kernel.exception.SystemException {
325 return _portletPreferencesLocalService.getPreferences(companyId,
326 ownerId, ownerType, plid, portletId);
327 }
328
329 public javax.portlet.PortletPreferences getPreferences(long companyId,
330 long ownerId, int ownerType, long plid, java.lang.String portletId,
331 java.lang.String defaultPreferences)
332 throws com.liferay.portal.kernel.exception.SystemException {
333 return _portletPreferencesLocalService.getPreferences(companyId,
334 ownerId, ownerType, plid, portletId, defaultPreferences);
335 }
336
337 public javax.portlet.PortletPreferences getPreferences(
338 com.liferay.portal.model.PortletPreferencesIds portletPreferencesIds)
339 throws com.liferay.portal.kernel.exception.SystemException {
340 return _portletPreferencesLocalService.getPreferences(portletPreferencesIds);
341 }
342
343 public javax.portlet.PortletPreferences getStrictPreferences(
344 long companyId, long ownerId, int ownerType, long plid,
345 java.lang.String portletId)
346 throws com.liferay.portal.kernel.exception.SystemException {
347 return _portletPreferencesLocalService.getStrictPreferences(companyId,
348 ownerId, ownerType, plid, portletId);
349 }
350
351 public javax.portlet.PortletPreferences getStrictPreferences(
352 com.liferay.portal.model.PortletPreferencesIds portletPreferencesIds)
353 throws com.liferay.portal.kernel.exception.SystemException {
354 return _portletPreferencesLocalService.getStrictPreferences(portletPreferencesIds);
355 }
356
357 public com.liferay.portal.model.PortletPreferences updatePreferences(
358 long ownerId, int ownerType, long plid, java.lang.String portletId,
359 javax.portlet.PortletPreferences portletPreferences)
360 throws com.liferay.portal.kernel.exception.SystemException {
361 return _portletPreferencesLocalService.updatePreferences(ownerId,
362 ownerType, plid, portletId, portletPreferences);
363 }
364
365 public com.liferay.portal.model.PortletPreferences updatePreferences(
366 long ownerId, int ownerType, long plid, java.lang.String portletId,
367 java.lang.String xml)
368 throws com.liferay.portal.kernel.exception.SystemException {
369 return _portletPreferencesLocalService.updatePreferences(ownerId,
370 ownerType, plid, portletId, xml);
371 }
372
373
376 public PortletPreferencesLocalService getWrappedPortletPreferencesLocalService() {
377 return _portletPreferencesLocalService;
378 }
379
380
383 public void setWrappedPortletPreferencesLocalService(
384 PortletPreferencesLocalService portletPreferencesLocalService) {
385 _portletPreferencesLocalService = portletPreferencesLocalService;
386 }
387
388 public PortletPreferencesLocalService getWrappedService() {
389 return _portletPreferencesLocalService;
390 }
391
392 public void setWrappedService(
393 PortletPreferencesLocalService portletPreferencesLocalService) {
394 _portletPreferencesLocalService = portletPreferencesLocalService;
395 }
396
397 private PortletPreferencesLocalService _portletPreferencesLocalService;
398 }