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 java.util.List<Object> dynamicQuery(
78          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
79          int end,
80          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
81          throws com.liferay.portal.SystemException {
82          return _portletPreferencesLocalService.dynamicQuery(dynamicQuery,
83              start, end, orderByComparator);
84      }
85  
86      public int dynamicQueryCount(
87          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
88          throws com.liferay.portal.SystemException {
89          return _portletPreferencesLocalService.dynamicQueryCount(dynamicQuery);
90      }
91  
92      public com.liferay.portal.model.PortletPreferences getPortletPreferences(
93          long portletPreferencesId)
94          throws com.liferay.portal.PortalException,
95              com.liferay.portal.SystemException {
96          return _portletPreferencesLocalService.getPortletPreferences(portletPreferencesId);
97      }
98  
99      public java.util.List<com.liferay.portal.model.PortletPreferences> getPortletPreferenceses(
100         int start, int end) throws com.liferay.portal.SystemException {
101         return _portletPreferencesLocalService.getPortletPreferenceses(start,
102             end);
103     }
104 
105     public int getPortletPreferencesesCount()
106         throws com.liferay.portal.SystemException {
107         return _portletPreferencesLocalService.getPortletPreferencesesCount();
108     }
109 
110     public com.liferay.portal.model.PortletPreferences updatePortletPreferences(
111         com.liferay.portal.model.PortletPreferences portletPreferences)
112         throws com.liferay.portal.SystemException {
113         return _portletPreferencesLocalService.updatePortletPreferences(portletPreferences);
114     }
115 
116     public com.liferay.portal.model.PortletPreferences updatePortletPreferences(
117         com.liferay.portal.model.PortletPreferences portletPreferences,
118         boolean merge) throws com.liferay.portal.SystemException {
119         return _portletPreferencesLocalService.updatePortletPreferences(portletPreferences,
120             merge);
121     }
122 
123     public com.liferay.portal.model.PortletPreferences addPortletPreferences(
124         long companyId, long ownerId, int ownerType, long plid,
125         java.lang.String portletId, com.liferay.portal.model.Portlet portlet,
126         java.lang.String defaultPreferences)
127         throws com.liferay.portal.SystemException {
128         return _portletPreferencesLocalService.addPortletPreferences(companyId,
129             ownerId, ownerType, plid, portletId, portlet, defaultPreferences);
130     }
131 
132     public void deletePortletPreferences(long ownerId, int ownerType, long plid)
133         throws com.liferay.portal.SystemException {
134         _portletPreferencesLocalService.deletePortletPreferences(ownerId,
135             ownerType, plid);
136     }
137 
138     public void deletePortletPreferences(long ownerId, int ownerType,
139         long plid, java.lang.String portletId)
140         throws com.liferay.portal.PortalException,
141             com.liferay.portal.SystemException {
142         _portletPreferencesLocalService.deletePortletPreferences(ownerId,
143             ownerType, plid, portletId);
144     }
145 
146     public javax.portlet.PortletPreferences getDefaultPreferences(
147         long companyId, java.lang.String portletId)
148         throws com.liferay.portal.SystemException {
149         return _portletPreferencesLocalService.getDefaultPreferences(companyId,
150             portletId);
151     }
152 
153     public java.util.List<com.liferay.portal.model.PortletPreferences> getPortletPreferences()
154         throws com.liferay.portal.SystemException {
155         return _portletPreferencesLocalService.getPortletPreferences();
156     }
157 
158     public java.util.List<com.liferay.portal.model.PortletPreferences> getPortletPreferences(
159         long plid, java.lang.String portletId)
160         throws com.liferay.portal.SystemException {
161         return _portletPreferencesLocalService.getPortletPreferences(plid,
162             portletId);
163     }
164 
165     public java.util.List<com.liferay.portal.model.PortletPreferences> getPortletPreferences(
166         long ownerId, int ownerType, long plid)
167         throws com.liferay.portal.SystemException {
168         return _portletPreferencesLocalService.getPortletPreferences(ownerId,
169             ownerType, plid);
170     }
171 
172     public com.liferay.portal.model.PortletPreferences getPortletPreferences(
173         long ownerId, int ownerType, long plid, java.lang.String portletId)
174         throws com.liferay.portal.PortalException,
175             com.liferay.portal.SystemException {
176         return _portletPreferencesLocalService.getPortletPreferences(ownerId,
177             ownerType, plid, portletId);
178     }
179 
180     public java.util.List<com.liferay.portal.model.PortletPreferences> getPortletPreferencesByPlid(
181         long plid) throws com.liferay.portal.SystemException {
182         return _portletPreferencesLocalService.getPortletPreferencesByPlid(plid);
183     }
184 
185     public javax.portlet.PortletPreferences getPreferences(
186         com.liferay.portal.model.PortletPreferencesIds portletPreferencesIds)
187         throws com.liferay.portal.SystemException {
188         return _portletPreferencesLocalService.getPreferences(portletPreferencesIds);
189     }
190 
191     public javax.portlet.PortletPreferences getPreferences(long companyId,
192         long ownerId, int ownerType, long plid, java.lang.String portletId)
193         throws com.liferay.portal.SystemException {
194         return _portletPreferencesLocalService.getPreferences(companyId,
195             ownerId, ownerType, plid, portletId);
196     }
197 
198     public javax.portlet.PortletPreferences getPreferences(long companyId,
199         long ownerId, int ownerType, long plid, java.lang.String portletId,
200         java.lang.String defaultPreferences)
201         throws com.liferay.portal.SystemException {
202         return _portletPreferencesLocalService.getPreferences(companyId,
203             ownerId, ownerType, plid, portletId, defaultPreferences);
204     }
205 
206     public com.liferay.portal.model.PortletPreferences updatePreferences(
207         long ownerId, int ownerType, long plid, java.lang.String portletId,
208         javax.portlet.PortletPreferences preferences)
209         throws com.liferay.portal.SystemException {
210         return _portletPreferencesLocalService.updatePreferences(ownerId,
211             ownerType, plid, portletId, preferences);
212     }
213 
214     public com.liferay.portal.model.PortletPreferences updatePreferences(
215         long ownerId, int ownerType, long plid, java.lang.String portletId,
216         java.lang.String xml) throws com.liferay.portal.SystemException {
217         return _portletPreferencesLocalService.updatePreferences(ownerId,
218             ownerType, plid, portletId, xml);
219     }
220 
221     public PortletPreferencesLocalService getWrappedPortletPreferencesLocalService() {
222         return _portletPreferencesLocalService;
223     }
224 
225     private PortletPreferencesLocalService _portletPreferencesLocalService;
226 }