com.liferay.portal.service
Class CompanyServiceUtil

java.lang.Object
  extended bycom.liferay.portal.service.CompanyServiceUtil

public class CompanyServiceUtil
extends java.lang.Object

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This class provides static methods for the com.liferay.portal.service.CompanyService bean. The static methods of this class calls the same methods of the bean instance. It's convenient to be able to just write one line to call a method on a bean instead of writing a lookup call and a method call.

com.liferay.portal.service.CompanyServiceFactory is responsible for the lookup of the bean.

Author:
Brian Wing Shun Chan
See Also:
CompanyService, CompanyServiceFactory

Constructor Summary
CompanyServiceUtil()
           
 
Method Summary
static Company addCompany(java.lang.String webId, java.lang.String virtualHost, java.lang.String mx)
           
static Company updateCompany(long companyId, java.lang.String virtualHost, java.lang.String mx)
           
static Company updateCompany(long companyId, java.lang.String virtualHost, java.lang.String mx, java.lang.String name, java.lang.String legalName, java.lang.String legalId, java.lang.String legalType, java.lang.String sicCode, java.lang.String tickerSymbol, java.lang.String industry, java.lang.String type, java.lang.String size)
           
static void updateDisplay(long companyId, java.lang.String languageId, java.lang.String timeZoneId)
           
static void updateLogo(long companyId, java.io.File file)
           
static void updateSecurity(long companyId, java.lang.String authType, boolean autoLogin, boolean sendPassword, boolean strangers, boolean strangersWithMx, boolean strangersVerify, boolean communityLogo)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompanyServiceUtil

public CompanyServiceUtil()
Method Detail

addCompany

public static Company addCompany(java.lang.String webId,
                                 java.lang.String virtualHost,
                                 java.lang.String mx)
                          throws com.liferay.portal.PortalException,
                                 com.liferay.portal.SystemException,
                                 java.rmi.RemoteException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

updateCompany

public static Company updateCompany(long companyId,
                                    java.lang.String virtualHost,
                                    java.lang.String mx)
                             throws com.liferay.portal.PortalException,
                                    com.liferay.portal.SystemException,
                                    java.rmi.RemoteException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

updateCompany

public static Company updateCompany(long companyId,
                                    java.lang.String virtualHost,
                                    java.lang.String mx,
                                    java.lang.String name,
                                    java.lang.String legalName,
                                    java.lang.String legalId,
                                    java.lang.String legalType,
                                    java.lang.String sicCode,
                                    java.lang.String tickerSymbol,
                                    java.lang.String industry,
                                    java.lang.String type,
                                    java.lang.String size)
                             throws com.liferay.portal.PortalException,
                                    com.liferay.portal.SystemException,
                                    java.rmi.RemoteException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

updateDisplay

public static void updateDisplay(long companyId,
                                 java.lang.String languageId,
                                 java.lang.String timeZoneId)
                          throws com.liferay.portal.PortalException,
                                 com.liferay.portal.SystemException,
                                 java.rmi.RemoteException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

updateLogo

public static void updateLogo(long companyId,
                              java.io.File file)
                       throws com.liferay.portal.PortalException,
                              com.liferay.portal.SystemException,
                              java.rmi.RemoteException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

updateSecurity

public static void updateSecurity(long companyId,
                                  java.lang.String authType,
                                  boolean autoLogin,
                                  boolean sendPassword,
                                  boolean strangers,
                                  boolean strangersWithMx,
                                  boolean strangersVerify,
                                  boolean communityLogo)
                           throws com.liferay.portal.PortalException,
                                  com.liferay.portal.SystemException,
                                  java.rmi.RemoteException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException