com.liferay.portal.service.persistence
Interface CompanyPersistence


public interface CompanyPersistence

View Source

Author:
Brian Wing Shun Chan

Method Summary
 int countAll()
           
 int countByLogoId(long logoId)
           
 int countByMx(java.lang.String mx)
           
 int countByVirtualHost(java.lang.String virtualHost)
           
 int countByWebId(java.lang.String webId)
           
 Company create(long companyId)
           
 Company fetchByLogoId(long logoId)
           
 Company fetchByMx(java.lang.String mx)
           
 Company fetchByPrimaryKey(long companyId)
           
 Company fetchByVirtualHost(java.lang.String virtualHost)
           
 Company fetchByWebId(java.lang.String webId)
           
 java.util.List findAll()
           
 java.util.List findAll(int begin, int end)
           
 java.util.List findAll(int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 Company findByLogoId(long logoId)
           
 Company findByMx(java.lang.String mx)
           
 Company findByPrimaryKey(long companyId)
           
 Company findByVirtualHost(java.lang.String virtualHost)
           
 Company findByWebId(java.lang.String webId)
           
 java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
 java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
 Company remove(Company company)
           
 Company remove(long companyId)
           
 void removeAll()
           
 void removeByLogoId(long logoId)
           
 void removeByMx(java.lang.String mx)
           
 void removeByVirtualHost(java.lang.String virtualHost)
           
 void removeByWebId(java.lang.String webId)
           
 Company update(Company company)
           
 Company update(Company company, boolean merge)
           
 Company updateImpl(Company company, boolean merge)
           
 

Method Detail

create

public Company create(long companyId)

remove

public Company remove(long companyId)
               throws com.liferay.portal.SystemException,
                      NoSuchCompanyException
Throws:
com.liferay.portal.SystemException
NoSuchCompanyException

remove

public Company remove(Company company)
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

public Company update(Company company)
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

public Company update(Company company,
                      boolean merge)
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateImpl

public Company updateImpl(Company company,
                          boolean merge)
                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

public Company findByPrimaryKey(long companyId)
                         throws com.liferay.portal.SystemException,
                                NoSuchCompanyException
Throws:
com.liferay.portal.SystemException
NoSuchCompanyException

fetchByPrimaryKey

public Company fetchByPrimaryKey(long companyId)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByWebId

public Company findByWebId(java.lang.String webId)
                    throws com.liferay.portal.SystemException,
                           NoSuchCompanyException
Throws:
com.liferay.portal.SystemException
NoSuchCompanyException

fetchByWebId

public Company fetchByWebId(java.lang.String webId)
                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByVirtualHost

public Company findByVirtualHost(java.lang.String virtualHost)
                          throws com.liferay.portal.SystemException,
                                 NoSuchCompanyException
Throws:
com.liferay.portal.SystemException
NoSuchCompanyException

fetchByVirtualHost

public Company fetchByVirtualHost(java.lang.String virtualHost)
                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByMx

public Company findByMx(java.lang.String mx)
                 throws com.liferay.portal.SystemException,
                        NoSuchCompanyException
Throws:
com.liferay.portal.SystemException
NoSuchCompanyException

fetchByMx

public Company fetchByMx(java.lang.String mx)
                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByLogoId

public Company findByLogoId(long logoId)
                     throws com.liferay.portal.SystemException,
                            NoSuchCompanyException
Throws:
com.liferay.portal.SystemException
NoSuchCompanyException

fetchByLogoId

public Company fetchByLogoId(long logoId)
                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findWithDynamicQuery

public java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findWithDynamicQuery

public 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 java.util.List findAll()
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

public java.util.List findAll(int begin,
                              int end)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

public 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 void removeByWebId(java.lang.String webId)
                   throws com.liferay.portal.SystemException,
                          NoSuchCompanyException
Throws:
com.liferay.portal.SystemException
NoSuchCompanyException

removeByVirtualHost

public void removeByVirtualHost(java.lang.String virtualHost)
                         throws com.liferay.portal.SystemException,
                                NoSuchCompanyException
Throws:
com.liferay.portal.SystemException
NoSuchCompanyException

removeByMx

public void removeByMx(java.lang.String mx)
                throws com.liferay.portal.SystemException,
                       NoSuchCompanyException
Throws:
com.liferay.portal.SystemException
NoSuchCompanyException

removeByLogoId

public void removeByLogoId(long logoId)
                    throws com.liferay.portal.SystemException,
                           NoSuchCompanyException
Throws:
com.liferay.portal.SystemException
NoSuchCompanyException

removeAll

public void removeAll()
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByWebId

public int countByWebId(java.lang.String webId)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByVirtualHost

public int countByVirtualHost(java.lang.String virtualHost)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByMx

public int countByMx(java.lang.String mx)
              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByLogoId

public int countByLogoId(long logoId)
                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countAll

public int countAll()
             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException