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