1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portal.service;
16  
17  
18  /**
19   * <a href="CompanyServiceUtil.java.html"><b><i>View Source</i></b></a>
20   *
21   * <p>
22   * ServiceBuilder generated this class. Modifications in this class will be
23   * overwritten the next time is generated.
24   * </p>
25   *
26   * <p>
27   * This class is a wrapper for {@link CompanyService}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       CompanyService
32   * @generated
33   */
34  public class CompanyServiceWrapper implements CompanyService {
35      public CompanyServiceWrapper(CompanyService companyService) {
36          _companyService = companyService;
37      }
38  
39      public com.liferay.portal.model.Company addCompany(java.lang.String webId,
40          java.lang.String virtualHost, java.lang.String mx)
41          throws com.liferay.portal.PortalException,
42              com.liferay.portal.SystemException, java.rmi.RemoteException {
43          return _companyService.addCompany(webId, virtualHost, mx);
44      }
45  
46      public com.liferay.portal.model.Company addCompany(java.lang.String webId,
47          java.lang.String virtualHost, java.lang.String mx,
48          java.lang.String shardName, boolean system)
49          throws com.liferay.portal.PortalException,
50              com.liferay.portal.SystemException, java.rmi.RemoteException {
51          return _companyService.addCompany(webId, virtualHost, mx, shardName,
52              system);
53      }
54  
55      public com.liferay.portal.model.Company updateCompany(long companyId,
56          java.lang.String virtualHost, java.lang.String mx)
57          throws com.liferay.portal.PortalException,
58              com.liferay.portal.SystemException, java.rmi.RemoteException {
59          return _companyService.updateCompany(companyId, virtualHost, mx);
60      }
61  
62      public com.liferay.portal.model.Company updateCompany(long companyId,
63          java.lang.String virtualHost, java.lang.String mx,
64          java.lang.String name, java.lang.String legalName,
65          java.lang.String legalId, java.lang.String legalType,
66          java.lang.String sicCode, java.lang.String tickerSymbol,
67          java.lang.String industry, java.lang.String type, java.lang.String size)
68          throws com.liferay.portal.PortalException,
69              com.liferay.portal.SystemException, java.rmi.RemoteException {
70          return _companyService.updateCompany(companyId, virtualHost, mx, name,
71              legalName, legalId, legalType, sicCode, tickerSymbol, industry,
72              type, size);
73      }
74  
75      public void updateDisplay(long companyId, java.lang.String languageId,
76          java.lang.String timeZoneId)
77          throws com.liferay.portal.PortalException,
78              com.liferay.portal.SystemException, java.rmi.RemoteException {
79          _companyService.updateDisplay(companyId, languageId, timeZoneId);
80      }
81  
82      public void updateLogo(long companyId, java.io.File file)
83          throws com.liferay.portal.PortalException,
84              com.liferay.portal.SystemException, java.rmi.RemoteException {
85          _companyService.updateLogo(companyId, file);
86      }
87  
88      public void updateSecurity(long companyId, java.lang.String authType,
89          boolean autoLogin, boolean sendPassword, boolean strangers,
90          boolean strangersWithMx, boolean strangersVerify, boolean communityLogo)
91          throws com.liferay.portal.PortalException,
92              com.liferay.portal.SystemException, java.rmi.RemoteException {
93          _companyService.updateSecurity(companyId, authType, autoLogin,
94              sendPassword, strangers, strangersWithMx, strangersVerify,
95              communityLogo);
96      }
97  
98      public CompanyService getWrappedCompanyService() {
99          return _companyService;
100     }
101 
102     private CompanyService _companyService;
103 }