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