com.liferay.portal.service.persistence
Class CompanyUtil

java.lang.Object
  extended bycom.liferay.portal.service.persistence.CompanyUtil

public class CompanyUtil
extends java.lang.Object

View Source

Author:
Brian Wing Shun Chan

Constructor Summary
CompanyUtil()
           
 
Method Summary
static int countAll()
           
static int countByLogoId(long logoId)
           
static int countByMx(java.lang.String mx)
           
static int countByVirtualHost(java.lang.String virtualHost)
           
static int countByWebId(java.lang.String webId)
           
static Company create(long companyId)
           
static Company fetchByLogoId(long logoId)
           
static Company fetchByMx(java.lang.String mx)
           
static Company fetchByPrimaryKey(long companyId)
           
static Company fetchByVirtualHost(java.lang.String virtualHost)
           
static Company fetchByWebId(java.lang.String webId)
           
static java.util.List findAll()
           
static java.util.List findAll(int begin, int end)
           
static java.util.List findAll(int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static Company findByLogoId(long logoId)
           
static Company findByMx(java.lang.String mx)
           
static Company findByPrimaryKey(long companyId)
           
static Company findByVirtualHost(java.lang.String virtualHost)
           
static Company findByWebId(java.lang.String webId)
           
static java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
static java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, 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 removeByVirtualHost(java.lang.String virtualHost)
           
static void removeByWebId(java.lang.String webId)
           
 void setPersistence(CompanyPersistence persistence)
           
static Company update(Company company)
           
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
 

Constructor Detail

CompanyUtil

public CompanyUtil()
Method Detail

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)