1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * The contents of this file are subject to the terms of the Liferay Enterprise
5    * Subscription License ("License"). You may not use this file except in
6    * compliance with the License. You can obtain a copy of the License by
7    * contacting Liferay, Inc. See the License for the specific language governing
8    * permissions and limitations under the License, including but not limited to
9    * distribution rights of the Software.
10   *
11   *
12   *
13   */
14  
15  package com.liferay.portal.service;
16  
17  /**
18   * <a href="CompanyServiceUtil.java.html"><b><i>View Source</i></b></a>
19   *
20   * <p>
21   * ServiceBuilder generated this class. Modifications in this class will be
22   * overwritten the next time is generated.
23   * </p>
24   *
25   * <p>
26   * This class is a wrapper for {@link CompanyService}.
27   * </p>
28   *
29   * @author    Brian Wing Shun Chan
30   * @see       CompanyService
31   * @generated
32   */
33  public class CompanyServiceWrapper implements CompanyService {
34      public CompanyServiceWrapper(CompanyService companyService) {
35          _companyService = companyService;
36      }
37  
38      public com.liferay.portal.model.Company addCompany(java.lang.String webId,
39          java.lang.String virtualHost, java.lang.String mx,
40          java.lang.String shardName, boolean system)
41          throws com.liferay.portal.PortalException,
42              com.liferay.portal.SystemException {
43          return _companyService.addCompany(webId, virtualHost, mx, shardName,
44              system);
45      }
46  
47      public void deleteLogo(long companyId)
48          throws com.liferay.portal.PortalException,
49              com.liferay.portal.SystemException {
50          _companyService.deleteLogo(companyId);
51      }
52  
53      public com.liferay.portal.model.Company getCompanyById(long companyId)
54          throws com.liferay.portal.PortalException,
55              com.liferay.portal.SystemException {
56          return _companyService.getCompanyById(companyId);
57      }
58  
59      public com.liferay.portal.model.Company getCompanyByLogoId(long logoId)
60          throws com.liferay.portal.PortalException,
61              com.liferay.portal.SystemException {
62          return _companyService.getCompanyByLogoId(logoId);
63      }
64  
65      public com.liferay.portal.model.Company getCompanyByMx(java.lang.String mx)
66          throws com.liferay.portal.PortalException,
67              com.liferay.portal.SystemException {
68          return _companyService.getCompanyByMx(mx);
69      }
70  
71      public com.liferay.portal.model.Company getCompanyByVirtualHost(
72          java.lang.String virtualHost)
73          throws com.liferay.portal.PortalException,
74              com.liferay.portal.SystemException {
75          return _companyService.getCompanyByVirtualHost(virtualHost);
76      }
77  
78      public com.liferay.portal.model.Company getCompanyByWebId(
79          java.lang.String webId)
80          throws com.liferay.portal.PortalException,
81              com.liferay.portal.SystemException {
82          return _companyService.getCompanyByWebId(webId);
83      }
84  
85      public void removePreferences(long companyId, java.lang.String[] keys)
86          throws com.liferay.portal.PortalException,
87              com.liferay.portal.SystemException {
88          _companyService.removePreferences(companyId, keys);
89      }
90  
91      public com.liferay.portal.model.Company updateCompany(long companyId,
92          java.lang.String virtualHost, java.lang.String mx)
93          throws com.liferay.portal.PortalException,
94              com.liferay.portal.SystemException {
95          return _companyService.updateCompany(companyId, virtualHost, mx);
96      }
97  
98      public com.liferay.portal.model.Company updateCompany(long companyId,
99          java.lang.String virtualHost, java.lang.String mx,
100         java.lang.String homeURL, java.lang.String name,
101         java.lang.String legalName, java.lang.String legalId,
102         java.lang.String legalType, java.lang.String sicCode,
103         java.lang.String tickerSymbol, java.lang.String industry,
104         java.lang.String type, java.lang.String size)
105         throws com.liferay.portal.PortalException,
106             com.liferay.portal.SystemException {
107         return _companyService.updateCompany(companyId, virtualHost, mx,
108             homeURL, name, legalName, legalId, legalType, sicCode,
109             tickerSymbol, industry, type, size);
110     }
111 
112     public com.liferay.portal.model.Company updateCompany(long companyId,
113         java.lang.String virtualHost, java.lang.String mx,
114         java.lang.String homeURL, java.lang.String name,
115         java.lang.String legalName, java.lang.String legalId,
116         java.lang.String legalType, java.lang.String sicCode,
117         java.lang.String tickerSymbol, java.lang.String industry,
118         java.lang.String type, java.lang.String size,
119         java.lang.String languageId, java.lang.String timeZoneId,
120         java.util.List<com.liferay.portal.model.Address> addresses,
121         java.util.List<com.liferay.portal.model.EmailAddress> emailAddresses,
122         java.util.List<com.liferay.portal.model.Phone> phones,
123         java.util.List<com.liferay.portal.model.Website> websites,
124         com.liferay.portal.kernel.util.UnicodeProperties properties)
125         throws com.liferay.portal.PortalException,
126             com.liferay.portal.SystemException {
127         return _companyService.updateCompany(companyId, virtualHost, mx,
128             homeURL, name, legalName, legalId, legalType, sicCode,
129             tickerSymbol, industry, type, size, languageId, timeZoneId,
130             addresses, emailAddresses, phones, websites, properties);
131     }
132 
133     public void updateDisplay(long companyId, java.lang.String languageId,
134         java.lang.String timeZoneId)
135         throws com.liferay.portal.PortalException,
136             com.liferay.portal.SystemException {
137         _companyService.updateDisplay(companyId, languageId, timeZoneId);
138     }
139 
140     public void updateLogo(long companyId, java.io.File file)
141         throws com.liferay.portal.PortalException,
142             com.liferay.portal.SystemException {
143         _companyService.updateLogo(companyId, file);
144     }
145 
146     public void updatePreferences(long companyId,
147         com.liferay.portal.kernel.util.UnicodeProperties properties)
148         throws com.liferay.portal.PortalException,
149             com.liferay.portal.SystemException {
150         _companyService.updatePreferences(companyId, properties);
151     }
152 
153     public void updateSecurity(long companyId, java.lang.String authType,
154         boolean autoLogin, boolean sendPassword, boolean strangers,
155         boolean strangersWithMx, boolean strangersVerify, boolean communityLogo)
156         throws com.liferay.portal.PortalException,
157             com.liferay.portal.SystemException {
158         _companyService.updateSecurity(companyId, authType, autoLogin,
159             sendPassword, strangers, strangersWithMx, strangersVerify,
160             communityLogo);
161     }
162 
163     public CompanyService getWrappedCompanyService() {
164         return _companyService;
165     }
166 
167     private CompanyService _companyService;
168 }