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