com.liferay.portal.service
Interface CompanyLocalService


public interface CompanyLocalService

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.CompanyLocalServiceImpl. Modify methods in that class and rerun ServiceBuilder to populate this class and all other generated classes.

This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.

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

Method Summary
 Company addCompany(Company model)
           
 Company addCompany(java.lang.String webId, java.lang.String virtualHost, java.lang.String mx)
           
 Company checkCompany(java.lang.String webId)
           
 Company checkCompany(java.lang.String webId, java.lang.String mx)
           
 void checkCompanyKey(long companyId)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
 java.util.List getCompanies()
           
 Company getCompanyById(long companyId)
           
 Company getCompanyByMx(java.lang.String mx)
           
 Company getCompanyByVirtualHost(java.lang.String virtualHost)
           
 Company getCompanyByWebId(java.lang.String webId)
           
 com.liferay.portal.kernel.search.Hits search(long companyId, java.lang.String keywords)
           
 com.liferay.portal.kernel.search.Hits search(long companyId, java.lang.String portletId, long groupId, java.lang.String type, java.lang.String keywords)
           
 Company updateCompany(Company model)
           
 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

public Company addCompany(Company model)
                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
                                   int begin,
                                   int end)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateCompany

public Company updateCompany(Company model)
                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

addCompany

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

checkCompany

public Company checkCompany(java.lang.String webId)
                     throws com.liferay.portal.SystemException,
                            com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

checkCompany

public Company checkCompany(java.lang.String webId,
                            java.lang.String mx)
                     throws com.liferay.portal.SystemException,
                            com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

checkCompanyKey

public void checkCompanyKey(long companyId)
                     throws com.liferay.portal.SystemException,
                            com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getCompanies

public java.util.List getCompanies()
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getCompanyById

public Company getCompanyById(long companyId)
                       throws com.liferay.portal.SystemException,
                              com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getCompanyByMx

public Company getCompanyByMx(java.lang.String mx)
                       throws com.liferay.portal.SystemException,
                              com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getCompanyByVirtualHost

public Company getCompanyByVirtualHost(java.lang.String virtualHost)
                                throws com.liferay.portal.SystemException,
                                       com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getCompanyByWebId

public Company getCompanyByWebId(java.lang.String webId)
                          throws com.liferay.portal.SystemException,
                                 com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

search

public com.liferay.portal.kernel.search.Hits search(long companyId,
                                                    java.lang.String keywords)
                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

search

public com.liferay.portal.kernel.search.Hits search(long companyId,
                                                    java.lang.String portletId,
                                                    long groupId,
                                                    java.lang.String type,
                                                    java.lang.String keywords)
                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateCompany

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

updateCompany

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

updateDisplay

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

updateLogo

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

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