1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * The contents of this file are subject to the terms of the Liferay Enterprise
5    * Subscription License ("License"). You may not use this file except in
6    * compliance with the License. You can obtain a copy of the License by
7    * contacting Liferay, Inc. See the License for the specific language governing
8    * permissions and limitations under the License, including but not limited to
9    * distribution rights of the Software.
10   *
11   *
12   *
13   */
14  
15  package com.liferay.portal.service;
16  
17  /**
18   * <a href="CompanyLocalServiceUtil.java.html"><b><i>View Source</i></b></a>
19   *
20   * <p>
21   * ServiceBuilder generated this class. Modifications in this class will be
22   * overwritten the next time is generated.
23   * </p>
24   *
25   * <p>
26   * This class is a wrapper for {@link CompanyLocalService}.
27   * </p>
28   *
29   * @author    Brian Wing Shun Chan
30   * @see       CompanyLocalService
31   * @generated
32   */
33  public class CompanyLocalServiceWrapper implements CompanyLocalService {
34      public CompanyLocalServiceWrapper(CompanyLocalService companyLocalService) {
35          _companyLocalService = companyLocalService;
36      }
37  
38      public com.liferay.portal.model.Company addCompany(
39          com.liferay.portal.model.Company company)
40          throws com.liferay.portal.SystemException {
41          return _companyLocalService.addCompany(company);
42      }
43  
44      public com.liferay.portal.model.Company createCompany(long companyId) {
45          return _companyLocalService.createCompany(companyId);
46      }
47  
48      public void deleteCompany(long companyId)
49          throws com.liferay.portal.PortalException,
50              com.liferay.portal.SystemException {
51          _companyLocalService.deleteCompany(companyId);
52      }
53  
54      public void deleteCompany(com.liferay.portal.model.Company company)
55          throws com.liferay.portal.SystemException {
56          _companyLocalService.deleteCompany(company);
57      }
58  
59      @SuppressWarnings("rawtypes")
60      public java.util.List dynamicQuery(
61          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
62          throws com.liferay.portal.SystemException {
63          return _companyLocalService.dynamicQuery(dynamicQuery);
64      }
65  
66      @SuppressWarnings("rawtypes")
67      public java.util.List dynamicQuery(
68          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
69          int end) throws com.liferay.portal.SystemException {
70          return _companyLocalService.dynamicQuery(dynamicQuery, start, end);
71      }
72  
73      @SuppressWarnings("rawtypes")
74      public java.util.List dynamicQuery(
75          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
76          int end,
77          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
78          throws com.liferay.portal.SystemException {
79          return _companyLocalService.dynamicQuery(dynamicQuery, start, end,
80              orderByComparator);
81      }
82  
83      public int dynamicQueryCount(
84          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
85          throws com.liferay.portal.SystemException {
86          return _companyLocalService.dynamicQueryCount(dynamicQuery);
87      }
88  
89      public com.liferay.portal.model.Company getCompany(long companyId)
90          throws com.liferay.portal.PortalException,
91              com.liferay.portal.SystemException {
92          return _companyLocalService.getCompany(companyId);
93      }
94  
95      public java.util.List<com.liferay.portal.model.Company> getCompanies(
96          int start, int end) throws com.liferay.portal.SystemException {
97          return _companyLocalService.getCompanies(start, end);
98      }
99  
100     public int getCompaniesCount() throws com.liferay.portal.SystemException {
101         return _companyLocalService.getCompaniesCount();
102     }
103 
104     public com.liferay.portal.model.Company updateCompany(
105         com.liferay.portal.model.Company company)
106         throws com.liferay.portal.SystemException {
107         return _companyLocalService.updateCompany(company);
108     }
109 
110     public com.liferay.portal.model.Company updateCompany(
111         com.liferay.portal.model.Company company, boolean merge)
112         throws com.liferay.portal.SystemException {
113         return _companyLocalService.updateCompany(company, merge);
114     }
115 
116     public com.liferay.portal.model.Company addCompany(java.lang.String webId,
117         java.lang.String virtualHost, java.lang.String mx,
118         java.lang.String shardName, boolean system)
119         throws com.liferay.portal.PortalException,
120             com.liferay.portal.SystemException {
121         return _companyLocalService.addCompany(webId, virtualHost, mx,
122             shardName, system);
123     }
124 
125     public com.liferay.portal.model.Company checkCompany(java.lang.String webId)
126         throws com.liferay.portal.PortalException,
127             com.liferay.portal.SystemException {
128         return _companyLocalService.checkCompany(webId);
129     }
130 
131     public com.liferay.portal.model.Company checkCompany(
132         java.lang.String webId, java.lang.String mx, java.lang.String shardName)
133         throws com.liferay.portal.PortalException,
134             com.liferay.portal.SystemException {
135         return _companyLocalService.checkCompany(webId, mx, shardName);
136     }
137 
138     public void checkCompanyKey(long companyId)
139         throws com.liferay.portal.PortalException,
140             com.liferay.portal.SystemException {
141         _companyLocalService.checkCompanyKey(companyId);
142     }
143 
144     public void deleteLogo(long companyId)
145         throws com.liferay.portal.PortalException,
146             com.liferay.portal.SystemException {
147         _companyLocalService.deleteLogo(companyId);
148     }
149 
150     public java.util.List<com.liferay.portal.model.Company> getCompanies()
151         throws com.liferay.portal.SystemException {
152         return _companyLocalService.getCompanies();
153     }
154 
155     public java.util.List<com.liferay.portal.model.Company> getCompanies(
156         boolean system) throws com.liferay.portal.SystemException {
157         return _companyLocalService.getCompanies(system);
158     }
159 
160     public int getCompaniesCount(boolean system)
161         throws com.liferay.portal.SystemException {
162         return _companyLocalService.getCompaniesCount(system);
163     }
164 
165     public com.liferay.portal.model.Company getCompanyById(long companyId)
166         throws com.liferay.portal.PortalException,
167             com.liferay.portal.SystemException {
168         return _companyLocalService.getCompanyById(companyId);
169     }
170 
171     public com.liferay.portal.model.Company getCompanyByLogoId(long logoId)
172         throws com.liferay.portal.PortalException,
173             com.liferay.portal.SystemException {
174         return _companyLocalService.getCompanyByLogoId(logoId);
175     }
176 
177     public com.liferay.portal.model.Company getCompanyByMx(java.lang.String mx)
178         throws com.liferay.portal.PortalException,
179             com.liferay.portal.SystemException {
180         return _companyLocalService.getCompanyByMx(mx);
181     }
182 
183     public com.liferay.portal.model.Company getCompanyByVirtualHost(
184         java.lang.String virtualHost)
185         throws com.liferay.portal.PortalException,
186             com.liferay.portal.SystemException {
187         return _companyLocalService.getCompanyByVirtualHost(virtualHost);
188     }
189 
190     public com.liferay.portal.model.Company getCompanyByWebId(
191         java.lang.String webId)
192         throws com.liferay.portal.PortalException,
193             com.liferay.portal.SystemException {
194         return _companyLocalService.getCompanyByWebId(webId);
195     }
196 
197     public void removePreferences(long companyId, java.lang.String[] keys)
198         throws com.liferay.portal.SystemException {
199         _companyLocalService.removePreferences(companyId, keys);
200     }
201 
202     public com.liferay.portal.kernel.search.Hits search(long companyId,
203         long userId, java.lang.String keywords, int start, int end)
204         throws com.liferay.portal.SystemException {
205         return _companyLocalService.search(companyId, userId, keywords, start,
206             end);
207     }
208 
209     public com.liferay.portal.kernel.search.Hits search(long companyId,
210         long userId, java.lang.String portletId, long groupId,
211         java.lang.String type, java.lang.String keywords, int start, int end)
212         throws com.liferay.portal.SystemException {
213         return _companyLocalService.search(companyId, userId, portletId,
214             groupId, type, keywords, start, end);
215     }
216 
217     public com.liferay.portal.model.Company updateCompany(long companyId,
218         java.lang.String virtualHost, java.lang.String mx)
219         throws com.liferay.portal.PortalException,
220             com.liferay.portal.SystemException {
221         return _companyLocalService.updateCompany(companyId, virtualHost, mx);
222     }
223 
224     public com.liferay.portal.model.Company updateCompany(long companyId,
225         java.lang.String virtualHost, java.lang.String mx,
226         java.lang.String homeURL, java.lang.String name,
227         java.lang.String legalName, java.lang.String legalId,
228         java.lang.String legalType, java.lang.String sicCode,
229         java.lang.String tickerSymbol, java.lang.String industry,
230         java.lang.String type, java.lang.String size)
231         throws com.liferay.portal.PortalException,
232             com.liferay.portal.SystemException {
233         return _companyLocalService.updateCompany(companyId, virtualHost, mx,
234             homeURL, name, legalName, legalId, legalType, sicCode,
235             tickerSymbol, industry, type, size);
236     }
237 
238     public void updateDisplay(long companyId, java.lang.String languageId,
239         java.lang.String timeZoneId)
240         throws com.liferay.portal.PortalException,
241             com.liferay.portal.SystemException {
242         _companyLocalService.updateDisplay(companyId, languageId, timeZoneId);
243     }
244 
245     public void updateLogo(long companyId, byte[] bytes)
246         throws com.liferay.portal.PortalException,
247             com.liferay.portal.SystemException {
248         _companyLocalService.updateLogo(companyId, bytes);
249     }
250 
251     public void updateLogo(long companyId, java.io.File file)
252         throws com.liferay.portal.PortalException,
253             com.liferay.portal.SystemException {
254         _companyLocalService.updateLogo(companyId, file);
255     }
256 
257     public void updateLogo(long companyId, java.io.InputStream is)
258         throws com.liferay.portal.PortalException,
259             com.liferay.portal.SystemException {
260         _companyLocalService.updateLogo(companyId, is);
261     }
262 
263     public void updatePreferences(long companyId,
264         com.liferay.portal.kernel.util.UnicodeProperties properties)
265         throws com.liferay.portal.SystemException {
266         _companyLocalService.updatePreferences(companyId, properties);
267     }
268 
269     public void updateSecurity(long companyId, java.lang.String authType,
270         boolean autoLogin, boolean sendPassword, boolean strangers,
271         boolean strangersWithMx, boolean strangersVerify, boolean communityLogo)
272         throws com.liferay.portal.SystemException {
273         _companyLocalService.updateSecurity(companyId, authType, autoLogin,
274             sendPassword, strangers, strangersWithMx, strangersVerify,
275             communityLogo);
276     }
277 
278     public CompanyLocalService getWrappedCompanyLocalService() {
279         return _companyLocalService;
280     }
281 
282     private CompanyLocalService _companyLocalService;
283 }