|
Liferay 6.0.6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.service.CompanyLocalServiceWrapper
public class CompanyLocalServiceWrapper
This class is a wrapper for CompanyLocalService.
CompanyLocalService| Constructor Summary | |
|---|---|
CompanyLocalServiceWrapper(CompanyLocalService companyLocalService)
|
|
| Method Summary | |
|---|---|
Company |
addCompany(Company company)
Adds the company to the database. |
Company |
addCompany(String webId,
String virtualHost,
String mx,
String shardName,
boolean system,
int maxUsers)
|
Company |
checkCompany(String webId)
|
Company |
checkCompany(String webId,
String mx,
String shardName)
|
void |
checkCompanyKey(long companyId)
|
Company |
createCompany(long companyId)
Creates a new company with the primary key. |
void |
deleteCompany(Company company)
Deletes the company from the database. |
void |
deleteCompany(long companyId)
Deletes the company with the primary key from the database. |
void |
deleteLogo(long companyId)
|
List |
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows. |
List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows. |
List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows. |
long |
dynamicQueryCount(DynamicQuery dynamicQuery)
Counts the number of rows that match the dynamic query. |
List<Company> |
getCompanies()
|
List<Company> |
getCompanies(boolean system)
|
List<Company> |
getCompanies(int start,
int end)
Gets a range of all the companies. |
int |
getCompaniesCount()
Gets the number of companies. |
int |
getCompaniesCount(boolean system)
|
Company |
getCompany(long companyId)
Gets the company with the primary key. |
Company |
getCompanyById(long companyId)
|
Company |
getCompanyByLogoId(long logoId)
|
Company |
getCompanyByMx(String mx)
|
Company |
getCompanyByVirtualHost(String virtualHost)
|
Company |
getCompanyByWebId(String webId)
|
CompanyLocalService |
getWrappedCompanyLocalService()
|
void |
removePreferences(long companyId,
String[] keys)
|
Hits |
search(long companyId,
long userId,
String keywords,
int start,
int end)
|
Hits |
search(long companyId,
long userId,
String portletId,
long groupId,
String type,
String keywords,
int start,
int end)
|
Company |
updateCompany(Company company)
Updates the company in the database. |
Company |
updateCompany(Company company,
boolean merge)
Updates the company in the database. |
Company |
updateCompany(long companyId,
String virtualHost,
String mx,
int maxUsers)
|
Company |
updateCompany(long companyId,
String virtualHost,
String mx,
String homeURL,
String name,
String legalName,
String legalId,
String legalType,
String sicCode,
String tickerSymbol,
String industry,
String type,
String size)
|
void |
updateDisplay(long companyId,
String languageId,
String timeZoneId)
|
void |
updateLogo(long companyId,
byte[] bytes)
|
void |
updateLogo(long companyId,
File file)
|
void |
updateLogo(long companyId,
InputStream is)
|
void |
updatePreferences(long companyId,
UnicodeProperties properties)
|
void |
updateSecurity(long companyId,
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 |
|---|
public CompanyLocalServiceWrapper(CompanyLocalService companyLocalService)
| Method Detail |
|---|
public Company addCompany(Company company)
throws SystemException
addCompany in interface CompanyLocalServicecompany - the company to add
SystemException - if a system exception occurredpublic Company createCompany(long companyId)
createCompany in interface CompanyLocalServicecompanyId - the primary key for the new company
public void deleteCompany(long companyId)
throws PortalException,
SystemException
deleteCompany in interface CompanyLocalServicecompanyId - the primary key of the company to delete
PortalException - if a company with the primary key could not be found
SystemException - if a system exception occurred
public void deleteCompany(Company company)
throws SystemException
deleteCompany in interface CompanyLocalServicecompany - the company to delete
SystemException - if a system exception occurred
public List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
dynamicQuery in interface CompanyLocalServicedynamicQuery - the dynamic query to search with
SystemException - if a system exception occurred
public List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
dynamicQuery in interface CompanyLocalServicedynamicQuery - the dynamic query to search withstart - the lower bound of the range of model instances to returnend - the upper bound of the range of model instances to return (not inclusive)
SystemException - if a system exception occurred
public List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
dynamicQuery in interface CompanyLocalServicedynamicQuery - the dynamic query to search withstart - the lower bound of the range of model instances to returnend - the upper bound of the range of model instances to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
public long dynamicQueryCount(DynamicQuery dynamicQuery)
throws SystemException
dynamicQueryCount in interface CompanyLocalServicedynamicQuery - the dynamic query to search with
SystemException - if a system exception occurred
public Company getCompany(long companyId)
throws PortalException,
SystemException
getCompany in interface CompanyLocalServicecompanyId - the primary key of the company to get
PortalException - if a company with the primary key could not be found
SystemException - if a system exception occurred
public List<Company> getCompanies(int start,
int end)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
getCompanies in interface CompanyLocalServicestart - the lower bound of the range of companies to returnend - the upper bound of the range of companies to return (not inclusive)
SystemException - if a system exception occurred
public int getCompaniesCount()
throws SystemException
getCompaniesCount in interface CompanyLocalServiceSystemException - if a system exception occurred
public Company updateCompany(Company company)
throws SystemException
updateCompany in interface CompanyLocalServicecompany - the company to update
SystemException - if a system exception occurred
public Company updateCompany(Company company,
boolean merge)
throws SystemException
updateCompany in interface CompanyLocalServicecompany - the company to updatemerge - whether to merge the company with the current session. See BatchSession.update(com.liferay.portal.kernel.dao.orm.Session, com.liferay.portal.model.BaseModel, boolean) for an explanation.
SystemException - if a system exception occurred
public Company addCompany(String webId,
String virtualHost,
String mx,
String shardName,
boolean system,
int maxUsers)
throws PortalException,
SystemException
addCompany in interface CompanyLocalServicePortalException
SystemException
public Company checkCompany(String webId)
throws PortalException,
SystemException
checkCompany in interface CompanyLocalServicePortalException
SystemException
public Company checkCompany(String webId,
String mx,
String shardName)
throws PortalException,
SystemException
checkCompany in interface CompanyLocalServicePortalException
SystemException
public void checkCompanyKey(long companyId)
throws PortalException,
SystemException
checkCompanyKey in interface CompanyLocalServicePortalException
SystemException
public void deleteLogo(long companyId)
throws PortalException,
SystemException
deleteLogo in interface CompanyLocalServicePortalException
SystemException
public List<Company> getCompanies()
throws SystemException
getCompanies in interface CompanyLocalServiceSystemException
public List<Company> getCompanies(boolean system)
throws SystemException
getCompanies in interface CompanyLocalServiceSystemException
public int getCompaniesCount(boolean system)
throws SystemException
getCompaniesCount in interface CompanyLocalServiceSystemException
public Company getCompanyById(long companyId)
throws PortalException,
SystemException
getCompanyById in interface CompanyLocalServicePortalException
SystemException
public Company getCompanyByLogoId(long logoId)
throws PortalException,
SystemException
getCompanyByLogoId in interface CompanyLocalServicePortalException
SystemException
public Company getCompanyByMx(String mx)
throws PortalException,
SystemException
getCompanyByMx in interface CompanyLocalServicePortalException
SystemException
public Company getCompanyByVirtualHost(String virtualHost)
throws PortalException,
SystemException
getCompanyByVirtualHost in interface CompanyLocalServicePortalException
SystemException
public Company getCompanyByWebId(String webId)
throws PortalException,
SystemException
getCompanyByWebId in interface CompanyLocalServicePortalException
SystemException
public void removePreferences(long companyId,
String[] keys)
throws SystemException
removePreferences in interface CompanyLocalServiceSystemException
public Hits search(long companyId,
long userId,
String keywords,
int start,
int end)
throws SystemException
search in interface CompanyLocalServiceSystemException
public Hits search(long companyId,
long userId,
String portletId,
long groupId,
String type,
String keywords,
int start,
int end)
throws SystemException
search in interface CompanyLocalServiceSystemException
public Company updateCompany(long companyId,
String virtualHost,
String mx,
int maxUsers)
throws PortalException,
SystemException
updateCompany in interface CompanyLocalServicePortalException
SystemException
public Company updateCompany(long companyId,
String virtualHost,
String mx,
String homeURL,
String name,
String legalName,
String legalId,
String legalType,
String sicCode,
String tickerSymbol,
String industry,
String type,
String size)
throws PortalException,
SystemException
updateCompany in interface CompanyLocalServicePortalException
SystemException
public void updateDisplay(long companyId,
String languageId,
String timeZoneId)
throws PortalException,
SystemException
updateDisplay in interface CompanyLocalServicePortalException
SystemException
public void updateLogo(long companyId,
byte[] bytes)
throws PortalException,
SystemException
updateLogo in interface CompanyLocalServicePortalException
SystemException
public void updateLogo(long companyId,
File file)
throws PortalException,
SystemException
updateLogo in interface CompanyLocalServicePortalException
SystemException
public void updateLogo(long companyId,
InputStream is)
throws PortalException,
SystemException
updateLogo in interface CompanyLocalServicePortalException
SystemException
public void updatePreferences(long companyId,
UnicodeProperties properties)
throws SystemException
updatePreferences in interface CompanyLocalServiceSystemException
public void updateSecurity(long companyId,
String authType,
boolean autoLogin,
boolean sendPassword,
boolean strangers,
boolean strangersWithMx,
boolean strangersVerify,
boolean communityLogo)
throws SystemException
updateSecurity in interface CompanyLocalServiceSystemExceptionpublic CompanyLocalService getWrappedCompanyLocalService()
|
Liferay 6.0.6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||