com.liferay.portal.service.persistence
Interface CompanyPersistence
- All Superinterfaces:
- BasePersistence<Company>
public interface CompanyPersistence
- extends BasePersistence<Company>
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
- Author:
- Brian Wing Shun Chan
- See Also:
CompanyPersistenceImpl
,
CompanyUtil
- Generated:
Method Summary |
void |
cacheResult(Company company)
|
void |
cacheResult(java.util.List<Company> companies)
|
int |
countAll()
|
int |
countByLogoId(long logoId)
|
int |
countByMx(java.lang.String mx)
|
int |
countBySystem(boolean system)
|
int |
countByVirtualHost(java.lang.String virtualHost)
|
int |
countByWebId(java.lang.String webId)
|
Company |
create(long companyId)
|
Company |
fetchByLogoId(long logoId)
|
Company |
fetchByLogoId(long logoId,
boolean retrieveFromCache)
|
Company |
fetchByMx(java.lang.String mx)
|
Company |
fetchByMx(java.lang.String mx,
boolean retrieveFromCache)
|
Company |
fetchByPrimaryKey(long companyId)
|
Company |
fetchByVirtualHost(java.lang.String virtualHost)
|
Company |
fetchByVirtualHost(java.lang.String virtualHost,
boolean retrieveFromCache)
|
Company |
fetchByWebId(java.lang.String webId)
|
Company |
fetchByWebId(java.lang.String webId,
boolean retrieveFromCache)
|
java.util.List<Company> |
findAll()
|
java.util.List<Company> |
findAll(int start,
int end)
|
java.util.List<Company> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
Company |
findByLogoId(long logoId)
|
Company |
findByMx(java.lang.String mx)
|
Company |
findByPrimaryKey(long companyId)
|
Company |
findBySystem_First(boolean system,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
Company |
findBySystem_Last(boolean system,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
Company[] |
findBySystem_PrevAndNext(long companyId,
boolean system,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
java.util.List<Company> |
findBySystem(boolean system)
|
java.util.List<Company> |
findBySystem(boolean system,
int start,
int end)
|
java.util.List<Company> |
findBySystem(boolean system,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
Company |
findByVirtualHost(java.lang.String virtualHost)
|
Company |
findByWebId(java.lang.String webId)
|
Company |
remove(long companyId)
|
void |
removeAll()
|
void |
removeByLogoId(long logoId)
|
void |
removeByMx(java.lang.String mx)
|
void |
removeBySystem(boolean system)
|
void |
removeByVirtualHost(java.lang.String virtualHost)
|
void |
removeByWebId(java.lang.String webId)
|
Company |
update(Company company)
Deprecated. Use BasePersistence.update(com.liferay.portal.model.BaseModel, boolean) . |
Company |
updateImpl(Company company,
boolean merge)
|
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
clearCache, clearCache, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, remove, setDataSource, unregisterListener, update |
cacheResult
void cacheResult(Company company)
cacheResult
void cacheResult(java.util.List<Company> companies)
create
Company create(long companyId)
remove
Company remove(long companyId)
throws NoSuchCompanyException,
com.liferay.portal.SystemException
- Throws:
NoSuchCompanyException
com.liferay.portal.SystemException
update
Company update(Company company)
throws com.liferay.portal.SystemException
- Deprecated. Use
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)
.
- Throws:
com.liferay.portal.SystemException
updateImpl
Company updateImpl(Company company,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
Company findByPrimaryKey(long companyId)
throws NoSuchCompanyException,
com.liferay.portal.SystemException
- Throws:
NoSuchCompanyException
com.liferay.portal.SystemException
fetchByPrimaryKey
Company fetchByPrimaryKey(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByWebId
Company findByWebId(java.lang.String webId)
throws NoSuchCompanyException,
com.liferay.portal.SystemException
- Throws:
NoSuchCompanyException
com.liferay.portal.SystemException
fetchByWebId
Company fetchByWebId(java.lang.String webId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
fetchByWebId
Company fetchByWebId(java.lang.String webId,
boolean retrieveFromCache)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByVirtualHost
Company findByVirtualHost(java.lang.String virtualHost)
throws NoSuchCompanyException,
com.liferay.portal.SystemException
- Throws:
NoSuchCompanyException
com.liferay.portal.SystemException
fetchByVirtualHost
Company fetchByVirtualHost(java.lang.String virtualHost)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
fetchByVirtualHost
Company fetchByVirtualHost(java.lang.String virtualHost,
boolean retrieveFromCache)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByMx
Company findByMx(java.lang.String mx)
throws NoSuchCompanyException,
com.liferay.portal.SystemException
- Throws:
NoSuchCompanyException
com.liferay.portal.SystemException
fetchByMx
Company fetchByMx(java.lang.String mx)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
fetchByMx
Company fetchByMx(java.lang.String mx,
boolean retrieveFromCache)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByLogoId
Company findByLogoId(long logoId)
throws NoSuchCompanyException,
com.liferay.portal.SystemException
- Throws:
NoSuchCompanyException
com.liferay.portal.SystemException
fetchByLogoId
Company fetchByLogoId(long logoId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
fetchByLogoId
Company fetchByLogoId(long logoId,
boolean retrieveFromCache)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findBySystem
java.util.List<Company> findBySystem(boolean system)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findBySystem
java.util.List<Company> findBySystem(boolean system,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findBySystem
java.util.List<Company> findBySystem(boolean system,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findBySystem_First
Company findBySystem_First(boolean system,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchCompanyException,
com.liferay.portal.SystemException
- Throws:
NoSuchCompanyException
com.liferay.portal.SystemException
findBySystem_Last
Company findBySystem_Last(boolean system,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchCompanyException,
com.liferay.portal.SystemException
- Throws:
NoSuchCompanyException
com.liferay.portal.SystemException
findBySystem_PrevAndNext
Company[] findBySystem_PrevAndNext(long companyId,
boolean system,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchCompanyException,
com.liferay.portal.SystemException
- Throws:
NoSuchCompanyException
com.liferay.portal.SystemException
findAll
java.util.List<Company> findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
java.util.List<Company> findAll(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
java.util.List<Company> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByWebId
void removeByWebId(java.lang.String webId)
throws NoSuchCompanyException,
com.liferay.portal.SystemException
- Throws:
NoSuchCompanyException
com.liferay.portal.SystemException
removeByVirtualHost
void removeByVirtualHost(java.lang.String virtualHost)
throws NoSuchCompanyException,
com.liferay.portal.SystemException
- Throws:
NoSuchCompanyException
com.liferay.portal.SystemException
removeByMx
void removeByMx(java.lang.String mx)
throws NoSuchCompanyException,
com.liferay.portal.SystemException
- Throws:
NoSuchCompanyException
com.liferay.portal.SystemException
removeByLogoId
void removeByLogoId(long logoId)
throws NoSuchCompanyException,
com.liferay.portal.SystemException
- Throws:
NoSuchCompanyException
com.liferay.portal.SystemException
removeBySystem
void removeBySystem(boolean system)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeAll
void removeAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByWebId
int countByWebId(java.lang.String webId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByVirtualHost
int countByVirtualHost(java.lang.String virtualHost)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByMx
int countByMx(java.lang.String mx)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByLogoId
int countByLogoId(long logoId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countBySystem
int countBySystem(boolean system)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countAll
int countAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException