com.liferay.portal.service
Interface CompanyService


public interface CompanyService

View Source

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

This interface defines the service. The default implementation is com.liferay.portal.service.impl.CompanyServiceImpl. Modify methods in that class and rerun ServiceBuilder to populate this class and all other generated classes.

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.

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

Method Summary
 Company addCompany(java.lang.String webId, java.lang.String virtualHost, java.lang.String mx)
           
 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 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)
           
 void updateDisplay(long companyId, java.lang.String languageId, java.lang.String timeZoneId)
           
 void updateLogo(long companyId, java.io.File file)
           
 void updateSecurity(long companyId, java.lang.String authType, boolean autoLogin, boolean sendPassword, boolean strangers, boolean strangersWithMx, boolean strangersVerify, boolean communityLogo)
           
 

Method Detail

addCompany

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

updateCompany

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

updateCompany

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 java.rmi.RemoteException,
                             com.liferay.portal.SystemException,
                             com.liferay.portal.PortalException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException

updateDisplay

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

updateLogo

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

updateSecurity

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