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