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  import com.liferay.portal.PortalException;
18  import com.liferay.portal.SystemException;
19  import com.liferay.portal.kernel.annotation.Isolation;
20  import com.liferay.portal.kernel.annotation.Transactional;
21  
22  /**
23   * <a href="CompanyService.java.html"><b><i>View Source</i></b></a>
24   *
25   * <p>
26   * ServiceBuilder generated this class. Modifications in this class will be
27   * overwritten the next time is generated.
28   * </p>
29   *
30   * <p>
31   * This interface defines the service. The default implementation is
32   * {@link
33   * com.liferay.portal.service.impl.CompanyServiceImpl}}.
34   * Modify methods in that class and rerun ServiceBuilder to populate this class
35   * and all other generated classes.
36   * </p>
37   *
38   * <p>
39   * This is a remote service. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.
40   * </p>
41   *
42   * @author    Brian Wing Shun Chan
43   * @see       CompanyServiceUtil
44   * @generated
45   */
46  @Transactional(isolation = Isolation.PORTAL, rollbackFor =  {
47      PortalException.class, SystemException.class})
48  public interface CompanyService {
49      public com.liferay.portal.model.Company addCompany(java.lang.String webId,
50          java.lang.String virtualHost, java.lang.String mx)
51          throws java.rmi.RemoteException, com.liferay.portal.PortalException,
52              com.liferay.portal.SystemException;
53  
54      public com.liferay.portal.model.Company addCompany(java.lang.String webId,
55          java.lang.String virtualHost, java.lang.String mx,
56          java.lang.String shardName, boolean system)
57          throws java.rmi.RemoteException, com.liferay.portal.PortalException,
58              com.liferay.portal.SystemException;
59  
60      public com.liferay.portal.model.Company updateCompany(long companyId,
61          java.lang.String virtualHost, java.lang.String mx)
62          throws java.rmi.RemoteException, com.liferay.portal.PortalException,
63              com.liferay.portal.SystemException;
64  
65      public com.liferay.portal.model.Company updateCompany(long companyId,
66          java.lang.String virtualHost, java.lang.String mx,
67          java.lang.String name, java.lang.String legalName,
68          java.lang.String legalId, java.lang.String legalType,
69          java.lang.String sicCode, java.lang.String tickerSymbol,
70          java.lang.String industry, java.lang.String type, java.lang.String size)
71          throws java.rmi.RemoteException, com.liferay.portal.PortalException,
72              com.liferay.portal.SystemException;
73  
74      public void updateDisplay(long companyId, java.lang.String languageId,
75          java.lang.String timeZoneId)
76          throws java.rmi.RemoteException, com.liferay.portal.PortalException,
77              com.liferay.portal.SystemException;
78  
79      public void updateLogo(long companyId, java.io.File file)
80          throws java.rmi.RemoteException, com.liferay.portal.PortalException,
81              com.liferay.portal.SystemException;
82  
83      public void updateSecurity(long companyId, java.lang.String authType,
84          boolean autoLogin, boolean sendPassword, boolean strangers,
85          boolean strangersWithMx, boolean strangersVerify, boolean communityLogo)
86          throws java.rmi.RemoteException, com.liferay.portal.PortalException,
87              com.liferay.portal.SystemException;
88  }