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