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
- Author:
- Brian Wing Shun Chan
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompanyUtil
public CompanyUtil()
create
public static Company create(long companyId)
remove
public static Company remove(long companyId)
throws com.liferay.portal.SystemException,
NoSuchCompanyException
- Throws:
com.liferay.portal.SystemException
NoSuchCompanyException
remove
public static Company remove(Company company)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public static Company update(Company company)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public static Company update(Company company,
boolean merge)
throws com.liferay.portal.SystemException
- 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 com.liferay.portal.SystemException,
NoSuchCompanyException
- Throws:
com.liferay.portal.SystemException
NoSuchCompanyException
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 com.liferay.portal.SystemException,
NoSuchCompanyException
- Throws:
com.liferay.portal.SystemException
NoSuchCompanyException
fetchByWebId
public static Company fetchByWebId(java.lang.String webId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByVirtualHost
public static Company findByVirtualHost(java.lang.String virtualHost)
throws com.liferay.portal.SystemException,
NoSuchCompanyException
- Throws:
com.liferay.portal.SystemException
NoSuchCompanyException
fetchByVirtualHost
public static Company fetchByVirtualHost(java.lang.String virtualHost)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByMx
public static Company findByMx(java.lang.String mx)
throws com.liferay.portal.SystemException,
NoSuchCompanyException
- Throws:
com.liferay.portal.SystemException
NoSuchCompanyException
fetchByMx
public static Company fetchByMx(java.lang.String mx)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByLogoId
public static Company findByLogoId(long logoId)
throws com.liferay.portal.SystemException,
NoSuchCompanyException
- Throws:
com.liferay.portal.SystemException
NoSuchCompanyException
fetchByLogoId
public static Company fetchByLogoId(long logoId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
public static java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
public static java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List findAll(int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List findAll(int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByWebId
public static void removeByWebId(java.lang.String webId)
throws com.liferay.portal.SystemException,
NoSuchCompanyException
- Throws:
com.liferay.portal.SystemException
NoSuchCompanyException
removeByVirtualHost
public static void removeByVirtualHost(java.lang.String virtualHost)
throws com.liferay.portal.SystemException,
NoSuchCompanyException
- Throws:
com.liferay.portal.SystemException
NoSuchCompanyException
removeByMx
public static void removeByMx(java.lang.String mx)
throws com.liferay.portal.SystemException,
NoSuchCompanyException
- Throws:
com.liferay.portal.SystemException
NoSuchCompanyException
removeByLogoId
public static void removeByLogoId(long logoId)
throws com.liferay.portal.SystemException,
NoSuchCompanyException
- Throws:
com.liferay.portal.SystemException
NoSuchCompanyException
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
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)