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="PluginSettingLocalServiceUtil.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 PluginSettingLocalService}.
36   * </p>
37   *
38   * @author    Brian Wing Shun Chan
39   * @see       PluginSettingLocalService
40   * @generated
41   */
42  public class PluginSettingLocalServiceWrapper
43      implements PluginSettingLocalService {
44      public PluginSettingLocalServiceWrapper(
45          PluginSettingLocalService pluginSettingLocalService) {
46          _pluginSettingLocalService = pluginSettingLocalService;
47      }
48  
49      public com.liferay.portal.model.PluginSetting addPluginSetting(
50          com.liferay.portal.model.PluginSetting pluginSetting)
51          throws com.liferay.portal.SystemException {
52          return _pluginSettingLocalService.addPluginSetting(pluginSetting);
53      }
54  
55      public com.liferay.portal.model.PluginSetting createPluginSetting(
56          long pluginSettingId) {
57          return _pluginSettingLocalService.createPluginSetting(pluginSettingId);
58      }
59  
60      public void deletePluginSetting(long pluginSettingId)
61          throws com.liferay.portal.PortalException,
62              com.liferay.portal.SystemException {
63          _pluginSettingLocalService.deletePluginSetting(pluginSettingId);
64      }
65  
66      public void deletePluginSetting(
67          com.liferay.portal.model.PluginSetting pluginSetting)
68          throws com.liferay.portal.SystemException {
69          _pluginSettingLocalService.deletePluginSetting(pluginSetting);
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 _pluginSettingLocalService.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 _pluginSettingLocalService.dynamicQuery(dynamicQuery, start, end);
82      }
83  
84      public com.liferay.portal.model.PluginSetting getPluginSetting(
85          long pluginSettingId)
86          throws com.liferay.portal.PortalException,
87              com.liferay.portal.SystemException {
88          return _pluginSettingLocalService.getPluginSetting(pluginSettingId);
89      }
90  
91      public java.util.List<com.liferay.portal.model.PluginSetting> getPluginSettings(
92          int start, int end) throws com.liferay.portal.SystemException {
93          return _pluginSettingLocalService.getPluginSettings(start, end);
94      }
95  
96      public int getPluginSettingsCount()
97          throws com.liferay.portal.SystemException {
98          return _pluginSettingLocalService.getPluginSettingsCount();
99      }
100 
101     public com.liferay.portal.model.PluginSetting updatePluginSetting(
102         com.liferay.portal.model.PluginSetting pluginSetting)
103         throws com.liferay.portal.SystemException {
104         return _pluginSettingLocalService.updatePluginSetting(pluginSetting);
105     }
106 
107     public com.liferay.portal.model.PluginSetting updatePluginSetting(
108         com.liferay.portal.model.PluginSetting pluginSetting, boolean merge)
109         throws com.liferay.portal.SystemException {
110         return _pluginSettingLocalService.updatePluginSetting(pluginSetting,
111             merge);
112     }
113 
114     public void checkPermission(long userId, java.lang.String pluginId,
115         java.lang.String pluginType) throws com.liferay.portal.PortalException {
116         _pluginSettingLocalService.checkPermission(userId, pluginId, pluginType);
117     }
118 
119     public com.liferay.portal.model.PluginSetting getDefaultPluginSetting() {
120         return _pluginSettingLocalService.getDefaultPluginSetting();
121     }
122 
123     public com.liferay.portal.model.PluginSetting getPluginSetting(
124         long companyId, java.lang.String pluginId, java.lang.String pluginType)
125         throws com.liferay.portal.SystemException {
126         return _pluginSettingLocalService.getPluginSetting(companyId, pluginId,
127             pluginType);
128     }
129 
130     public boolean hasPermission(long userId, java.lang.String pluginId,
131         java.lang.String pluginType) {
132         return _pluginSettingLocalService.hasPermission(userId, pluginId,
133             pluginType);
134     }
135 
136     public com.liferay.portal.model.PluginSetting updatePluginSetting(
137         long companyId, java.lang.String pluginId, java.lang.String pluginType,
138         java.lang.String roles, boolean active)
139         throws com.liferay.portal.SystemException {
140         return _pluginSettingLocalService.updatePluginSetting(companyId,
141             pluginId, pluginType, roles, active);
142     }
143 
144     public PluginSettingLocalService getWrappedPluginSettingLocalService() {
145         return _pluginSettingLocalService;
146     }
147 
148     private PluginSettingLocalService _pluginSettingLocalService;
149 }