1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * The contents of this file are subject to the terms of the Liferay Enterprise
5    * Subscription License ("License"). You may not use this file except in
6    * compliance with the License. You can obtain a copy of the License by
7    * contacting Liferay, Inc. See the License for the specific language governing
8    * permissions and limitations under the License, including but not limited to
9    * distribution rights of the Software.
10   *
11   *
12   *
13   */
14  
15  package com.liferay.portal.service;
16  
17  /**
18   * <a href="PortletPreferencesLocalServiceUtil.java.html"><b><i>View Source</i></b></a>
19   *
20   * <p>
21   * ServiceBuilder generated this class. Modifications in this class will be
22   * overwritten the next time is generated.
23   * </p>
24   *
25   * <p>
26   * This class is a wrapper for {@link PortletPreferencesLocalService}.
27   * </p>
28   *
29   * @author    Brian Wing Shun Chan
30   * @see       PortletPreferencesLocalService
31   * @generated
32   */
33  public class PortletPreferencesLocalServiceWrapper
34      implements PortletPreferencesLocalService {
35      public PortletPreferencesLocalServiceWrapper(
36          PortletPreferencesLocalService portletPreferencesLocalService) {
37          _portletPreferencesLocalService = portletPreferencesLocalService;
38      }
39  
40      public com.liferay.portal.model.PortletPreferences addPortletPreferences(
41          com.liferay.portal.model.PortletPreferences portletPreferences)
42          throws com.liferay.portal.SystemException {
43          return _portletPreferencesLocalService.addPortletPreferences(portletPreferences);
44      }
45  
46      public com.liferay.portal.model.PortletPreferences createPortletPreferences(
47          long portletPreferencesId) {
48          return _portletPreferencesLocalService.createPortletPreferences(portletPreferencesId);
49      }
50  
51      public void deletePortletPreferences(long portletPreferencesId)
52          throws com.liferay.portal.PortalException,
53              com.liferay.portal.SystemException {
54          _portletPreferencesLocalService.deletePortletPreferences(portletPreferencesId);
55      }
56  
57      public void deletePortletPreferences(
58          com.liferay.portal.model.PortletPreferences portletPreferences)
59          throws com.liferay.portal.SystemException {
60          _portletPreferencesLocalService.deletePortletPreferences(portletPreferences);
61      }
62  
63      @SuppressWarnings("rawtypes")
64      public java.util.List dynamicQuery(
65          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
66          throws com.liferay.portal.SystemException {
67          return _portletPreferencesLocalService.dynamicQuery(dynamicQuery);
68      }
69  
70      @SuppressWarnings("rawtypes")
71      public java.util.List dynamicQuery(
72          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
73          int end) throws com.liferay.portal.SystemException {
74          return _portletPreferencesLocalService.dynamicQuery(dynamicQuery,
75              start, end);
76      }
77  
78      @SuppressWarnings("rawtypes")
79      public java.util.List dynamicQuery(
80          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
81          int end,
82          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
83          throws com.liferay.portal.SystemException {
84          return _portletPreferencesLocalService.dynamicQuery(dynamicQuery,
85              start, end, orderByComparator);
86      }
87  
88      public int dynamicQueryCount(
89          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
90          throws com.liferay.portal.SystemException {
91          return _portletPreferencesLocalService.dynamicQueryCount(dynamicQuery);
92      }
93  
94      public com.liferay.portal.model.PortletPreferences getPortletPreferences(
95          long portletPreferencesId)
96          throws com.liferay.portal.PortalException,
97              com.liferay.portal.SystemException {
98          return _portletPreferencesLocalService.getPortletPreferences(portletPreferencesId);
99      }
100 
101     public java.util.List<com.liferay.portal.model.PortletPreferences> getPortletPreferenceses(
102         int start, int end) throws com.liferay.portal.SystemException {
103         return _portletPreferencesLocalService.getPortletPreferenceses(start,
104             end);
105     }
106 
107     public int getPortletPreferencesesCount()
108         throws com.liferay.portal.SystemException {
109         return _portletPreferencesLocalService.getPortletPreferencesesCount();
110     }
111 
112     public com.liferay.portal.model.PortletPreferences updatePortletPreferences(
113         com.liferay.portal.model.PortletPreferences portletPreferences)
114         throws com.liferay.portal.SystemException {
115         return _portletPreferencesLocalService.updatePortletPreferences(portletPreferences);
116     }
117 
118     public com.liferay.portal.model.PortletPreferences updatePortletPreferences(
119         com.liferay.portal.model.PortletPreferences portletPreferences,
120         boolean merge) throws com.liferay.portal.SystemException {
121         return _portletPreferencesLocalService.updatePortletPreferences(portletPreferences,
122             merge);
123     }
124 
125     public com.liferay.portal.model.PortletPreferences addPortletPreferences(
126         long companyId, long ownerId, int ownerType, long plid,
127         java.lang.String portletId, com.liferay.portal.model.Portlet portlet,
128         java.lang.String defaultPreferences)
129         throws com.liferay.portal.SystemException {
130         return _portletPreferencesLocalService.addPortletPreferences(companyId,
131             ownerId, ownerType, plid, portletId, portlet, defaultPreferences);
132     }
133 
134     public void deletePortletPreferences(long ownerId, int ownerType, long plid)
135         throws com.liferay.portal.SystemException {
136         _portletPreferencesLocalService.deletePortletPreferences(ownerId,
137             ownerType, plid);
138     }
139 
140     public void deletePortletPreferences(long ownerId, int ownerType,
141         long plid, java.lang.String portletId)
142         throws com.liferay.portal.PortalException,
143             com.liferay.portal.SystemException {
144         _portletPreferencesLocalService.deletePortletPreferences(ownerId,
145             ownerType, plid, portletId);
146     }
147 
148     public javax.portlet.PortletPreferences getDefaultPreferences(
149         long companyId, java.lang.String portletId)
150         throws com.liferay.portal.SystemException {
151         return _portletPreferencesLocalService.getDefaultPreferences(companyId,
152             portletId);
153     }
154 
155     public java.util.List<com.liferay.portal.model.PortletPreferences> getPortletPreferences()
156         throws com.liferay.portal.SystemException {
157         return _portletPreferencesLocalService.getPortletPreferences();
158     }
159 
160     public java.util.List<com.liferay.portal.model.PortletPreferences> getPortletPreferences(
161         long plid, java.lang.String portletId)
162         throws com.liferay.portal.SystemException {
163         return _portletPreferencesLocalService.getPortletPreferences(plid,
164             portletId);
165     }
166 
167     public java.util.List<com.liferay.portal.model.PortletPreferences> getPortletPreferences(
168         long ownerId, int ownerType, long plid)
169         throws com.liferay.portal.SystemException {
170         return _portletPreferencesLocalService.getPortletPreferences(ownerId,
171             ownerType, plid);
172     }
173 
174     public com.liferay.portal.model.PortletPreferences getPortletPreferences(
175         long ownerId, int ownerType, long plid, java.lang.String portletId)
176         throws com.liferay.portal.PortalException,
177             com.liferay.portal.SystemException {
178         return _portletPreferencesLocalService.getPortletPreferences(ownerId,
179             ownerType, plid, portletId);
180     }
181 
182     public java.util.List<com.liferay.portal.model.PortletPreferences> getPortletPreferencesByPlid(
183         long plid) throws com.liferay.portal.SystemException {
184         return _portletPreferencesLocalService.getPortletPreferencesByPlid(plid);
185     }
186 
187     public javax.portlet.PortletPreferences getPreferences(
188         com.liferay.portal.model.PortletPreferencesIds portletPreferencesIds)
189         throws com.liferay.portal.SystemException {
190         return _portletPreferencesLocalService.getPreferences(portletPreferencesIds);
191     }
192 
193     public javax.portlet.PortletPreferences getPreferences(long companyId,
194         long ownerId, int ownerType, long plid, java.lang.String portletId)
195         throws com.liferay.portal.SystemException {
196         return _portletPreferencesLocalService.getPreferences(companyId,
197             ownerId, ownerType, plid, portletId);
198     }
199 
200     public javax.portlet.PortletPreferences getPreferences(long companyId,
201         long ownerId, int ownerType, long plid, java.lang.String portletId,
202         java.lang.String defaultPreferences)
203         throws com.liferay.portal.SystemException {
204         return _portletPreferencesLocalService.getPreferences(companyId,
205             ownerId, ownerType, plid, portletId, defaultPreferences);
206     }
207 
208     public com.liferay.portal.model.PortletPreferences updatePreferences(
209         long ownerId, int ownerType, long plid, java.lang.String portletId,
210         javax.portlet.PortletPreferences preferences)
211         throws com.liferay.portal.SystemException {
212         return _portletPreferencesLocalService.updatePreferences(ownerId,
213             ownerType, plid, portletId, preferences);
214     }
215 
216     public com.liferay.portal.model.PortletPreferences updatePreferences(
217         long ownerId, int ownerType, long plid, java.lang.String portletId,
218         java.lang.String xml) throws com.liferay.portal.SystemException {
219         return _portletPreferencesLocalService.updatePreferences(ownerId,
220             ownerType, plid, portletId, xml);
221     }
222 
223     public PortletPreferencesLocalService getWrappedPortletPreferencesLocalService() {
224         return _portletPreferencesLocalService;
225     }
226 
227     private PortletPreferencesLocalService _portletPreferencesLocalService;
228 }