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