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 obc)
           
 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 obc)
           
 Company findBySystem_Last(boolean system, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 Company[] findBySystem_PrevAndNext(long companyId, boolean system, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 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 obc)
           
 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 updateImpl(Company company, boolean merge)
           
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
clearCache, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, getListeners, registerListener, remove, remove, unregisterListener, update
 

Method Detail

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.kernel.exception.SystemException
Throws:
NoSuchCompanyException
com.liferay.portal.kernel.exception.SystemException

updateImpl

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

findByPrimaryKey

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

fetchByPrimaryKey

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

findByWebId

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

fetchByWebId

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

fetchByWebId

Company fetchByWebId(java.lang.String webId,
                     boolean retrieveFromCache)
                     throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByVirtualHost

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

fetchByVirtualHost

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

fetchByVirtualHost

Company fetchByVirtualHost(java.lang.String virtualHost,
                           boolean retrieveFromCache)
                           throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByMx

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

fetchByMx

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

fetchByMx

Company fetchByMx(java.lang.String mx,
                  boolean retrieveFromCache)
                  throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByLogoId

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

fetchByLogoId

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

fetchByLogoId

Company fetchByLogoId(long logoId,
                      boolean retrieveFromCache)
                      throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findBySystem

java.util.List<Company> findBySystem(boolean system)
                                     throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findBySystem

java.util.List<Company> findBySystem(boolean system,
                                     int start,
                                     int end)
                                     throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findBySystem

java.util.List<Company> findBySystem(boolean system,
                                     int start,
                                     int end,
                                     com.liferay.portal.kernel.util.OrderByComparator obc)
                                     throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findBySystem_First

Company findBySystem_First(boolean system,
                           com.liferay.portal.kernel.util.OrderByComparator obc)
                           throws NoSuchCompanyException,
                                  com.liferay.portal.kernel.exception.SystemException
Throws:
NoSuchCompanyException
com.liferay.portal.kernel.exception.SystemException

findBySystem_Last

Company findBySystem_Last(boolean system,
                          com.liferay.portal.kernel.util.OrderByComparator obc)
                          throws NoSuchCompanyException,
                                 com.liferay.portal.kernel.exception.SystemException
Throws:
NoSuchCompanyException
com.liferay.portal.kernel.exception.SystemException

findBySystem_PrevAndNext

Company[] findBySystem_PrevAndNext(long companyId,
                                   boolean system,
                                   com.liferay.portal.kernel.util.OrderByComparator obc)
                                   throws NoSuchCompanyException,
                                          com.liferay.portal.kernel.exception.SystemException
Throws:
NoSuchCompanyException
com.liferay.portal.kernel.exception.SystemException

findAll

java.util.List<Company> findAll()
                                throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findAll

java.util.List<Company> findAll(int start,
                                int end)
                                throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findAll

java.util.List<Company> findAll(int start,
                                int end,
                                com.liferay.portal.kernel.util.OrderByComparator obc)
                                throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeByWebId

void removeByWebId(java.lang.String webId)
                   throws NoSuchCompanyException,
                          com.liferay.portal.kernel.exception.SystemException
Throws:
NoSuchCompanyException
com.liferay.portal.kernel.exception.SystemException

removeByVirtualHost

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

removeByMx

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

removeByLogoId

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

removeBySystem

void removeBySystem(boolean system)
                    throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeAll

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

countByWebId

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

countByVirtualHost

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

countByMx

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

countByLogoId

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

countBySystem

int countBySystem(boolean system)
                  throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countAll

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