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 com.liferay.portal.model.Company getCompany(long companyId)
73          throws com.liferay.portal.kernel.exception.PortalException,
74              com.liferay.portal.kernel.exception.SystemException {
75          return _companyLocalService.getCompany(companyId);
76      }
77  
78      public java.util.List<com.liferay.portal.model.Company> getCompanies(
79          int start, int end)
80          throws com.liferay.portal.kernel.exception.SystemException {
81          return _companyLocalService.getCompanies(start, end);
82      }
83  
84      public int getCompaniesCount()
85          throws com.liferay.portal.kernel.exception.SystemException {
86          return _companyLocalService.getCompaniesCount();
87      }
88  
89      public com.liferay.portal.model.Company updateCompany(
90          com.liferay.portal.model.Company company)
91          throws com.liferay.portal.kernel.exception.SystemException {
92          return _companyLocalService.updateCompany(company);
93      }
94  
95      public com.liferay.portal.model.Company updateCompany(
96          com.liferay.portal.model.Company company, boolean merge)
97          throws com.liferay.portal.kernel.exception.SystemException {
98          return _companyLocalService.updateCompany(company, merge);
99      }
100 
101     public com.liferay.portal.model.Company addCompany(java.lang.String webId,
102         java.lang.String virtualHost, java.lang.String mx,
103         java.lang.String shardName, boolean system)
104         throws com.liferay.portal.kernel.exception.PortalException,
105             com.liferay.portal.kernel.exception.SystemException {
106         return _companyLocalService.addCompany(webId, virtualHost, mx,
107             shardName, system);
108     }
109 
110     public com.liferay.portal.model.Company checkCompany(java.lang.String webId)
111         throws com.liferay.portal.kernel.exception.PortalException,
112             com.liferay.portal.kernel.exception.SystemException {
113         return _companyLocalService.checkCompany(webId);
114     }
115 
116     public com.liferay.portal.model.Company checkCompany(
117         java.lang.String webId, java.lang.String mx, java.lang.String shardName)
118         throws com.liferay.portal.kernel.exception.PortalException,
119             com.liferay.portal.kernel.exception.SystemException {
120         return _companyLocalService.checkCompany(webId, mx, shardName);
121     }
122 
123     public void checkCompanyKey(long companyId)
124         throws com.liferay.portal.kernel.exception.PortalException,
125             com.liferay.portal.kernel.exception.SystemException {
126         _companyLocalService.checkCompanyKey(companyId);
127     }
128 
129     public void deleteLogo(long companyId)
130         throws com.liferay.portal.kernel.exception.PortalException,
131             com.liferay.portal.kernel.exception.SystemException {
132         _companyLocalService.deleteLogo(companyId);
133     }
134 
135     public java.util.List<com.liferay.portal.model.Company> getCompanies()
136         throws com.liferay.portal.kernel.exception.SystemException {
137         return _companyLocalService.getCompanies();
138     }
139 
140     public java.util.List<com.liferay.portal.model.Company> getCompanies(
141         boolean system)
142         throws com.liferay.portal.kernel.exception.SystemException {
143         return _companyLocalService.getCompanies(system);
144     }
145 
146     public int getCompaniesCount(boolean system)
147         throws com.liferay.portal.kernel.exception.SystemException {
148         return _companyLocalService.getCompaniesCount(system);
149     }
150 
151     public com.liferay.portal.model.Company getCompanyById(long companyId)
152         throws com.liferay.portal.kernel.exception.PortalException,
153             com.liferay.portal.kernel.exception.SystemException {
154         return _companyLocalService.getCompanyById(companyId);
155     }
156 
157     public com.liferay.portal.model.Company getCompanyByLogoId(long logoId)
158         throws com.liferay.portal.kernel.exception.PortalException,
159             com.liferay.portal.kernel.exception.SystemException {
160         return _companyLocalService.getCompanyByLogoId(logoId);
161     }
162 
163     public com.liferay.portal.model.Company getCompanyByMx(java.lang.String mx)
164         throws com.liferay.portal.kernel.exception.PortalException,
165             com.liferay.portal.kernel.exception.SystemException {
166         return _companyLocalService.getCompanyByMx(mx);
167     }
168 
169     public com.liferay.portal.model.Company getCompanyByVirtualHost(
170         java.lang.String virtualHost)
171         throws com.liferay.portal.kernel.exception.PortalException,
172             com.liferay.portal.kernel.exception.SystemException {
173         return _companyLocalService.getCompanyByVirtualHost(virtualHost);
174     }
175 
176     public com.liferay.portal.model.Company getCompanyByWebId(
177         java.lang.String webId)
178         throws com.liferay.portal.kernel.exception.PortalException,
179             com.liferay.portal.kernel.exception.SystemException {
180         return _companyLocalService.getCompanyByWebId(webId);
181     }
182 
183     public void removePreferences(long companyId, java.lang.String[] keys)
184         throws com.liferay.portal.kernel.exception.SystemException {
185         _companyLocalService.removePreferences(companyId, keys);
186     }
187 
188     public com.liferay.portal.kernel.search.Hits search(long companyId,
189         long userId, java.lang.String keywords, int start, int end)
190         throws com.liferay.portal.kernel.exception.SystemException {
191         return _companyLocalService.search(companyId, userId, keywords, start,
192             end);
193     }
194 
195     public com.liferay.portal.kernel.search.Hits search(long companyId,
196         long userId, java.lang.String portletId, long groupId,
197         java.lang.String type, java.lang.String keywords, int start, int end)
198         throws com.liferay.portal.kernel.exception.SystemException {
199         return _companyLocalService.search(companyId, userId, portletId,
200             groupId, type, keywords, start, end);
201     }
202 
203     public com.liferay.portal.model.Company updateCompany(long companyId,
204         java.lang.String virtualHost, java.lang.String mx)
205         throws com.liferay.portal.kernel.exception.PortalException,
206             com.liferay.portal.kernel.exception.SystemException {
207         return _companyLocalService.updateCompany(companyId, virtualHost, mx);
208     }
209 
210     public com.liferay.portal.model.Company updateCompany(long companyId,
211         java.lang.String virtualHost, java.lang.String mx,
212         java.lang.String homeURL, java.lang.String name,
213         java.lang.String legalName, java.lang.String legalId,
214         java.lang.String legalType, java.lang.String sicCode,
215         java.lang.String tickerSymbol, java.lang.String industry,
216         java.lang.String type, java.lang.String size)
217         throws com.liferay.portal.kernel.exception.PortalException,
218             com.liferay.portal.kernel.exception.SystemException {
219         return _companyLocalService.updateCompany(companyId, virtualHost, mx,
220             homeURL, name, legalName, legalId, legalType, sicCode,
221             tickerSymbol, industry, type, size);
222     }
223 
224     public void updateDisplay(long companyId, java.lang.String languageId,
225         java.lang.String timeZoneId)
226         throws com.liferay.portal.kernel.exception.PortalException,
227             com.liferay.portal.kernel.exception.SystemException {
228         _companyLocalService.updateDisplay(companyId, languageId, timeZoneId);
229     }
230 
231     public void updateLogo(long companyId, byte[] bytes)
232         throws com.liferay.portal.kernel.exception.PortalException,
233             com.liferay.portal.kernel.exception.SystemException {
234         _companyLocalService.updateLogo(companyId, bytes);
235     }
236 
237     public void updateLogo(long companyId, java.io.File file)
238         throws com.liferay.portal.kernel.exception.PortalException,
239             com.liferay.portal.kernel.exception.SystemException {
240         _companyLocalService.updateLogo(companyId, file);
241     }
242 
243     public void updateLogo(long companyId, java.io.InputStream is)
244         throws com.liferay.portal.kernel.exception.PortalException,
245             com.liferay.portal.kernel.exception.SystemException {
246         _companyLocalService.updateLogo(companyId, is);
247     }
248 
249     public void updatePreferences(long companyId,
250         com.liferay.portal.kernel.util.UnicodeProperties properties)
251         throws com.liferay.portal.kernel.exception.SystemException {
252         _companyLocalService.updatePreferences(companyId, properties);
253     }
254 
255     public void updateSecurity(long companyId, java.lang.String authType,
256         boolean autoLogin, boolean sendPassword, boolean strangers,
257         boolean strangersWithMx, boolean strangersVerify, boolean communityLogo)
258         throws com.liferay.portal.kernel.exception.SystemException {
259         _companyLocalService.updateSecurity(companyId, authType, autoLogin,
260             sendPassword, strangers, strangersWithMx, strangersVerify,
261             communityLogo);
262     }
263 
264     public CompanyLocalService getWrappedCompanyLocalService() {
265         return _companyLocalService;
266     }
267 
268     private CompanyLocalService _companyLocalService;
269 }