|
Liferay 6.0-ee-sp2 | |||||||||
| 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 virtualHostname,
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)
Returns the number of rows that match the dynamic query. |
String |
getBeanIdentifier()
Returns the Spring bean ID for this bean. |
List<Company> |
getCompanies()
|
List<Company> |
getCompanies(boolean system)
|
List<Company> |
getCompanies(int start,
int end)
Returns a range of all the companies. |
int |
getCompaniesCount()
Returns the number of companies. |
int |
getCompaniesCount(boolean system)
|
Company |
getCompany(long companyId)
Returns the company with the primary key. |
Company |
getCompanyById(long companyId)
|
Company |
getCompanyByLogoId(long logoId)
|
Company |
getCompanyByMx(String mx)
|
Company |
getCompanyByVirtualHost(String virtualHostname)
|
Company |
getCompanyByWebId(String webId)
|
PersistedModel |
getPersistedModel(Serializable primaryKeyObj)
|
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)
|
void |
setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean. |
void |
setWrappedCompanyLocalService(CompanyLocalService companyLocalService)
|
Company |
updateCompany(Company company)
Updates the company in the database or adds it if it does not yet exist. |
Company |
updateCompany(Company company,
boolean merge)
Updates the company in the database or adds it if it does not yet exist. |
Company |
updateCompany(long companyId,
String virtualHostname,
String mx,
int maxUsers)
|
Company |
updateCompany(long companyId,
String virtualHostname,
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
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
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
SystemException - if a system exception occurred
public List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
dynamicQuery in interface CompanyLocalServicedynamicQuery - the dynamic query
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 querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (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 querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public long dynamicQueryCount(DynamicQuery dynamicQuery)
throws SystemException
dynamicQueryCount in interface CompanyLocalServicedynamicQuery - the dynamic query
SystemException - if a system exception occurred
public Company getCompany(long companyId)
throws PortalException,
SystemException
getCompany in interface CompanyLocalServicecompanyId - the primary key of the company
PortalException - if a company with the primary key could not be found
SystemException - if a system exception occurred
public PersistedModel getPersistedModel(Serializable primaryKeyObj)
throws PortalException,
SystemException
getPersistedModel in interface CompanyLocalServicegetPersistedModel in interface PersistedModelLocalServicePortalException
SystemException
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 companiesend - the upper bound of the range of companies (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
SystemException - if a system exception occurred
public Company updateCompany(Company company,
boolean merge)
throws SystemException
updateCompany in interface CompanyLocalServicecompany - the companymerge - 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 occurredpublic String getBeanIdentifier()
getBeanIdentifier in interface CompanyLocalServicepublic void setBeanIdentifier(String beanIdentifier)
setBeanIdentifier in interface CompanyLocalServicebeanIdentifier - the Spring bean ID for this bean
public Company addCompany(String webId,
String virtualHostname,
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 virtualHostname)
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 virtualHostname,
String mx,
int maxUsers)
throws PortalException,
SystemException
updateCompany in interface CompanyLocalServicePortalException
SystemException
public Company updateCompany(long companyId,
String virtualHostname,
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()
public void setWrappedCompanyLocalService(CompanyLocalService companyLocalService)
|
Liferay 6.0-ee-sp2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||