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.kernel.exception.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.kernel.exception.PortalException,
54              com.liferay.portal.kernel.exception.SystemException {
55          _portletPreferencesLocalService.deletePortletPreferences(portletPreferencesId);
56      }
57  
58      public void deletePortletPreferences(
59          com.liferay.portal.model.PortletPreferences portletPreferences)
60          throws com.liferay.portal.kernel.exception.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.kernel.exception.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.kernel.exception.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.kernel.exception.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.kernel.exception.SystemException {
89          return _portletPreferencesLocalService.dynamicQueryCount(dynamicQuery);
90      }
91  
92      public com.liferay.portal.model.PortletPreferences getPortletPreferences(
93          long portletPreferencesId)
94          throws com.liferay.portal.kernel.exception.PortalException,
95              com.liferay.portal.kernel.exception.SystemException {
96          return _portletPreferencesLocalService.getPortletPreferences(portletPreferencesId);
97      }
98  
99      public java.util.List<com.liferay.portal.model.PortletPreferences> getPortletPreferenceses(
100         int start, int end)
101         throws com.liferay.portal.kernel.exception.SystemException {
102         return _portletPreferencesLocalService.getPortletPreferenceses(start,
103             end);
104     }
105 
106     public int getPortletPreferencesesCount()
107         throws com.liferay.portal.kernel.exception.SystemException {
108         return _portletPreferencesLocalService.getPortletPreferencesesCount();
109     }
110 
111     public com.liferay.portal.model.PortletPreferences updatePortletPreferences(
112         com.liferay.portal.model.PortletPreferences portletPreferences)
113         throws com.liferay.portal.kernel.exception.SystemException {
114         return _portletPreferencesLocalService.updatePortletPreferences(portletPreferences);
115     }
116 
117     public com.liferay.portal.model.PortletPreferences updatePortletPreferences(
118         com.liferay.portal.model.PortletPreferences portletPreferences,
119         boolean merge)
120         throws com.liferay.portal.kernel.exception.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.kernel.exception.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.kernel.exception.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.kernel.exception.PortalException,
143             com.liferay.portal.kernel.exception.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.kernel.exception.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.kernel.exception.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.kernel.exception.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.kernel.exception.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.kernel.exception.PortalException,
177             com.liferay.portal.kernel.exception.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.kernel.exception.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.kernel.exception.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.kernel.exception.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.kernel.exception.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.kernel.exception.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)
219         throws com.liferay.portal.kernel.exception.SystemException {
220         return _portletPreferencesLocalService.updatePreferences(ownerId,
221             ownerType, plid, portletId, xml);
222     }
223 
224     public PortletPreferencesLocalService getWrappedPortletPreferencesLocalService() {
225         return _portletPreferencesLocalService;
226     }
227 
228     private PortletPreferencesLocalService _portletPreferencesLocalService;
229 }