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="CompanyLocalServiceUtil.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 CompanyLocalService}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       CompanyLocalService
32   * @generated
33   */
34  public class CompanyLocalServiceWrapper implements CompanyLocalService {
35      public CompanyLocalServiceWrapper(CompanyLocalService companyLocalService) {
36          _companyLocalService = companyLocalService;
37      }
38  
39      public com.liferay.portal.model.Company addCompany(
40          com.liferay.portal.model.Company company)
41          throws com.liferay.portal.kernel.exception.SystemException {
42          return _companyLocalService.addCompany(company);
43      }
44  
45      public com.liferay.portal.model.Company createCompany(long companyId) {
46          return _companyLocalService.createCompany(companyId);
47      }
48  
49      public void deleteCompany(long companyId)
50          throws com.liferay.portal.kernel.exception.PortalException,
51              com.liferay.portal.kernel.exception.SystemException {
52          _companyLocalService.deleteCompany(companyId);
53      }
54  
55      public void deleteCompany(com.liferay.portal.model.Company company)
56          throws com.liferay.portal.kernel.exception.SystemException {
57          _companyLocalService.deleteCompany(company);
58      }
59  
60      public java.util.List<Object> dynamicQuery(
61          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
62          throws com.liferay.portal.kernel.exception.SystemException {
63          return _companyLocalService.dynamicQuery(dynamicQuery);
64      }
65  
66      public java.util.List<Object> dynamicQuery(
67          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
68          int end) throws com.liferay.portal.kernel.exception.SystemException {
69          return _companyLocalService.dynamicQuery(dynamicQuery, start, end);
70      }
71  
72      public java.util.List<Object> dynamicQuery(
73          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
74          int end,
75          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
76          throws com.liferay.portal.kernel.exception.SystemException {
77          return _companyLocalService.dynamicQuery(dynamicQuery, start, end,
78              orderByComparator);
79      }
80  
81      public int dynamicQueryCount(
82          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
83          throws com.liferay.portal.kernel.exception.SystemException {
84          return _companyLocalService.dynamicQueryCount(dynamicQuery);
85      }
86  
87      public com.liferay.portal.model.Company getCompany(long companyId)
88          throws com.liferay.portal.kernel.exception.PortalException,
89              com.liferay.portal.kernel.exception.SystemException {
90          return _companyLocalService.getCompany(companyId);
91      }
92  
93      public java.util.List<com.liferay.portal.model.Company> getCompanies(
94          int start, int end)
95          throws com.liferay.portal.kernel.exception.SystemException {
96          return _companyLocalService.getCompanies(start, end);
97      }
98  
99      public int getCompaniesCount()
100         throws com.liferay.portal.kernel.exception.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.kernel.exception.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.kernel.exception.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.kernel.exception.PortalException,
120             com.liferay.portal.kernel.exception.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.kernel.exception.PortalException,
127             com.liferay.portal.kernel.exception.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.kernel.exception.PortalException,
134             com.liferay.portal.kernel.exception.SystemException {
135         return _companyLocalService.checkCompany(webId, mx, shardName);
136     }
137 
138     public void checkCompanyKey(long companyId)
139         throws com.liferay.portal.kernel.exception.PortalException,
140             com.liferay.portal.kernel.exception.SystemException {
141         _companyLocalService.checkCompanyKey(companyId);
142     }
143 
144     public void deleteLogo(long companyId)
145         throws com.liferay.portal.kernel.exception.PortalException,
146             com.liferay.portal.kernel.exception.SystemException {
147         _companyLocalService.deleteLogo(companyId);
148     }
149 
150     public java.util.List<com.liferay.portal.model.Company> getCompanies()
151         throws com.liferay.portal.kernel.exception.SystemException {
152         return _companyLocalService.getCompanies();
153     }
154 
155     public java.util.List<com.liferay.portal.model.Company> getCompanies(
156         boolean system)
157         throws com.liferay.portal.kernel.exception.SystemException {
158         return _companyLocalService.getCompanies(system);
159     }
160 
161     public int getCompaniesCount(boolean system)
162         throws com.liferay.portal.kernel.exception.SystemException {
163         return _companyLocalService.getCompaniesCount(system);
164     }
165 
166     public com.liferay.portal.model.Company getCompanyById(long companyId)
167         throws com.liferay.portal.kernel.exception.PortalException,
168             com.liferay.portal.kernel.exception.SystemException {
169         return _companyLocalService.getCompanyById(companyId);
170     }
171 
172     public com.liferay.portal.model.Company getCompanyByLogoId(long logoId)
173         throws com.liferay.portal.kernel.exception.PortalException,
174             com.liferay.portal.kernel.exception.SystemException {
175         return _companyLocalService.getCompanyByLogoId(logoId);
176     }
177 
178     public com.liferay.portal.model.Company getCompanyByMx(java.lang.String mx)
179         throws com.liferay.portal.kernel.exception.PortalException,
180             com.liferay.portal.kernel.exception.SystemException {
181         return _companyLocalService.getCompanyByMx(mx);
182     }
183 
184     public com.liferay.portal.model.Company getCompanyByVirtualHost(
185         java.lang.String virtualHost)
186         throws com.liferay.portal.kernel.exception.PortalException,
187             com.liferay.portal.kernel.exception.SystemException {
188         return _companyLocalService.getCompanyByVirtualHost(virtualHost);
189     }
190 
191     public com.liferay.portal.model.Company getCompanyByWebId(
192         java.lang.String webId)
193         throws com.liferay.portal.kernel.exception.PortalException,
194             com.liferay.portal.kernel.exception.SystemException {
195         return _companyLocalService.getCompanyByWebId(webId);
196     }
197 
198     public void removePreferences(long companyId, java.lang.String[] keys)
199         throws com.liferay.portal.kernel.exception.SystemException {
200         _companyLocalService.removePreferences(companyId, keys);
201     }
202 
203     public com.liferay.portal.kernel.search.Hits search(long companyId,
204         long userId, java.lang.String keywords, int start, int end)
205         throws com.liferay.portal.kernel.exception.SystemException {
206         return _companyLocalService.search(companyId, userId, keywords, start,
207             end);
208     }
209 
210     public com.liferay.portal.kernel.search.Hits search(long companyId,
211         long userId, java.lang.String portletId, long groupId,
212         java.lang.String type, java.lang.String keywords, int start, int end)
213         throws com.liferay.portal.kernel.exception.SystemException {
214         return _companyLocalService.search(companyId, userId, portletId,
215             groupId, type, keywords, start, end);
216     }
217 
218     public com.liferay.portal.model.Company updateCompany(long companyId,
219         java.lang.String virtualHost, java.lang.String mx)
220         throws com.liferay.portal.kernel.exception.PortalException,
221             com.liferay.portal.kernel.exception.SystemException {
222         return _companyLocalService.updateCompany(companyId, virtualHost, mx);
223     }
224 
225     public com.liferay.portal.model.Company updateCompany(long companyId,
226         java.lang.String virtualHost, java.lang.String mx,
227         java.lang.String homeURL, java.lang.String name,
228         java.lang.String legalName, java.lang.String legalId,
229         java.lang.String legalType, java.lang.String sicCode,
230         java.lang.String tickerSymbol, java.lang.String industry,
231         java.lang.String type, java.lang.String size)
232         throws com.liferay.portal.kernel.exception.PortalException,
233             com.liferay.portal.kernel.exception.SystemException {
234         return _companyLocalService.updateCompany(companyId, virtualHost, mx,
235             homeURL, name, legalName, legalId, legalType, sicCode,
236             tickerSymbol, industry, type, size);
237     }
238 
239     public void updateDisplay(long companyId, java.lang.String languageId,
240         java.lang.String timeZoneId)
241         throws com.liferay.portal.kernel.exception.PortalException,
242             com.liferay.portal.kernel.exception.SystemException {
243         _companyLocalService.updateDisplay(companyId, languageId, timeZoneId);
244     }
245 
246     public void updateLogo(long companyId, byte[] bytes)
247         throws com.liferay.portal.kernel.exception.PortalException,
248             com.liferay.portal.kernel.exception.SystemException {
249         _companyLocalService.updateLogo(companyId, bytes);
250     }
251 
252     public void updateLogo(long companyId, java.io.File file)
253         throws com.liferay.portal.kernel.exception.PortalException,
254             com.liferay.portal.kernel.exception.SystemException {
255         _companyLocalService.updateLogo(companyId, file);
256     }
257 
258     public void updateLogo(long companyId, java.io.InputStream is)
259         throws com.liferay.portal.kernel.exception.PortalException,
260             com.liferay.portal.kernel.exception.SystemException {
261         _companyLocalService.updateLogo(companyId, is);
262     }
263 
264     public void updatePreferences(long companyId,
265         com.liferay.portal.kernel.util.UnicodeProperties properties)
266         throws com.liferay.portal.kernel.exception.SystemException {
267         _companyLocalService.updatePreferences(companyId, properties);
268     }
269 
270     public void updateSecurity(long companyId, java.lang.String authType,
271         boolean autoLogin, boolean sendPassword, boolean strangers,
272         boolean strangersWithMx, boolean strangersVerify, boolean communityLogo)
273         throws com.liferay.portal.kernel.exception.SystemException {
274         _companyLocalService.updateSecurity(companyId, authType, autoLogin,
275             sendPassword, strangers, strangersWithMx, strangersVerify,
276             communityLogo);
277     }
278 
279     public CompanyLocalService getWrappedCompanyLocalService() {
280         return _companyLocalService;
281     }
282 
283     private CompanyLocalService _companyLocalService;
284 }