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
066 public com.liferay.portal.model.PortletPreferences deletePortletPreferences(
067 long portletPreferencesId)
068 throws com.liferay.portal.kernel.exception.PortalException,
069 com.liferay.portal.kernel.exception.SystemException {
070 return _portletPreferencesLocalService.deletePortletPreferences(portletPreferencesId);
071 }
072
073
080 public com.liferay.portal.model.PortletPreferences deletePortletPreferences(
081 com.liferay.portal.model.PortletPreferences portletPreferences)
082 throws com.liferay.portal.kernel.exception.SystemException {
083 return _portletPreferencesLocalService.deletePortletPreferences(portletPreferences);
084 }
085
086 public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
087 return _portletPreferencesLocalService.dynamicQuery();
088 }
089
090
097 @SuppressWarnings("rawtypes")
098 public java.util.List dynamicQuery(
099 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
100 throws com.liferay.portal.kernel.exception.SystemException {
101 return _portletPreferencesLocalService.dynamicQuery(dynamicQuery);
102 }
103
104
117 @SuppressWarnings("rawtypes")
118 public java.util.List dynamicQuery(
119 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
120 int end) throws com.liferay.portal.kernel.exception.SystemException {
121 return _portletPreferencesLocalService.dynamicQuery(dynamicQuery,
122 start, end);
123 }
124
125
139 @SuppressWarnings("rawtypes")
140 public java.util.List dynamicQuery(
141 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
142 int end,
143 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
144 throws com.liferay.portal.kernel.exception.SystemException {
145 return _portletPreferencesLocalService.dynamicQuery(dynamicQuery,
146 start, end, orderByComparator);
147 }
148
149
156 public long dynamicQueryCount(
157 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
158 throws com.liferay.portal.kernel.exception.SystemException {
159 return _portletPreferencesLocalService.dynamicQueryCount(dynamicQuery);
160 }
161
162 public com.liferay.portal.model.PortletPreferences fetchPortletPreferences(
163 long portletPreferencesId)
164 throws com.liferay.portal.kernel.exception.SystemException {
165 return _portletPreferencesLocalService.fetchPortletPreferences(portletPreferencesId);
166 }
167
168
176 public com.liferay.portal.model.PortletPreferences getPortletPreferences(
177 long portletPreferencesId)
178 throws com.liferay.portal.kernel.exception.PortalException,
179 com.liferay.portal.kernel.exception.SystemException {
180 return _portletPreferencesLocalService.getPortletPreferences(portletPreferencesId);
181 }
182
183 public com.liferay.portal.model.PersistedModel getPersistedModel(
184 java.io.Serializable primaryKeyObj)
185 throws com.liferay.portal.kernel.exception.PortalException,
186 com.liferay.portal.kernel.exception.SystemException {
187 return _portletPreferencesLocalService.getPersistedModel(primaryKeyObj);
188 }
189
190
202 public java.util.List<com.liferay.portal.model.PortletPreferences> getPortletPreferenceses(
203 int start, int end)
204 throws com.liferay.portal.kernel.exception.SystemException {
205 return _portletPreferencesLocalService.getPortletPreferenceses(start,
206 end);
207 }
208
209
215 public int getPortletPreferencesesCount()
216 throws com.liferay.portal.kernel.exception.SystemException {
217 return _portletPreferencesLocalService.getPortletPreferencesesCount();
218 }
219
220
227 public com.liferay.portal.model.PortletPreferences updatePortletPreferences(
228 com.liferay.portal.model.PortletPreferences portletPreferences)
229 throws com.liferay.portal.kernel.exception.SystemException {
230 return _portletPreferencesLocalService.updatePortletPreferences(portletPreferences);
231 }
232
233
238 public java.lang.String getBeanIdentifier() {
239 return _portletPreferencesLocalService.getBeanIdentifier();
240 }
241
242
247 public void setBeanIdentifier(java.lang.String beanIdentifier) {
248 _portletPreferencesLocalService.setBeanIdentifier(beanIdentifier);
249 }
250
251 public com.liferay.portal.model.PortletPreferences addPortletPreferences(
252 long companyId, long ownerId, int ownerType, long plid,
253 java.lang.String portletId, com.liferay.portal.model.Portlet portlet,
254 java.lang.String defaultPreferences)
255 throws com.liferay.portal.kernel.exception.SystemException {
256 return _portletPreferencesLocalService.addPortletPreferences(companyId,
257 ownerId, ownerType, plid, portletId, portlet, defaultPreferences);
258 }
259
260 public void deletePortletPreferences(long ownerId, int ownerType, long plid)
261 throws com.liferay.portal.kernel.exception.SystemException {
262 _portletPreferencesLocalService.deletePortletPreferences(ownerId,
263 ownerType, plid);
264 }
265
266 public void deletePortletPreferences(long ownerId, int ownerType,
267 long plid, java.lang.String portletId)
268 throws com.liferay.portal.kernel.exception.PortalException,
269 com.liferay.portal.kernel.exception.SystemException {
270 _portletPreferencesLocalService.deletePortletPreferences(ownerId,
271 ownerType, plid, portletId);
272 }
273
274 public void deletePortletPreferencesByPlid(long plid)
275 throws com.liferay.portal.kernel.exception.SystemException {
276 _portletPreferencesLocalService.deletePortletPreferencesByPlid(plid);
277 }
278
279 public javax.portlet.PortletPreferences getDefaultPreferences(
280 long companyId, java.lang.String portletId)
281 throws com.liferay.portal.kernel.exception.SystemException {
282 return _portletPreferencesLocalService.getDefaultPreferences(companyId,
283 portletId);
284 }
285
286 public java.util.List<com.liferay.portal.model.PortletPreferences> getPortletPreferences()
287 throws com.liferay.portal.kernel.exception.SystemException {
288 return _portletPreferencesLocalService.getPortletPreferences();
289 }
290
291 public java.util.List<com.liferay.portal.model.PortletPreferences> getPortletPreferences(
292 int ownerType, long plid, java.lang.String portletId)
293 throws com.liferay.portal.kernel.exception.SystemException {
294 return _portletPreferencesLocalService.getPortletPreferences(ownerType,
295 plid, portletId);
296 }
297
298 public java.util.List<com.liferay.portal.model.PortletPreferences> getPortletPreferences(
299 long ownerId, int ownerType, long plid)
300 throws com.liferay.portal.kernel.exception.SystemException {
301 return _portletPreferencesLocalService.getPortletPreferences(ownerId,
302 ownerType, plid);
303 }
304
305 public com.liferay.portal.model.PortletPreferences getPortletPreferences(
306 long ownerId, int ownerType, long plid, java.lang.String portletId)
307 throws com.liferay.portal.kernel.exception.PortalException,
308 com.liferay.portal.kernel.exception.SystemException {
309 return _portletPreferencesLocalService.getPortletPreferences(ownerId,
310 ownerType, plid, portletId);
311 }
312
313 public java.util.List<com.liferay.portal.model.PortletPreferences> getPortletPreferences(
314 long companyId, long groupId, long ownerId, int ownerType,
315 java.lang.String portletId, boolean privateLayout)
316 throws com.liferay.portal.kernel.exception.SystemException {
317 return _portletPreferencesLocalService.getPortletPreferences(companyId,
318 groupId, ownerId, ownerType, portletId, privateLayout);
319 }
320
321 public java.util.List<com.liferay.portal.model.PortletPreferences> getPortletPreferences(
322 long plid, java.lang.String portletId)
323 throws com.liferay.portal.kernel.exception.SystemException {
324 return _portletPreferencesLocalService.getPortletPreferences(plid,
325 portletId);
326 }
327
328 public java.util.List<com.liferay.portal.model.PortletPreferences> getPortletPreferencesByPlid(
329 long plid) throws com.liferay.portal.kernel.exception.SystemException {
330 return _portletPreferencesLocalService.getPortletPreferencesByPlid(plid);
331 }
332
333 public long getPortletPreferencesCount(int ownerType, long plid,
334 java.lang.String portletId)
335 throws com.liferay.portal.kernel.exception.SystemException {
336 return _portletPreferencesLocalService.getPortletPreferencesCount(ownerType,
337 plid, portletId);
338 }
339
340 public javax.portlet.PortletPreferences getPreferences(long companyId,
341 long ownerId, int ownerType, long plid, java.lang.String portletId)
342 throws com.liferay.portal.kernel.exception.SystemException {
343 return _portletPreferencesLocalService.getPreferences(companyId,
344 ownerId, ownerType, plid, portletId);
345 }
346
347 public javax.portlet.PortletPreferences getPreferences(long companyId,
348 long ownerId, int ownerType, long plid, java.lang.String portletId,
349 java.lang.String defaultPreferences)
350 throws com.liferay.portal.kernel.exception.SystemException {
351 return _portletPreferencesLocalService.getPreferences(companyId,
352 ownerId, ownerType, plid, portletId, defaultPreferences);
353 }
354
355 public javax.portlet.PortletPreferences getPreferences(
356 com.liferay.portal.model.PortletPreferencesIds portletPreferencesIds)
357 throws com.liferay.portal.kernel.exception.SystemException {
358 return _portletPreferencesLocalService.getPreferences(portletPreferencesIds);
359 }
360
361 public javax.portlet.PortletPreferences getStrictPreferences(
362 long companyId, long ownerId, int ownerType, long plid,
363 java.lang.String portletId)
364 throws com.liferay.portal.kernel.exception.SystemException {
365 return _portletPreferencesLocalService.getStrictPreferences(companyId,
366 ownerId, ownerType, plid, portletId);
367 }
368
369 public javax.portlet.PortletPreferences getStrictPreferences(
370 com.liferay.portal.model.PortletPreferencesIds portletPreferencesIds)
371 throws com.liferay.portal.kernel.exception.SystemException {
372 return _portletPreferencesLocalService.getStrictPreferences(portletPreferencesIds);
373 }
374
375 public com.liferay.portal.model.PortletPreferences updatePreferences(
376 long ownerId, int ownerType, long plid, java.lang.String portletId,
377 javax.portlet.PortletPreferences portletPreferences)
378 throws com.liferay.portal.kernel.exception.SystemException {
379 return _portletPreferencesLocalService.updatePreferences(ownerId,
380 ownerType, plid, portletId, portletPreferences);
381 }
382
383 public com.liferay.portal.model.PortletPreferences updatePreferences(
384 long ownerId, int ownerType, long plid, java.lang.String portletId,
385 java.lang.String xml)
386 throws com.liferay.portal.kernel.exception.SystemException {
387 return _portletPreferencesLocalService.updatePreferences(ownerId,
388 ownerType, plid, portletId, xml);
389 }
390
391
394 public PortletPreferencesLocalService getWrappedPortletPreferencesLocalService() {
395 return _portletPreferencesLocalService;
396 }
397
398
401 public void setWrappedPortletPreferencesLocalService(
402 PortletPreferencesLocalService portletPreferencesLocalService) {
403 _portletPreferencesLocalService = portletPreferencesLocalService;
404 }
405
406 public PortletPreferencesLocalService getWrappedService() {
407 return _portletPreferencesLocalService;
408 }
409
410 public void setWrappedService(
411 PortletPreferencesLocalService portletPreferencesLocalService) {
412 _portletPreferencesLocalService = portletPreferencesLocalService;
413 }
414
415 private PortletPreferencesLocalService _portletPreferencesLocalService;
416 }