com.liferay.portal.service
Interface CompanyLocalService
@Transactional(rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
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:
CompanyLocalServiceUtil
Method Summary |
Company |
addCompany(Company company)
|
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)
|
Company |
createCompany(long companyId)
|
void |
deleteCompany(Company company)
|
void |
deleteCompany(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(int start,
int end)
|
int |
getCompaniesCount()
|
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)
|
com.liferay.portal.kernel.search.Hits |
search(long companyId,
java.lang.String keywords,
int start,
int end)
|
com.liferay.portal.kernel.search.Hits |
search(long companyId,
java.lang.String portletId,
long groupId,
java.lang.String type,
java.lang.String keywords,
int start,
int end)
|
Company |
updateCompany(Company company)
|
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 |
updateSecurity(long companyId,
java.lang.String authType,
boolean autoLogin,
boolean sendPassword,
boolean strangers,
boolean strangersWithMx,
boolean strangersVerify,
boolean communityLogo)
|
addCompany
Company addCompany(Company company)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
createCompany
Company createCompany(long companyId)
deleteCompany
void deleteCompany(long companyId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deleteCompany
void deleteCompany(Company company)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getCompany
@Transactional(propagation=SUPPORTS,
readOnly=true)
Company getCompany(long companyId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getCompanies
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<Company> getCompanies(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getCompaniesCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getCompaniesCount()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateCompany
Company updateCompany(Company company)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addCompany
Company addCompany(java.lang.String webId,
java.lang.String virtualHost,
java.lang.String mx)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
checkCompany
Company checkCompany(java.lang.String webId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
checkCompany
Company checkCompany(java.lang.String webId,
java.lang.String mx)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
checkCompanyKey
void checkCompanyKey(long companyId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getCompanies
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<Company> getCompanies()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getCompanyById
@Transactional(propagation=SUPPORTS,
readOnly=true)
Company getCompanyById(long companyId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getCompanyByLogoId
@Transactional(propagation=SUPPORTS,
readOnly=true)
Company getCompanyByLogoId(long logoId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getCompanyByMx
@Transactional(propagation=SUPPORTS,
readOnly=true)
Company getCompanyByMx(java.lang.String mx)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getCompanyByVirtualHost
@Transactional(propagation=SUPPORTS,
readOnly=true)
Company getCompanyByVirtualHost(java.lang.String virtualHost)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getCompanyByWebId
@Transactional(propagation=SUPPORTS,
readOnly=true)
Company getCompanyByWebId(java.lang.String webId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
search
@Transactional(propagation=SUPPORTS,
readOnly=true)
com.liferay.portal.kernel.search.Hits search(long companyId,
java.lang.String keywords,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
search
@Transactional(propagation=SUPPORTS,
readOnly=true)
com.liferay.portal.kernel.search.Hits search(long companyId,
java.lang.String portletId,
long groupId,
java.lang.String type,
java.lang.String keywords,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateCompany
Company updateCompany(long companyId,
java.lang.String virtualHost,
java.lang.String mx)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateCompany
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.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateDisplay
void updateDisplay(long companyId,
java.lang.String languageId,
java.lang.String timeZoneId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateLogo
void updateLogo(long companyId,
byte[] bytes)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateLogo
void updateLogo(long companyId,
java.io.File file)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateLogo
void updateLogo(long companyId,
java.io.InputStream is)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateSecurity
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
- Throws:
com.liferay.portal.SystemException