1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portal.service;
16  
17  
18  /**
19   * <a href="PortletPreferencesLocalServiceUtil.java.html"><b><i>View Source</i></b></a>
20   *
21   * <p>
22   * ServiceBuilder generated this class. Modifications in this class will be
23   * overwritten the next time is generated.
24   * </p>
25   *
26   * <p>
27   * This class is a wrapper for {@link PortletPreferencesLocalService}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       PortletPreferencesLocalService
32   * @generated
33   */
34  public class PortletPreferencesLocalServiceWrapper
35      implements PortletPreferencesLocalService {
36      public PortletPreferencesLocalServiceWrapper(
37          PortletPreferencesLocalService portletPreferencesLocalService) {
38          _portletPreferencesLocalService = portletPreferencesLocalService;
39      }
40  
41      public com.liferay.portal.model.PortletPreferences addPortletPreferences(
42          com.liferay.portal.model.PortletPreferences portletPreferences)
43          throws com.liferay.portal.SystemException {
44          return _portletPreferencesLocalService.addPortletPreferences(portletPreferences);
45      }
46  
47      public com.liferay.portal.model.PortletPreferences createPortletPreferences(
48          long portletPreferencesId) {
49          return _portletPreferencesLocalService.createPortletPreferences(portletPreferencesId);
50      }
51  
52      public void deletePortletPreferences(long portletPreferencesId)
53          throws com.liferay.portal.PortalException,
54              com.liferay.portal.SystemException {
55          _portletPreferencesLocalService.deletePortletPreferences(portletPreferencesId);
56      }
57  
58      public void deletePortletPreferences(
59          com.liferay.portal.model.PortletPreferences portletPreferences)
60          throws com.liferay.portal.SystemException {
61          _portletPreferencesLocalService.deletePortletPreferences(portletPreferences);
62      }
63  
64      public java.util.List<Object> dynamicQuery(
65          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
66          throws com.liferay.portal.SystemException {
67          return _portletPreferencesLocalService.dynamicQuery(dynamicQuery);
68      }
69  
70      public java.util.List<Object> dynamicQuery(
71          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
72          int end) throws com.liferay.portal.SystemException {
73          return _portletPreferencesLocalService.dynamicQuery(dynamicQuery,
74              start, end);
75      }
76  
77      public com.liferay.portal.model.PortletPreferences getPortletPreferences(
78          long portletPreferencesId)
79          throws com.liferay.portal.PortalException,
80              com.liferay.portal.SystemException {
81          return _portletPreferencesLocalService.getPortletPreferences(portletPreferencesId);
82      }
83  
84      public java.util.List<com.liferay.portal.model.PortletPreferences> getPortletPreferenceses(
85          int start, int end) throws com.liferay.portal.SystemException {
86          return _portletPreferencesLocalService.getPortletPreferenceses(start,
87              end);
88      }
89  
90      public int getPortletPreferencesesCount()
91          throws com.liferay.portal.SystemException {
92          return _portletPreferencesLocalService.getPortletPreferencesesCount();
93      }
94  
95      public com.liferay.portal.model.PortletPreferences updatePortletPreferences(
96          com.liferay.portal.model.PortletPreferences portletPreferences)
97          throws com.liferay.portal.SystemException {
98          return _portletPreferencesLocalService.updatePortletPreferences(portletPreferences);
99      }
100 
101     public com.liferay.portal.model.PortletPreferences updatePortletPreferences(
102         com.liferay.portal.model.PortletPreferences portletPreferences,
103         boolean merge) throws com.liferay.portal.SystemException {
104         return _portletPreferencesLocalService.updatePortletPreferences(portletPreferences,
105             merge);
106     }
107 
108     public com.liferay.portal.model.PortletPreferences addPortletPreferences(
109         long companyId, long ownerId, int ownerType, long plid,
110         java.lang.String portletId, com.liferay.portal.model.Portlet portlet,
111         java.lang.String defaultPreferences)
112         throws com.liferay.portal.SystemException {
113         return _portletPreferencesLocalService.addPortletPreferences(companyId,
114             ownerId, ownerType, plid, portletId, portlet, defaultPreferences);
115     }
116 
117     public void deletePortletPreferences(long ownerId, int ownerType, long plid)
118         throws com.liferay.portal.SystemException {
119         _portletPreferencesLocalService.deletePortletPreferences(ownerId,
120             ownerType, plid);
121     }
122 
123     public void deletePortletPreferences(long ownerId, int ownerType,
124         long plid, java.lang.String portletId)
125         throws com.liferay.portal.PortalException,
126             com.liferay.portal.SystemException {
127         _portletPreferencesLocalService.deletePortletPreferences(ownerId,
128             ownerType, plid, portletId);
129     }
130 
131     public javax.portlet.PortletPreferences getDefaultPreferences(
132         long companyId, java.lang.String portletId)
133         throws com.liferay.portal.SystemException {
134         return _portletPreferencesLocalService.getDefaultPreferences(companyId,
135             portletId);
136     }
137 
138     public java.util.List<com.liferay.portal.model.PortletPreferences> getPortletPreferences()
139         throws com.liferay.portal.SystemException {
140         return _portletPreferencesLocalService.getPortletPreferences();
141     }
142 
143     public java.util.List<com.liferay.portal.model.PortletPreferences> getPortletPreferences(
144         long plid, java.lang.String portletId)
145         throws com.liferay.portal.SystemException {
146         return _portletPreferencesLocalService.getPortletPreferences(plid,
147             portletId);
148     }
149 
150     public java.util.List<com.liferay.portal.model.PortletPreferences> getPortletPreferences(
151         long ownerId, int ownerType, long plid)
152         throws com.liferay.portal.SystemException {
153         return _portletPreferencesLocalService.getPortletPreferences(ownerId,
154             ownerType, plid);
155     }
156 
157     public com.liferay.portal.model.PortletPreferences getPortletPreferences(
158         long ownerId, int ownerType, long plid, java.lang.String portletId)
159         throws com.liferay.portal.PortalException,
160             com.liferay.portal.SystemException {
161         return _portletPreferencesLocalService.getPortletPreferences(ownerId,
162             ownerType, plid, portletId);
163     }
164 
165     public java.util.List<com.liferay.portal.model.PortletPreferences> getPortletPreferencesByPlid(
166         long plid) throws com.liferay.portal.SystemException {
167         return _portletPreferencesLocalService.getPortletPreferencesByPlid(plid);
168     }
169 
170     public javax.portlet.PortletPreferences getPreferences(
171         com.liferay.portal.model.PortletPreferencesIds portletPreferencesIds)
172         throws com.liferay.portal.SystemException {
173         return _portletPreferencesLocalService.getPreferences(portletPreferencesIds);
174     }
175 
176     public javax.portlet.PortletPreferences getPreferences(long companyId,
177         long ownerId, int ownerType, long plid, java.lang.String portletId)
178         throws com.liferay.portal.SystemException {
179         return _portletPreferencesLocalService.getPreferences(companyId,
180             ownerId, ownerType, plid, portletId);
181     }
182 
183     public javax.portlet.PortletPreferences getPreferences(long companyId,
184         long ownerId, int ownerType, long plid, java.lang.String portletId,
185         java.lang.String defaultPreferences)
186         throws com.liferay.portal.SystemException {
187         return _portletPreferencesLocalService.getPreferences(companyId,
188             ownerId, ownerType, plid, portletId, defaultPreferences);
189     }
190 
191     public com.liferay.portal.model.PortletPreferences updatePreferences(
192         long ownerId, int ownerType, long plid, java.lang.String portletId,
193         javax.portlet.PortletPreferences preferences)
194         throws com.liferay.portal.SystemException {
195         return _portletPreferencesLocalService.updatePreferences(ownerId,
196             ownerType, plid, portletId, preferences);
197     }
198 
199     public com.liferay.portal.model.PortletPreferences updatePreferences(
200         long ownerId, int ownerType, long plid, java.lang.String portletId,
201         java.lang.String xml) throws com.liferay.portal.SystemException {
202         return _portletPreferencesLocalService.updatePreferences(ownerId,
203             ownerType, plid, portletId, xml);
204     }
205 
206     public PortletPreferencesLocalService getWrappedPortletPreferencesLocalService() {
207         return _portletPreferencesLocalService;
208     }
209 
210     private PortletPreferencesLocalService _portletPreferencesLocalService;
211 }