1   /**
2    * Copyright (c) 2000-2009 Liferay, Inc. All rights reserved.
3    *
4    * Permission is hereby granted, free of charge, to any person obtaining a copy
5    * of this software and associated documentation files (the "Software"), to deal
6    * in the Software without restriction, including without limitation the rights
7    * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8    * copies of the Software, and to permit persons to whom the Software is
9    * furnished to do so, subject to the following conditions:
10   *
11   * The above copyright notice and this permission notice shall be included in
12   * all copies or substantial portions of the Software.
13   *
14   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20   * SOFTWARE.
21   */
22  
23  package com.liferay.portal.service;
24  
25  
26  /**
27   * <a href="CompanyServiceUtil.java.html"><b><i>View Source</i></b></a>
28   *
29   * <p>
30   * ServiceBuilder generated this class. Modifications in this class will be
31   * overwritten the next time is generated.
32   * </p>
33   *
34   * <p>
35   * This class is a wrapper for {@link CompanyService}.
36   * </p>
37   *
38   * @author    Brian Wing Shun Chan
39   * @see       CompanyService
40   * @generated
41   */
42  public class CompanyServiceWrapper implements CompanyService {
43      public CompanyServiceWrapper(CompanyService companyService) {
44          _companyService = companyService;
45      }
46  
47      public com.liferay.portal.model.Company addCompany(java.lang.String webId,
48          java.lang.String virtualHost, java.lang.String mx,
49          java.lang.String shardName, boolean system)
50          throws com.liferay.portal.PortalException,
51              com.liferay.portal.SystemException {
52          return _companyService.addCompany(webId, virtualHost, mx, shardName,
53              system);
54      }
55  
56      public void deleteLogo(long companyId)
57          throws com.liferay.portal.PortalException,
58              com.liferay.portal.SystemException {
59          _companyService.deleteLogo(companyId);
60      }
61  
62      public com.liferay.portal.model.Company getCompanyById(long companyId)
63          throws com.liferay.portal.PortalException,
64              com.liferay.portal.SystemException {
65          return _companyService.getCompanyById(companyId);
66      }
67  
68      public com.liferay.portal.model.Company getCompanyByLogoId(long logoId)
69          throws com.liferay.portal.PortalException,
70              com.liferay.portal.SystemException {
71          return _companyService.getCompanyByLogoId(logoId);
72      }
73  
74      public com.liferay.portal.model.Company getCompanyByMx(java.lang.String mx)
75          throws com.liferay.portal.PortalException,
76              com.liferay.portal.SystemException {
77          return _companyService.getCompanyByMx(mx);
78      }
79  
80      public com.liferay.portal.model.Company getCompanyByVirtualHost(
81          java.lang.String virtualHost)
82          throws com.liferay.portal.PortalException,
83              com.liferay.portal.SystemException {
84          return _companyService.getCompanyByVirtualHost(virtualHost);
85      }
86  
87      public com.liferay.portal.model.Company getCompanyByWebId(
88          java.lang.String webId)
89          throws com.liferay.portal.PortalException,
90              com.liferay.portal.SystemException {
91          return _companyService.getCompanyByWebId(webId);
92      }
93  
94      public com.liferay.portal.model.Company updateCompany(long companyId,
95          java.lang.String virtualHost, java.lang.String mx)
96          throws com.liferay.portal.PortalException,
97              com.liferay.portal.SystemException {
98          return _companyService.updateCompany(companyId, virtualHost, mx);
99      }
100 
101     public com.liferay.portal.model.Company updateCompany(long companyId,
102         java.lang.String virtualHost, java.lang.String mx,
103         java.lang.String homeURL, java.lang.String name,
104         java.lang.String legalName, java.lang.String legalId,
105         java.lang.String legalType, java.lang.String sicCode,
106         java.lang.String tickerSymbol, java.lang.String industry,
107         java.lang.String type, java.lang.String size)
108         throws com.liferay.portal.PortalException,
109             com.liferay.portal.SystemException {
110         return _companyService.updateCompany(companyId, virtualHost, mx,
111             homeURL, name, legalName, legalId, legalType, sicCode,
112             tickerSymbol, industry, type, size);
113     }
114 
115     public com.liferay.portal.model.Company updateCompany(long companyId,
116         java.lang.String virtualHost, java.lang.String mx,
117         java.lang.String homeURL, java.lang.String name,
118         java.lang.String legalName, java.lang.String legalId,
119         java.lang.String legalType, java.lang.String sicCode,
120         java.lang.String tickerSymbol, java.lang.String industry,
121         java.lang.String type, java.lang.String size,
122         java.lang.String languageId, java.lang.String timeZoneId,
123         java.util.List<com.liferay.portal.model.Address> addresses,
124         java.util.List<com.liferay.portal.model.EmailAddress> emailAddresses,
125         java.util.List<com.liferay.portal.model.Phone> phones,
126         java.util.List<com.liferay.portal.model.Website> websites,
127         com.liferay.portal.kernel.util.UnicodeProperties properties)
128         throws com.liferay.portal.PortalException,
129             com.liferay.portal.SystemException {
130         return _companyService.updateCompany(companyId, virtualHost, mx,
131             homeURL, name, legalName, legalId, legalType, sicCode,
132             tickerSymbol, industry, type, size, languageId, timeZoneId,
133             addresses, emailAddresses, phones, websites, properties);
134     }
135 
136     public void updateDisplay(long companyId, java.lang.String languageId,
137         java.lang.String timeZoneId)
138         throws com.liferay.portal.PortalException,
139             com.liferay.portal.SystemException {
140         _companyService.updateDisplay(companyId, languageId, timeZoneId);
141     }
142 
143     public void updateLogo(long companyId, java.io.File file)
144         throws com.liferay.portal.PortalException,
145             com.liferay.portal.SystemException {
146         _companyService.updateLogo(companyId, file);
147     }
148 
149     public void updatePreferences(long companyId,
150         com.liferay.portal.kernel.util.UnicodeProperties properties)
151         throws com.liferay.portal.PortalException,
152             com.liferay.portal.SystemException {
153         _companyService.updatePreferences(companyId, properties);
154     }
155 
156     public void updateSecurity(long companyId, java.lang.String authType,
157         boolean autoLogin, boolean sendPassword, boolean strangers,
158         boolean strangersWithMx, boolean strangersVerify, boolean communityLogo)
159         throws com.liferay.portal.PortalException,
160             com.liferay.portal.SystemException {
161         _companyService.updateSecurity(companyId, authType, autoLogin,
162             sendPassword, strangers, strangersWithMx, strangersVerify,
163             communityLogo);
164     }
165 
166     public CompanyService getWrappedCompanyService() {
167         return _companyService;
168     }
169 
170     private CompanyService _companyService;
171 }