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 CompanyService}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       CompanyService
024     * @generated
025     */
026    public class CompanyServiceWrapper implements CompanyService {
027            public CompanyServiceWrapper(CompanyService companyService) {
028                    _companyService = companyService;
029            }
030    
031            public com.liferay.portal.model.Company addCompany(java.lang.String webId,
032                    java.lang.String virtualHost, java.lang.String mx,
033                    java.lang.String shardName, boolean system, int maxUsers)
034                    throws com.liferay.portal.kernel.exception.PortalException,
035                            com.liferay.portal.kernel.exception.SystemException {
036                    return _companyService.addCompany(webId, virtualHost, mx, shardName,
037                            system, maxUsers);
038            }
039    
040            public void deleteLogo(long companyId)
041                    throws com.liferay.portal.kernel.exception.PortalException,
042                            com.liferay.portal.kernel.exception.SystemException {
043                    _companyService.deleteLogo(companyId);
044            }
045    
046            public com.liferay.portal.model.Company getCompanyById(long companyId)
047                    throws com.liferay.portal.kernel.exception.PortalException,
048                            com.liferay.portal.kernel.exception.SystemException {
049                    return _companyService.getCompanyById(companyId);
050            }
051    
052            public com.liferay.portal.model.Company getCompanyByLogoId(long logoId)
053                    throws com.liferay.portal.kernel.exception.PortalException,
054                            com.liferay.portal.kernel.exception.SystemException {
055                    return _companyService.getCompanyByLogoId(logoId);
056            }
057    
058            public com.liferay.portal.model.Company getCompanyByMx(java.lang.String mx)
059                    throws com.liferay.portal.kernel.exception.PortalException,
060                            com.liferay.portal.kernel.exception.SystemException {
061                    return _companyService.getCompanyByMx(mx);
062            }
063    
064            public com.liferay.portal.model.Company getCompanyByVirtualHost(
065                    java.lang.String virtualHost)
066                    throws com.liferay.portal.kernel.exception.PortalException,
067                            com.liferay.portal.kernel.exception.SystemException {
068                    return _companyService.getCompanyByVirtualHost(virtualHost);
069            }
070    
071            public com.liferay.portal.model.Company getCompanyByWebId(
072                    java.lang.String webId)
073                    throws com.liferay.portal.kernel.exception.PortalException,
074                            com.liferay.portal.kernel.exception.SystemException {
075                    return _companyService.getCompanyByWebId(webId);
076            }
077    
078            public void removePreferences(long companyId, java.lang.String[] keys)
079                    throws com.liferay.portal.kernel.exception.PortalException,
080                            com.liferay.portal.kernel.exception.SystemException {
081                    _companyService.removePreferences(companyId, keys);
082            }
083    
084            public com.liferay.portal.model.Company updateCompany(long companyId,
085                    java.lang.String virtualHost, java.lang.String mx, int maxUsers)
086                    throws com.liferay.portal.kernel.exception.PortalException,
087                            com.liferay.portal.kernel.exception.SystemException {
088                    return _companyService.updateCompany(companyId, virtualHost, mx,
089                            maxUsers);
090            }
091    
092            public com.liferay.portal.model.Company updateCompany(long companyId,
093                    java.lang.String virtualHost, java.lang.String mx,
094                    java.lang.String homeURL, java.lang.String name,
095                    java.lang.String legalName, java.lang.String legalId,
096                    java.lang.String legalType, java.lang.String sicCode,
097                    java.lang.String tickerSymbol, java.lang.String industry,
098                    java.lang.String type, java.lang.String size)
099                    throws com.liferay.portal.kernel.exception.PortalException,
100                            com.liferay.portal.kernel.exception.SystemException {
101                    return _companyService.updateCompany(companyId, virtualHost, mx,
102                            homeURL, name, legalName, legalId, legalType, sicCode,
103                            tickerSymbol, industry, type, size);
104            }
105    
106            public com.liferay.portal.model.Company updateCompany(long companyId,
107                    java.lang.String virtualHost, java.lang.String mx,
108                    java.lang.String homeURL, java.lang.String name,
109                    java.lang.String legalName, java.lang.String legalId,
110                    java.lang.String legalType, java.lang.String sicCode,
111                    java.lang.String tickerSymbol, java.lang.String industry,
112                    java.lang.String type, java.lang.String size,
113                    java.lang.String languageId, java.lang.String timeZoneId,
114                    java.util.List<com.liferay.portal.model.Address> addresses,
115                    java.util.List<com.liferay.portal.model.EmailAddress> emailAddresses,
116                    java.util.List<com.liferay.portal.model.Phone> phones,
117                    java.util.List<com.liferay.portal.model.Website> websites,
118                    com.liferay.portal.kernel.util.UnicodeProperties properties)
119                    throws com.liferay.portal.kernel.exception.PortalException,
120                            com.liferay.portal.kernel.exception.SystemException {
121                    return _companyService.updateCompany(companyId, virtualHost, mx,
122                            homeURL, name, legalName, legalId, legalType, sicCode,
123                            tickerSymbol, industry, type, size, languageId, timeZoneId,
124                            addresses, emailAddresses, phones, websites, properties);
125            }
126    
127            public void updateDisplay(long companyId, java.lang.String languageId,
128                    java.lang.String timeZoneId)
129                    throws com.liferay.portal.kernel.exception.PortalException,
130                            com.liferay.portal.kernel.exception.SystemException {
131                    _companyService.updateDisplay(companyId, languageId, timeZoneId);
132            }
133    
134            public void updateLogo(long companyId, java.io.File file)
135                    throws com.liferay.portal.kernel.exception.PortalException,
136                            com.liferay.portal.kernel.exception.SystemException {
137                    _companyService.updateLogo(companyId, file);
138            }
139    
140            public void updatePreferences(long companyId,
141                    com.liferay.portal.kernel.util.UnicodeProperties properties)
142                    throws com.liferay.portal.kernel.exception.PortalException,
143                            com.liferay.portal.kernel.exception.SystemException {
144                    _companyService.updatePreferences(companyId, properties);
145            }
146    
147            public void updateSecurity(long companyId, java.lang.String authType,
148                    boolean autoLogin, boolean sendPassword, boolean strangers,
149                    boolean strangersWithMx, boolean strangersVerify, boolean communityLogo)
150                    throws com.liferay.portal.kernel.exception.PortalException,
151                            com.liferay.portal.kernel.exception.SystemException {
152                    _companyService.updateSecurity(companyId, authType, autoLogin,
153                            sendPassword, strangers, strangersWithMx, strangersVerify,
154                            communityLogo);
155            }
156    
157            public CompanyService getWrappedCompanyService() {
158                    return _companyService;
159            }
160    
161            private CompanyService _companyService;
162    }