1   /**
2    * Copyright (c) 2000-2009 Liferay, Inc. All rights reserved.
3    *
4    * Permission is hereby granted, free of charge, to any person obtaining a copy
5    * of this software and associated documentation files (the "Software"), to deal
6    * in the Software without restriction, including without limitation the rights
7    * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8    * copies of the Software, and to permit persons to whom the Software is
9    * furnished to do so, subject to the following conditions:
10   *
11   * The above copyright notice and this permission notice shall be included in
12   * all copies or substantial portions of the Software.
13   *
14   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20   * SOFTWARE.
21   */
22  
23  package com.liferay.portal.service;
24  
25  
26  /**
27   * <a href="PortletPreferencesLocalServiceUtil.java.html"><b><i>View Source</i></b></a>
28   *
29   * <p>
30   * ServiceBuilder generated this class. Modifications in this class will be
31   * overwritten the next time is generated.
32   * </p>
33   *
34   * <p>
35   * This class is a wrapper for {@link PortletPreferencesLocalService}.
36   * </p>
37   *
38   * @author    Brian Wing Shun Chan
39   * @see       PortletPreferencesLocalService
40   * @generated
41   */
42  public class PortletPreferencesLocalServiceWrapper
43      implements PortletPreferencesLocalService {
44      public PortletPreferencesLocalServiceWrapper(
45          PortletPreferencesLocalService portletPreferencesLocalService) {
46          _portletPreferencesLocalService = portletPreferencesLocalService;
47      }
48  
49      public com.liferay.portal.model.PortletPreferences addPortletPreferences(
50          com.liferay.portal.model.PortletPreferences portletPreferences)
51          throws com.liferay.portal.SystemException {
52          return _portletPreferencesLocalService.addPortletPreferences(portletPreferences);
53      }
54  
55      public com.liferay.portal.model.PortletPreferences createPortletPreferences(
56          long portletPreferencesId) {
57          return _portletPreferencesLocalService.createPortletPreferences(portletPreferencesId);
58      }
59  
60      public void deletePortletPreferences(long portletPreferencesId)
61          throws com.liferay.portal.PortalException,
62              com.liferay.portal.SystemException {
63          _portletPreferencesLocalService.deletePortletPreferences(portletPreferencesId);
64      }
65  
66      public void deletePortletPreferences(
67          com.liferay.portal.model.PortletPreferences portletPreferences)
68          throws com.liferay.portal.SystemException {
69          _portletPreferencesLocalService.deletePortletPreferences(portletPreferences);
70      }
71  
72      public java.util.List<Object> dynamicQuery(
73          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
74          throws com.liferay.portal.SystemException {
75          return _portletPreferencesLocalService.dynamicQuery(dynamicQuery);
76      }
77  
78      public java.util.List<Object> dynamicQuery(
79          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
80          int end) throws com.liferay.portal.SystemException {
81          return _portletPreferencesLocalService.dynamicQuery(dynamicQuery,
82              start, end);
83      }
84  
85      public com.liferay.portal.model.PortletPreferences getPortletPreferences(
86          long portletPreferencesId)
87          throws com.liferay.portal.PortalException,
88              com.liferay.portal.SystemException {
89          return _portletPreferencesLocalService.getPortletPreferences(portletPreferencesId);
90      }
91  
92      public java.util.List<com.liferay.portal.model.PortletPreferences> getPortletPreferenceses(
93          int start, int end) throws com.liferay.portal.SystemException {
94          return _portletPreferencesLocalService.getPortletPreferenceses(start,
95              end);
96      }
97  
98      public int getPortletPreferencesesCount()
99          throws com.liferay.portal.SystemException {
100         return _portletPreferencesLocalService.getPortletPreferencesesCount();
101     }
102 
103     public com.liferay.portal.model.PortletPreferences updatePortletPreferences(
104         com.liferay.portal.model.PortletPreferences portletPreferences)
105         throws com.liferay.portal.SystemException {
106         return _portletPreferencesLocalService.updatePortletPreferences(portletPreferences);
107     }
108 
109     public com.liferay.portal.model.PortletPreferences updatePortletPreferences(
110         com.liferay.portal.model.PortletPreferences portletPreferences,
111         boolean merge) throws com.liferay.portal.SystemException {
112         return _portletPreferencesLocalService.updatePortletPreferences(portletPreferences,
113             merge);
114     }
115 
116     public com.liferay.portal.model.PortletPreferences addPortletPreferences(
117         long companyId, long ownerId, int ownerType, long plid,
118         java.lang.String portletId, com.liferay.portal.model.Portlet portlet,
119         java.lang.String defaultPreferences)
120         throws com.liferay.portal.SystemException {
121         return _portletPreferencesLocalService.addPortletPreferences(companyId,
122             ownerId, ownerType, plid, portletId, portlet, defaultPreferences);
123     }
124 
125     public void deletePortletPreferences(long ownerId, int ownerType, long plid)
126         throws com.liferay.portal.SystemException {
127         _portletPreferencesLocalService.deletePortletPreferences(ownerId,
128             ownerType, plid);
129     }
130 
131     public void deletePortletPreferences(long ownerId, int ownerType,
132         long plid, java.lang.String portletId)
133         throws com.liferay.portal.PortalException,
134             com.liferay.portal.SystemException {
135         _portletPreferencesLocalService.deletePortletPreferences(ownerId,
136             ownerType, plid, portletId);
137     }
138 
139     public javax.portlet.PortletPreferences getDefaultPreferences(
140         long companyId, java.lang.String portletId)
141         throws com.liferay.portal.SystemException {
142         return _portletPreferencesLocalService.getDefaultPreferences(companyId,
143             portletId);
144     }
145 
146     public java.util.List<com.liferay.portal.model.PortletPreferences> getPortletPreferences()
147         throws com.liferay.portal.SystemException {
148         return _portletPreferencesLocalService.getPortletPreferences();
149     }
150 
151     public java.util.List<com.liferay.portal.model.PortletPreferences> getPortletPreferences(
152         long plid, java.lang.String portletId)
153         throws com.liferay.portal.SystemException {
154         return _portletPreferencesLocalService.getPortletPreferences(plid,
155             portletId);
156     }
157 
158     public java.util.List<com.liferay.portal.model.PortletPreferences> getPortletPreferences(
159         long ownerId, int ownerType, long plid)
160         throws com.liferay.portal.SystemException {
161         return _portletPreferencesLocalService.getPortletPreferences(ownerId,
162             ownerType, plid);
163     }
164 
165     public com.liferay.portal.model.PortletPreferences getPortletPreferences(
166         long ownerId, int ownerType, long plid, java.lang.String portletId)
167         throws com.liferay.portal.PortalException,
168             com.liferay.portal.SystemException {
169         return _portletPreferencesLocalService.getPortletPreferences(ownerId,
170             ownerType, plid, portletId);
171     }
172 
173     public java.util.List<com.liferay.portal.model.PortletPreferences> getPortletPreferencesByPlid(
174         long plid) throws com.liferay.portal.SystemException {
175         return _portletPreferencesLocalService.getPortletPreferencesByPlid(plid);
176     }
177 
178     public javax.portlet.PortletPreferences getPreferences(
179         com.liferay.portal.model.PortletPreferencesIds portletPreferencesIds)
180         throws com.liferay.portal.SystemException {
181         return _portletPreferencesLocalService.getPreferences(portletPreferencesIds);
182     }
183 
184     public javax.portlet.PortletPreferences getPreferences(long companyId,
185         long ownerId, int ownerType, long plid, java.lang.String portletId)
186         throws com.liferay.portal.SystemException {
187         return _portletPreferencesLocalService.getPreferences(companyId,
188             ownerId, ownerType, plid, portletId);
189     }
190 
191     public javax.portlet.PortletPreferences getPreferences(long companyId,
192         long ownerId, int ownerType, long plid, java.lang.String portletId,
193         java.lang.String defaultPreferences)
194         throws com.liferay.portal.SystemException {
195         return _portletPreferencesLocalService.getPreferences(companyId,
196             ownerId, ownerType, plid, portletId, defaultPreferences);
197     }
198 
199     public com.liferay.portal.model.PortletPreferences updatePreferences(
200         long ownerId, int ownerType, long plid, java.lang.String portletId,
201         javax.portlet.PortletPreferences preferences)
202         throws com.liferay.portal.SystemException {
203         return _portletPreferencesLocalService.updatePreferences(ownerId,
204             ownerType, plid, portletId, preferences);
205     }
206 
207     public com.liferay.portal.model.PortletPreferences updatePreferences(
208         long ownerId, int ownerType, long plid, java.lang.String portletId,
209         java.lang.String xml) throws com.liferay.portal.SystemException {
210         return _portletPreferencesLocalService.updatePreferences(ownerId,
211             ownerType, plid, portletId, xml);
212     }
213 
214     public PortletPreferencesLocalService getWrappedPortletPreferencesLocalService() {
215         return _portletPreferencesLocalService;
216     }
217 
218     private PortletPreferencesLocalService _portletPreferencesLocalService;
219 }