com.liferay.portal.service
Class CompanyLocalServiceWrapper
java.lang.Object
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:
|
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)
|
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<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
java.util.List<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
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)
|
com.liferay.portal.kernel.search.Hits |
search(long companyId,
long userId,
java.lang.String keywords,
int start,
int end)
|
com.liferay.portal.kernel.search.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)
|
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,
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 |
CompanyLocalServiceWrapper
public CompanyLocalServiceWrapper(CompanyLocalService companyLocalService)
addCompany
public Company addCompany(Company company)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
addCompany in interface CompanyLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
createCompany
public Company createCompany(long companyId)
- Specified by:
createCompany in interface CompanyLocalService
deleteCompany
public void deleteCompany(long companyId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
deleteCompany in interface CompanyLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
deleteCompany
public void deleteCompany(Company company)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
deleteCompany in interface CompanyLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
dynamicQuery
public java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
dynamicQuery in interface CompanyLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
dynamicQuery
public java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
dynamicQuery in interface CompanyLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
getCompany
public Company getCompany(long companyId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
getCompany in interface CompanyLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getCompanies
public java.util.List<Company> getCompanies(int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getCompanies in interface CompanyLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
getCompaniesCount
public int getCompaniesCount()
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getCompaniesCount in interface CompanyLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
updateCompany
public Company updateCompany(Company company)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
updateCompany in interface CompanyLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
updateCompany
public Company updateCompany(Company company,
boolean merge)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
updateCompany in interface CompanyLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
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 CompanyLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
checkCompany
public Company checkCompany(java.lang.String webId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
checkCompany in interface CompanyLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
checkCompany
public Company checkCompany(java.lang.String webId,
java.lang.String mx,
java.lang.String shardName)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
checkCompany in interface CompanyLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
checkCompanyKey
public void checkCompanyKey(long companyId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
checkCompanyKey in interface CompanyLocalService
- 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 CompanyLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getCompanies
public java.util.List<Company> getCompanies()
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getCompanies in interface CompanyLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
getCompanies
public java.util.List<Company> getCompanies(boolean system)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getCompanies in interface CompanyLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
getCompaniesCount
public int getCompaniesCount(boolean system)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getCompaniesCount in interface CompanyLocalService
- Throws:
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 CompanyLocalService
- 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 CompanyLocalService
- 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 CompanyLocalService
- 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 CompanyLocalService
- 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 CompanyLocalService
- 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.SystemException
- Specified by:
removePreferences in interface CompanyLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
search
public com.liferay.portal.kernel.search.Hits search(long companyId,
long userId,
java.lang.String keywords,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
search in interface CompanyLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
search
public com.liferay.portal.kernel.search.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 com.liferay.portal.kernel.exception.SystemException
- Specified by:
search in interface CompanyLocalService
- Throws:
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 CompanyLocalService
- 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 CompanyLocalService
- 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 CompanyLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
updateLogo
public void updateLogo(long companyId,
byte[] bytes)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
updateLogo in interface CompanyLocalService
- 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 CompanyLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
updateLogo
public void updateLogo(long companyId,
java.io.InputStream is)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
updateLogo in interface CompanyLocalService
- 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.SystemException
- Specified by:
updatePreferences in interface CompanyLocalService
- Throws:
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.SystemException
- Specified by:
updateSecurity in interface CompanyLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
getWrappedCompanyLocalService
public CompanyLocalService getWrappedCompanyLocalService()