com.liferay.portal.service
Class CompanyServiceWrapper

java.lang.Object
  extended by com.liferay.portal.service.CompanyServiceWrapper
All Implemented Interfaces:
CompanyService

public class CompanyServiceWrapper
extends java.lang.Object
implements CompanyService

View Source

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

This class is a wrapper for CompanyService.

Author:
Brian Wing Shun Chan
See Also:
CompanyService
Generated:

Constructor Summary
CompanyServiceWrapper(CompanyService companyService)
           
 
Method Summary
 Company addCompany(java.lang.String webId, java.lang.String virtualHost, java.lang.String mx, java.lang.String shardName, boolean system)
           
 void deleteLogo(long companyId)
           
 Company getCompanyById(long companyId)
           
 Company getCompanyByLogoId(long logoId)
           
 Company getCompanyByMx(java.lang.String mx)
           
 Company getCompanyByVirtualHost(java.lang.String virtualHost)
           
 Company getCompanyByWebId(java.lang.String webId)
           
 CompanyService getWrappedCompanyService()
           
 void removePreferences(long companyId, java.lang.String[] keys)
           
 Company updateCompany(long companyId, java.lang.String virtualHost, java.lang.String mx)
           
 Company updateCompany(long companyId, java.lang.String virtualHost, java.lang.String mx, java.lang.String homeURL, 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)
           
 Company updateCompany(long companyId, java.lang.String virtualHost, java.lang.String mx, java.lang.String homeURL, 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, java.lang.String languageId, java.lang.String timeZoneId, java.util.List<Address> addresses, java.util.List<EmailAddress> emailAddresses, java.util.List<Phone> phones, java.util.List<Website> websites, com.liferay.portal.kernel.util.UnicodeProperties properties)
           
 void updateDisplay(long companyId, java.lang.String languageId, java.lang.String timeZoneId)
           
 void updateLogo(long companyId, java.io.File file)
           
 void updatePreferences(long companyId, com.liferay.portal.kernel.util.UnicodeProperties properties)
           
 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

CompanyServiceWrapper

public CompanyServiceWrapper(CompanyService companyService)
Method Detail

addCompany

public Company addCompany(java.lang.String webId,
                          java.lang.String virtualHost,
                          java.lang.String mx,
                          java.lang.String shardName,
                          boolean system)
                   throws com.liferay.portal.kernel.exception.PortalException,
                          com.liferay.portal.kernel.exception.SystemException
Specified by:
addCompany in interface CompanyService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

deleteLogo

public void deleteLogo(long companyId)
                throws com.liferay.portal.kernel.exception.PortalException,
                       com.liferay.portal.kernel.exception.SystemException
Specified by:
deleteLogo in interface CompanyService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getCompanyById

public Company getCompanyById(long companyId)
                       throws com.liferay.portal.kernel.exception.PortalException,
                              com.liferay.portal.kernel.exception.SystemException
Specified by:
getCompanyById in interface CompanyService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getCompanyByLogoId

public Company getCompanyByLogoId(long logoId)
                           throws com.liferay.portal.kernel.exception.PortalException,
                                  com.liferay.portal.kernel.exception.SystemException
Specified by:
getCompanyByLogoId in interface CompanyService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getCompanyByMx

public Company getCompanyByMx(java.lang.String mx)
                       throws com.liferay.portal.kernel.exception.PortalException,
                              com.liferay.portal.kernel.exception.SystemException
Specified by:
getCompanyByMx in interface CompanyService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getCompanyByVirtualHost

public Company getCompanyByVirtualHost(java.lang.String virtualHost)
                                throws com.liferay.portal.kernel.exception.PortalException,
                                       com.liferay.portal.kernel.exception.SystemException
Specified by:
getCompanyByVirtualHost in interface CompanyService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getCompanyByWebId

public Company getCompanyByWebId(java.lang.String webId)
                          throws com.liferay.portal.kernel.exception.PortalException,
                                 com.liferay.portal.kernel.exception.SystemException
Specified by:
getCompanyByWebId in interface CompanyService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

removePreferences

public void removePreferences(long companyId,
                              java.lang.String[] keys)
                       throws com.liferay.portal.kernel.exception.PortalException,
                              com.liferay.portal.kernel.exception.SystemException
Specified by:
removePreferences in interface CompanyService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

updateCompany

public Company updateCompany(long companyId,
                             java.lang.String virtualHost,
                             java.lang.String mx)
                      throws com.liferay.portal.kernel.exception.PortalException,
                             com.liferay.portal.kernel.exception.SystemException
Specified by:
updateCompany in interface CompanyService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

updateCompany

public Company updateCompany(long companyId,
                             java.lang.String virtualHost,
                             java.lang.String mx,
                             java.lang.String homeURL,
                             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.kernel.exception.PortalException,
                             com.liferay.portal.kernel.exception.SystemException
Specified by:
updateCompany in interface CompanyService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

updateCompany

public Company updateCompany(long companyId,
                             java.lang.String virtualHost,
                             java.lang.String mx,
                             java.lang.String homeURL,
                             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,
                             java.lang.String languageId,
                             java.lang.String timeZoneId,
                             java.util.List<Address> addresses,
                             java.util.List<EmailAddress> emailAddresses,
                             java.util.List<Phone> phones,
                             java.util.List<Website> websites,
                             com.liferay.portal.kernel.util.UnicodeProperties properties)
                      throws com.liferay.portal.kernel.exception.PortalException,
                             com.liferay.portal.kernel.exception.SystemException
Specified by:
updateCompany in interface CompanyService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

updateDisplay

public void updateDisplay(long companyId,
                          java.lang.String languageId,
                          java.lang.String timeZoneId)
                   throws com.liferay.portal.kernel.exception.PortalException,
                          com.liferay.portal.kernel.exception.SystemException
Specified by:
updateDisplay in interface CompanyService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

updateLogo

public void updateLogo(long companyId,
                       java.io.File file)
                throws com.liferay.portal.kernel.exception.PortalException,
                       com.liferay.portal.kernel.exception.SystemException
Specified by:
updateLogo in interface CompanyService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

updatePreferences

public void updatePreferences(long companyId,
                              com.liferay.portal.kernel.util.UnicodeProperties properties)
                       throws com.liferay.portal.kernel.exception.PortalException,
                              com.liferay.portal.kernel.exception.SystemException
Specified by:
updatePreferences in interface CompanyService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

updateSecurity

public void updateSecurity(long companyId,
                           java.lang.String authType,
                           boolean autoLogin,
                           boolean sendPassword,
                           boolean strangers,
                           boolean strangersWithMx,
                           boolean strangersVerify,
                           boolean communityLogo)
                    throws com.liferay.portal.kernel.exception.PortalException,
                           com.liferay.portal.kernel.exception.SystemException
Specified by:
updateSecurity in interface CompanyService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getWrappedCompanyService

public CompanyService getWrappedCompanyService()