001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portal.service;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link CompanyLocalService}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       CompanyLocalService
024     * @generated
025     */
026    public class CompanyLocalServiceWrapper implements CompanyLocalService {
027            public CompanyLocalServiceWrapper(CompanyLocalService companyLocalService) {
028                    _companyLocalService = companyLocalService;
029            }
030    
031            public com.liferay.portal.model.Company addCompany(
032                    com.liferay.portal.model.Company company)
033                    throws com.liferay.portal.kernel.exception.SystemException {
034                    return _companyLocalService.addCompany(company);
035            }
036    
037            public com.liferay.portal.model.Company createCompany(long companyId) {
038                    return _companyLocalService.createCompany(companyId);
039            }
040    
041            public void deleteCompany(long companyId)
042                    throws com.liferay.portal.kernel.exception.PortalException,
043                            com.liferay.portal.kernel.exception.SystemException {
044                    _companyLocalService.deleteCompany(companyId);
045            }
046    
047            public void deleteCompany(com.liferay.portal.model.Company company)
048                    throws com.liferay.portal.kernel.exception.SystemException {
049                    _companyLocalService.deleteCompany(company);
050            }
051    
052            @SuppressWarnings("unchecked")
053            public java.util.List dynamicQuery(
054                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
055                    throws com.liferay.portal.kernel.exception.SystemException {
056                    return _companyLocalService.dynamicQuery(dynamicQuery);
057            }
058    
059            @SuppressWarnings("unchecked")
060            public java.util.List dynamicQuery(
061                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
062                    int end) throws com.liferay.portal.kernel.exception.SystemException {
063                    return _companyLocalService.dynamicQuery(dynamicQuery, start, end);
064            }
065    
066            @SuppressWarnings("unchecked")
067            public java.util.List dynamicQuery(
068                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
069                    int end,
070                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
071                    throws com.liferay.portal.kernel.exception.SystemException {
072                    return _companyLocalService.dynamicQuery(dynamicQuery, start, end,
073                            orderByComparator);
074            }
075    
076            public long dynamicQueryCount(
077                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
078                    throws com.liferay.portal.kernel.exception.SystemException {
079                    return _companyLocalService.dynamicQueryCount(dynamicQuery);
080            }
081    
082            public com.liferay.portal.model.Company getCompany(long companyId)
083                    throws com.liferay.portal.kernel.exception.PortalException,
084                            com.liferay.portal.kernel.exception.SystemException {
085                    return _companyLocalService.getCompany(companyId);
086            }
087    
088            public java.util.List<com.liferay.portal.model.Company> getCompanies(
089                    int start, int end)
090                    throws com.liferay.portal.kernel.exception.SystemException {
091                    return _companyLocalService.getCompanies(start, end);
092            }
093    
094            public int getCompaniesCount()
095                    throws com.liferay.portal.kernel.exception.SystemException {
096                    return _companyLocalService.getCompaniesCount();
097            }
098    
099            public com.liferay.portal.model.Company updateCompany(
100                    com.liferay.portal.model.Company company)
101                    throws com.liferay.portal.kernel.exception.SystemException {
102                    return _companyLocalService.updateCompany(company);
103            }
104    
105            public com.liferay.portal.model.Company updateCompany(
106                    com.liferay.portal.model.Company company, boolean merge)
107                    throws com.liferay.portal.kernel.exception.SystemException {
108                    return _companyLocalService.updateCompany(company, merge);
109            }
110    
111            public com.liferay.portal.model.Company addCompany(java.lang.String webId,
112                    java.lang.String virtualHost, java.lang.String mx,
113                    java.lang.String shardName, boolean system, int maxUsers)
114                    throws com.liferay.portal.kernel.exception.PortalException,
115                            com.liferay.portal.kernel.exception.SystemException {
116                    return _companyLocalService.addCompany(webId, virtualHost, mx,
117                            shardName, system, maxUsers);
118            }
119    
120            public com.liferay.portal.model.Company checkCompany(java.lang.String webId)
121                    throws com.liferay.portal.kernel.exception.PortalException,
122                            com.liferay.portal.kernel.exception.SystemException {
123                    return _companyLocalService.checkCompany(webId);
124            }
125    
126            public com.liferay.portal.model.Company checkCompany(
127                    java.lang.String webId, java.lang.String mx, java.lang.String shardName)
128                    throws com.liferay.portal.kernel.exception.PortalException,
129                            com.liferay.portal.kernel.exception.SystemException {
130                    return _companyLocalService.checkCompany(webId, mx, shardName);
131            }
132    
133            public void checkCompanyKey(long companyId)
134                    throws com.liferay.portal.kernel.exception.PortalException,
135                            com.liferay.portal.kernel.exception.SystemException {
136                    _companyLocalService.checkCompanyKey(companyId);
137            }
138    
139            public void deleteLogo(long companyId)
140                    throws com.liferay.portal.kernel.exception.PortalException,
141                            com.liferay.portal.kernel.exception.SystemException {
142                    _companyLocalService.deleteLogo(companyId);
143            }
144    
145            public java.util.List<com.liferay.portal.model.Company> getCompanies()
146                    throws com.liferay.portal.kernel.exception.SystemException {
147                    return _companyLocalService.getCompanies();
148            }
149    
150            public java.util.List<com.liferay.portal.model.Company> getCompanies(
151                    boolean system)
152                    throws com.liferay.portal.kernel.exception.SystemException {
153                    return _companyLocalService.getCompanies(system);
154            }
155    
156            public int getCompaniesCount(boolean system)
157                    throws com.liferay.portal.kernel.exception.SystemException {
158                    return _companyLocalService.getCompaniesCount(system);
159            }
160    
161            public com.liferay.portal.model.Company getCompanyById(long companyId)
162                    throws com.liferay.portal.kernel.exception.PortalException,
163                            com.liferay.portal.kernel.exception.SystemException {
164                    return _companyLocalService.getCompanyById(companyId);
165            }
166    
167            public com.liferay.portal.model.Company getCompanyByLogoId(long logoId)
168                    throws com.liferay.portal.kernel.exception.PortalException,
169                            com.liferay.portal.kernel.exception.SystemException {
170                    return _companyLocalService.getCompanyByLogoId(logoId);
171            }
172    
173            public com.liferay.portal.model.Company getCompanyByMx(java.lang.String mx)
174                    throws com.liferay.portal.kernel.exception.PortalException,
175                            com.liferay.portal.kernel.exception.SystemException {
176                    return _companyLocalService.getCompanyByMx(mx);
177            }
178    
179            public com.liferay.portal.model.Company getCompanyByVirtualHost(
180                    java.lang.String virtualHost)
181                    throws com.liferay.portal.kernel.exception.PortalException,
182                            com.liferay.portal.kernel.exception.SystemException {
183                    return _companyLocalService.getCompanyByVirtualHost(virtualHost);
184            }
185    
186            public com.liferay.portal.model.Company getCompanyByWebId(
187                    java.lang.String webId)
188                    throws com.liferay.portal.kernel.exception.PortalException,
189                            com.liferay.portal.kernel.exception.SystemException {
190                    return _companyLocalService.getCompanyByWebId(webId);
191            }
192    
193            public void removePreferences(long companyId, java.lang.String[] keys)
194                    throws com.liferay.portal.kernel.exception.SystemException {
195                    _companyLocalService.removePreferences(companyId, keys);
196            }
197    
198            public com.liferay.portal.kernel.search.Hits search(long companyId,
199                    long userId, java.lang.String keywords, int start, int end)
200                    throws com.liferay.portal.kernel.exception.SystemException {
201                    return _companyLocalService.search(companyId, userId, keywords, start,
202                            end);
203            }
204    
205            public com.liferay.portal.kernel.search.Hits search(long companyId,
206                    long userId, java.lang.String portletId, long groupId,
207                    java.lang.String type, java.lang.String keywords, int start, int end)
208                    throws com.liferay.portal.kernel.exception.SystemException {
209                    return _companyLocalService.search(companyId, userId, portletId,
210                            groupId, type, keywords, start, end);
211            }
212    
213            public com.liferay.portal.model.Company updateCompany(long companyId,
214                    java.lang.String virtualHost, java.lang.String mx, int maxUsers)
215                    throws com.liferay.portal.kernel.exception.PortalException,
216                            com.liferay.portal.kernel.exception.SystemException {
217                    return _companyLocalService.updateCompany(companyId, virtualHost, mx,
218                            maxUsers);
219            }
220    
221            public com.liferay.portal.model.Company updateCompany(long companyId,
222                    java.lang.String virtualHost, java.lang.String mx,
223                    java.lang.String homeURL, java.lang.String name,
224                    java.lang.String legalName, java.lang.String legalId,
225                    java.lang.String legalType, java.lang.String sicCode,
226                    java.lang.String tickerSymbol, java.lang.String industry,
227                    java.lang.String type, java.lang.String size)
228                    throws com.liferay.portal.kernel.exception.PortalException,
229                            com.liferay.portal.kernel.exception.SystemException {
230                    return _companyLocalService.updateCompany(companyId, virtualHost, mx,
231                            homeURL, name, legalName, legalId, legalType, sicCode,
232                            tickerSymbol, industry, type, size);
233            }
234    
235            public void updateDisplay(long companyId, java.lang.String languageId,
236                    java.lang.String timeZoneId)
237                    throws com.liferay.portal.kernel.exception.PortalException,
238                            com.liferay.portal.kernel.exception.SystemException {
239                    _companyLocalService.updateDisplay(companyId, languageId, timeZoneId);
240            }
241    
242            public void updateLogo(long companyId, byte[] bytes)
243                    throws com.liferay.portal.kernel.exception.PortalException,
244                            com.liferay.portal.kernel.exception.SystemException {
245                    _companyLocalService.updateLogo(companyId, bytes);
246            }
247    
248            public void updateLogo(long companyId, java.io.File file)
249                    throws com.liferay.portal.kernel.exception.PortalException,
250                            com.liferay.portal.kernel.exception.SystemException {
251                    _companyLocalService.updateLogo(companyId, file);
252            }
253    
254            public void updateLogo(long companyId, java.io.InputStream is)
255                    throws com.liferay.portal.kernel.exception.PortalException,
256                            com.liferay.portal.kernel.exception.SystemException {
257                    _companyLocalService.updateLogo(companyId, is);
258            }
259    
260            public void updatePreferences(long companyId,
261                    com.liferay.portal.kernel.util.UnicodeProperties properties)
262                    throws com.liferay.portal.kernel.exception.SystemException {
263                    _companyLocalService.updatePreferences(companyId, properties);
264            }
265    
266            public void updateSecurity(long companyId, java.lang.String authType,
267                    boolean autoLogin, boolean sendPassword, boolean strangers,
268                    boolean strangersWithMx, boolean strangersVerify, boolean communityLogo)
269                    throws com.liferay.portal.kernel.exception.SystemException {
270                    _companyLocalService.updateSecurity(companyId, authType, autoLogin,
271                            sendPassword, strangers, strangersWithMx, strangersVerify,
272                            communityLogo);
273            }
274    
275            public CompanyLocalService getWrappedCompanyLocalService() {
276                    return _companyLocalService;
277            }
278    
279            private CompanyLocalService _companyLocalService;
280    }