com.liferay.portal.service
Class CompanyLocalServiceWrapper

java.lang.Object
  extended by com.liferay.portal.service.CompanyLocalServiceWrapper
All Implemented Interfaces:
CompanyLocalService

public class CompanyLocalServiceWrapper
extends java.lang.Object
implements CompanyLocalService

View Source

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

This class is a wrapper for CompanyLocalService.

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

Constructor Summary
CompanyLocalServiceWrapper(CompanyLocalService companyLocalService)
           
 
Method Summary
 Company addCompany(Company company)
           
 Company addCompany(java.lang.String webId, java.lang.String virtualHost, java.lang.String mx, java.lang.String shardName, boolean system, int maxUsers)
           
 Company checkCompany(java.lang.String webId)
           
 Company checkCompany(java.lang.String webId, java.lang.String mx, java.lang.String shardName)
           
 void checkCompanyKey(long companyId)
           
 Company createCompany(long companyId)
           
 void deleteCompany(Company company)
           
 void deleteCompany(long companyId)
           
 void deleteLogo(long companyId)
           
 java.util.List dynamicQuery(DynamicQuery dynamicQuery)
           
 java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
           
 java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator)
           
 long dynamicQueryCount(DynamicQuery dynamicQuery)
           
 java.util.List<Company> getCompanies()
           
 java.util.List<Company> getCompanies(boolean system)
           
 java.util.List<Company> getCompanies(int start, int end)
           
 int getCompaniesCount()
           
 int getCompaniesCount(boolean system)
           
 Company getCompany(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)
           
 CompanyLocalService getWrappedCompanyLocalService()
           
 void removePreferences(long companyId, java.lang.String[] keys)
           
 Hits search(long companyId, long userId, java.lang.String keywords, int start, int end)
           
 Hits search(long companyId, long userId, java.lang.String portletId, long groupId, java.lang.String type, java.lang.String keywords, int start, int end)
           
 Company updateCompany(Company company)
           
 Company updateCompany(Company company, boolean merge)
           
 Company updateCompany(long companyId, java.lang.String virtualHost, java.lang.String mx, int maxUsers)
           
 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)
           
 void updateDisplay(long companyId, java.lang.String languageId, java.lang.String timeZoneId)
           
 void updateLogo(long companyId, byte[] bytes)
           
 void updateLogo(long companyId, java.io.File file)
           
 void updateLogo(long companyId, java.io.InputStream is)
           
 void updatePreferences(long companyId, 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

CompanyLocalServiceWrapper

public CompanyLocalServiceWrapper(CompanyLocalService companyLocalService)
Method Detail

addCompany

public Company addCompany(Company company)
                   throws SystemException
Specified by:
addCompany in interface CompanyLocalService
Throws:
SystemException

createCompany

public Company createCompany(long companyId)
Specified by:
createCompany in interface CompanyLocalService

deleteCompany

public void deleteCompany(long companyId)
                   throws PortalException,
                          SystemException
Specified by:
deleteCompany in interface CompanyLocalService
Throws:
PortalException
SystemException

deleteCompany

public void deleteCompany(Company company)
                   throws SystemException
Specified by:
deleteCompany in interface CompanyLocalService
Throws:
SystemException

dynamicQuery

public java.util.List dynamicQuery(DynamicQuery dynamicQuery)
                            throws SystemException
Specified by:
dynamicQuery in interface CompanyLocalService
Throws:
SystemException

dynamicQuery

public java.util.List dynamicQuery(DynamicQuery dynamicQuery,
                                   int start,
                                   int end)
                            throws SystemException
Specified by:
dynamicQuery in interface CompanyLocalService
Throws:
SystemException

dynamicQuery

public java.util.List dynamicQuery(DynamicQuery dynamicQuery,
                                   int start,
                                   int end,
                                   OrderByComparator orderByComparator)
                            throws SystemException
Specified by:
dynamicQuery in interface CompanyLocalService
Throws:
SystemException

dynamicQueryCount

public long dynamicQueryCount(DynamicQuery dynamicQuery)
                       throws SystemException
Specified by:
dynamicQueryCount in interface CompanyLocalService
Throws:
SystemException

getCompany

public Company getCompany(long companyId)
                   throws PortalException,
                          SystemException
Specified by:
getCompany in interface CompanyLocalService
Throws:
PortalException
SystemException

getCompanies

public java.util.List<Company> getCompanies(int start,
                                            int end)
                                     throws SystemException
Specified by:
getCompanies in interface CompanyLocalService
Throws:
SystemException

getCompaniesCount

public int getCompaniesCount()
                      throws SystemException
Specified by:
getCompaniesCount in interface CompanyLocalService
Throws:
SystemException

updateCompany

public Company updateCompany(Company company)
                      throws SystemException
Specified by:
updateCompany in interface CompanyLocalService
Throws:
SystemException

updateCompany

public Company updateCompany(Company company,
                             boolean merge)
                      throws SystemException
Specified by:
updateCompany in interface CompanyLocalService
Throws:
SystemException

addCompany

public Company addCompany(java.lang.String webId,
                          java.lang.String virtualHost,
                          java.lang.String mx,
                          java.lang.String shardName,
                          boolean system,
                          int maxUsers)
                   throws PortalException,
                          SystemException
Specified by:
addCompany in interface CompanyLocalService
Throws:
PortalException
SystemException

checkCompany

public Company checkCompany(java.lang.String webId)
                     throws PortalException,
                            SystemException
Specified by:
checkCompany in interface CompanyLocalService
Throws:
PortalException
SystemException

checkCompany

public Company checkCompany(java.lang.String webId,
                            java.lang.String mx,
                            java.lang.String shardName)
                     throws PortalException,
                            SystemException
Specified by:
checkCompany in interface CompanyLocalService
Throws:
PortalException
SystemException

checkCompanyKey

public void checkCompanyKey(long companyId)
                     throws PortalException,
                            SystemException
Specified by:
checkCompanyKey in interface CompanyLocalService
Throws:
PortalException
SystemException

deleteLogo

public void deleteLogo(long companyId)
                throws PortalException,
                       SystemException
Specified by:
deleteLogo in interface CompanyLocalService
Throws:
PortalException
SystemException

getCompanies

public java.util.List<Company> getCompanies()
                                     throws SystemException
Specified by:
getCompanies in interface CompanyLocalService
Throws:
SystemException

getCompanies

public java.util.List<Company> getCompanies(boolean system)
                                     throws SystemException
Specified by:
getCompanies in interface CompanyLocalService
Throws:
SystemException

getCompaniesCount

public int getCompaniesCount(boolean system)
                      throws SystemException
Specified by:
getCompaniesCount in interface CompanyLocalService
Throws:
SystemException

getCompanyById

public Company getCompanyById(long companyId)
                       throws PortalException,
                              SystemException
Specified by:
getCompanyById in interface CompanyLocalService
Throws:
PortalException
SystemException

getCompanyByLogoId

public Company getCompanyByLogoId(long logoId)
                           throws PortalException,
                                  SystemException
Specified by:
getCompanyByLogoId in interface CompanyLocalService
Throws:
PortalException
SystemException

getCompanyByMx

public Company getCompanyByMx(java.lang.String mx)
                       throws PortalException,
                              SystemException
Specified by:
getCompanyByMx in interface CompanyLocalService
Throws:
PortalException
SystemException

getCompanyByVirtualHost

public Company getCompanyByVirtualHost(java.lang.String virtualHost)
                                throws PortalException,
                                       SystemException
Specified by:
getCompanyByVirtualHost in interface CompanyLocalService
Throws:
PortalException
SystemException

getCompanyByWebId

public Company getCompanyByWebId(java.lang.String webId)
                          throws PortalException,
                                 SystemException
Specified by:
getCompanyByWebId in interface CompanyLocalService
Throws:
PortalException
SystemException

removePreferences

public void removePreferences(long companyId,
                              java.lang.String[] keys)
                       throws SystemException
Specified by:
removePreferences in interface CompanyLocalService
Throws:
SystemException

search

public Hits search(long companyId,
                   long userId,
                   java.lang.String keywords,
                   int start,
                   int end)
            throws SystemException
Specified by:
search in interface CompanyLocalService
Throws:
SystemException

search

public Hits search(long companyId,
                   long userId,
                   java.lang.String portletId,
                   long groupId,
                   java.lang.String type,
                   java.lang.String keywords,
                   int start,
                   int end)
            throws SystemException
Specified by:
search in interface CompanyLocalService
Throws:
SystemException

updateCompany

public Company updateCompany(long companyId,
                             java.lang.String virtualHost,
                             java.lang.String mx,
                             int maxUsers)
                      throws PortalException,
                             SystemException
Specified by:
updateCompany in interface CompanyLocalService
Throws:
PortalException
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 PortalException,
                             SystemException
Specified by:
updateCompany in interface CompanyLocalService
Throws:
PortalException
SystemException

updateDisplay

public void updateDisplay(long companyId,
                          java.lang.String languageId,
                          java.lang.String timeZoneId)
                   throws PortalException,
                          SystemException
Specified by:
updateDisplay in interface CompanyLocalService
Throws:
PortalException
SystemException

updateLogo

public void updateLogo(long companyId,
                       byte[] bytes)
                throws PortalException,
                       SystemException
Specified by:
updateLogo in interface CompanyLocalService
Throws:
PortalException
SystemException

updateLogo

public void updateLogo(long companyId,
                       java.io.File file)
                throws PortalException,
                       SystemException
Specified by:
updateLogo in interface CompanyLocalService
Throws:
PortalException
SystemException

updateLogo

public void updateLogo(long companyId,
                       java.io.InputStream is)
                throws PortalException,
                       SystemException
Specified by:
updateLogo in interface CompanyLocalService
Throws:
PortalException
SystemException

updatePreferences

public void updatePreferences(long companyId,
                              UnicodeProperties properties)
                       throws SystemException
Specified by:
updatePreferences in interface CompanyLocalService
Throws:
SystemException

updateSecurity

public void updateSecurity(long companyId,
                           java.lang.String authType,
                           boolean autoLogin,
                           boolean sendPassword,
                           boolean strangers,
                           boolean strangersWithMx,
                           boolean strangersVerify,
                           boolean communityLogo)
                    throws SystemException
Specified by:
updateSecurity in interface CompanyLocalService
Throws:
SystemException

getWrappedCompanyLocalService

public CompanyLocalService getWrappedCompanyLocalService()