com.liferay.portal.service.persistence
Class CompanyUtil
java.lang.Object
com.liferay.portal.service.persistence.CompanyUtil
public class CompanyUtil
- extends java.lang.Object
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:
CompanyPersistence
,
CompanyPersistenceImpl
- Generated:
Method Summary |
static void |
cacheResult(Company company)
|
static void |
cacheResult(java.util.List<Company> companies)
|
static void |
clearCache()
|
static void |
clearCache(Company company)
|
static int |
countAll()
|
static int |
countByLogoId(long logoId)
|
static int |
countByMx(java.lang.String mx)
|
static int |
countBySystem(boolean system)
|
static int |
countByVirtualHost(java.lang.String virtualHost)
|
static int |
countByWebId(java.lang.String webId)
|
int |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
static Company |
create(long companyId)
|
static Company |
fetchByLogoId(long logoId)
|
static Company |
fetchByLogoId(long logoId,
boolean retrieveFromCache)
|
static Company |
fetchByMx(java.lang.String mx)
|
static Company |
fetchByMx(java.lang.String mx,
boolean retrieveFromCache)
|
static Company |
fetchByPrimaryKey(long companyId)
|
static Company |
fetchByVirtualHost(java.lang.String virtualHost)
|
static Company |
fetchByVirtualHost(java.lang.String virtualHost,
boolean retrieveFromCache)
|
static Company |
fetchByWebId(java.lang.String webId)
|
static Company |
fetchByWebId(java.lang.String webId,
boolean retrieveFromCache)
|
static java.util.List<Company> |
findAll()
|
static java.util.List<Company> |
findAll(int start,
int end)
|
static java.util.List<Company> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static Company |
findByLogoId(long logoId)
|
static Company |
findByMx(java.lang.String mx)
|
static Company |
findByPrimaryKey(long companyId)
|
static Company |
findBySystem_First(boolean system,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static Company |
findBySystem_Last(boolean system,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static Company[] |
findBySystem_PrevAndNext(long companyId,
boolean system,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static java.util.List<Company> |
findBySystem(boolean system)
|
static java.util.List<Company> |
findBySystem(boolean system,
int start,
int end)
|
static java.util.List<Company> |
findBySystem(boolean system,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static Company |
findByVirtualHost(java.lang.String virtualHost)
|
static Company |
findByWebId(java.lang.String webId)
|
static java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
static java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
static CompanyPersistence |
getPersistence()
|
static Company |
remove(Company company)
|
static Company |
remove(long companyId)
|
static void |
removeAll()
|
static void |
removeByLogoId(long logoId)
|
static void |
removeByMx(java.lang.String mx)
|
static void |
removeBySystem(boolean system)
|
static void |
removeByVirtualHost(java.lang.String virtualHost)
|
static void |
removeByWebId(java.lang.String webId)
|
void |
setPersistence(CompanyPersistence persistence)
|
static Company |
update(Company company)
Deprecated. Use com.liferay.portal.service.persistence.BasePersistence.#update(com.liferay.portal.model.BaseModel, boolean) . |
static Company |
update(Company company,
boolean merge)
|
static Company |
updateImpl(Company company,
boolean merge)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompanyUtil
public CompanyUtil()
clearCache
public static void clearCache()
- See Also:
BasePersistence.clearCache()
clearCache
public static void clearCache(Company company)
- See Also:
com.liferay.portal.service.persistence.BasePersistence#clearCache(Company)
countWithDynamicQuery
public int countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
- See Also:
BasePersistence.countWithDynamicQuery(DynamicQuery)
findWithDynamicQuery
public static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
- See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery)
findWithDynamicQuery
public static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
- See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
remove
public static Company remove(Company company)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
- See Also:
BasePersistence.remove(com.liferay.portal.model.BaseModel)
update
public static Company update(Company company,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
- See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)
cacheResult
public static void cacheResult(Company company)
cacheResult
public static void cacheResult(java.util.List<Company> companies)
create
public static Company create(long companyId)
remove
public static Company remove(long companyId)
throws NoSuchCompanyException,
com.liferay.portal.SystemException
- Throws:
NoSuchCompanyException
com.liferay.portal.SystemException
update
public static Company update(Company company)
throws com.liferay.portal.SystemException
- Deprecated. Use
com.liferay.portal.service.persistence.BasePersistence.#update(com.liferay.portal.model.BaseModel, boolean)
.
- Throws:
com.liferay.portal.SystemException
updateImpl
public static Company updateImpl(Company company,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
public static Company findByPrimaryKey(long companyId)
throws NoSuchCompanyException,
com.liferay.portal.SystemException
- Throws:
NoSuchCompanyException
com.liferay.portal.SystemException
fetchByPrimaryKey
public static Company fetchByPrimaryKey(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByWebId
public static Company findByWebId(java.lang.String webId)
throws NoSuchCompanyException,
com.liferay.portal.SystemException
- Throws:
NoSuchCompanyException
com.liferay.portal.SystemException
fetchByWebId
public static Company fetchByWebId(java.lang.String webId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
fetchByWebId
public static Company fetchByWebId(java.lang.String webId,
boolean retrieveFromCache)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByVirtualHost
public static Company findByVirtualHost(java.lang.String virtualHost)
throws NoSuchCompanyException,
com.liferay.portal.SystemException
- Throws:
NoSuchCompanyException
com.liferay.portal.SystemException
fetchByVirtualHost
public static Company fetchByVirtualHost(java.lang.String virtualHost)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
fetchByVirtualHost
public static Company fetchByVirtualHost(java.lang.String virtualHost,
boolean retrieveFromCache)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByMx
public static Company findByMx(java.lang.String mx)
throws NoSuchCompanyException,
com.liferay.portal.SystemException
- Throws:
NoSuchCompanyException
com.liferay.portal.SystemException
fetchByMx
public static Company fetchByMx(java.lang.String mx)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
fetchByMx
public static Company fetchByMx(java.lang.String mx,
boolean retrieveFromCache)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByLogoId
public static Company findByLogoId(long logoId)
throws NoSuchCompanyException,
com.liferay.portal.SystemException
- Throws:
NoSuchCompanyException
com.liferay.portal.SystemException
fetchByLogoId
public static Company fetchByLogoId(long logoId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
fetchByLogoId
public static Company fetchByLogoId(long logoId,
boolean retrieveFromCache)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findBySystem
public static java.util.List<Company> findBySystem(boolean system)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findBySystem
public static java.util.List<Company> findBySystem(boolean system,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findBySystem
public static 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
public static 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
public static 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
public static 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
public static java.util.List<Company> findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List<Company> findAll(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static 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
public static void removeByWebId(java.lang.String webId)
throws NoSuchCompanyException,
com.liferay.portal.SystemException
- Throws:
NoSuchCompanyException
com.liferay.portal.SystemException
removeByVirtualHost
public static void removeByVirtualHost(java.lang.String virtualHost)
throws NoSuchCompanyException,
com.liferay.portal.SystemException
- Throws:
NoSuchCompanyException
com.liferay.portal.SystemException
removeByMx
public static void removeByMx(java.lang.String mx)
throws NoSuchCompanyException,
com.liferay.portal.SystemException
- Throws:
NoSuchCompanyException
com.liferay.portal.SystemException
removeByLogoId
public static void removeByLogoId(long logoId)
throws NoSuchCompanyException,
com.liferay.portal.SystemException
- Throws:
NoSuchCompanyException
com.liferay.portal.SystemException
removeBySystem
public static void removeBySystem(boolean system)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeAll
public static void removeAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByWebId
public static int countByWebId(java.lang.String webId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByVirtualHost
public static int countByVirtualHost(java.lang.String virtualHost)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByMx
public static int countByMx(java.lang.String mx)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByLogoId
public static int countByLogoId(long logoId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countBySystem
public static int countBySystem(boolean system)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countAll
public static int countAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getPersistence
public static CompanyPersistence getPersistence()
setPersistence
public void setPersistence(CompanyPersistence persistence)