com.liferay.portal.service.persistence
Interface WebsitePersistence

All Superinterfaces:
BasePersistence<Website>

public interface WebsitePersistence
extends BasePersistence<Website>

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:
WebsitePersistenceImpl, WebsiteUtil
Generated:

Method Summary
 void cacheResult(java.util.List<Website> websites)
           
 void cacheResult(Website website)
           
 int countAll()
           
 int countByC_C_C_P(long companyId, long classNameId, long classPK, boolean primary)
           
 int countByC_C_C(long companyId, long classNameId, long classPK)
           
 int countByC_C(long companyId, long classNameId)
           
 int countByCompanyId(long companyId)
           
 int countByUserId(long userId)
           
 Website create(long websiteId)
           
 Website fetchByPrimaryKey(long websiteId)
           
 java.util.List<Website> findAll()
           
 java.util.List<Website> findAll(int start, int end)
           
 java.util.List<Website> findAll(int start, int end, OrderByComparator orderByComparator)
           
 Website findByC_C_C_First(long companyId, long classNameId, long classPK, OrderByComparator orderByComparator)
           
 Website findByC_C_C_Last(long companyId, long classNameId, long classPK, OrderByComparator orderByComparator)
           
 Website findByC_C_C_P_First(long companyId, long classNameId, long classPK, boolean primary, OrderByComparator orderByComparator)
           
 Website findByC_C_C_P_Last(long companyId, long classNameId, long classPK, boolean primary, OrderByComparator orderByComparator)
           
 Website[] findByC_C_C_P_PrevAndNext(long websiteId, long companyId, long classNameId, long classPK, boolean primary, OrderByComparator orderByComparator)
           
 java.util.List<Website> findByC_C_C_P(long companyId, long classNameId, long classPK, boolean primary)
           
 java.util.List<Website> findByC_C_C_P(long companyId, long classNameId, long classPK, boolean primary, int start, int end)
           
 java.util.List<Website> findByC_C_C_P(long companyId, long classNameId, long classPK, boolean primary, int start, int end, OrderByComparator orderByComparator)
           
 Website[] findByC_C_C_PrevAndNext(long websiteId, long companyId, long classNameId, long classPK, OrderByComparator orderByComparator)
           
 java.util.List<Website> findByC_C_C(long companyId, long classNameId, long classPK)
           
 java.util.List<Website> findByC_C_C(long companyId, long classNameId, long classPK, int start, int end)
           
 java.util.List<Website> findByC_C_C(long companyId, long classNameId, long classPK, int start, int end, OrderByComparator orderByComparator)
           
 Website findByC_C_First(long companyId, long classNameId, OrderByComparator orderByComparator)
           
 Website findByC_C_Last(long companyId, long classNameId, OrderByComparator orderByComparator)
           
 Website[] findByC_C_PrevAndNext(long websiteId, long companyId, long classNameId, OrderByComparator orderByComparator)
           
 java.util.List<Website> findByC_C(long companyId, long classNameId)
           
 java.util.List<Website> findByC_C(long companyId, long classNameId, int start, int end)
           
 java.util.List<Website> findByC_C(long companyId, long classNameId, int start, int end, OrderByComparator orderByComparator)
           
 Website findByCompanyId_First(long companyId, OrderByComparator orderByComparator)
           
 Website findByCompanyId_Last(long companyId, OrderByComparator orderByComparator)
           
 Website[] findByCompanyId_PrevAndNext(long websiteId, long companyId, OrderByComparator orderByComparator)
           
 java.util.List<Website> findByCompanyId(long companyId)
           
 java.util.List<Website> findByCompanyId(long companyId, int start, int end)
           
 java.util.List<Website> findByCompanyId(long companyId, int start, int end, OrderByComparator orderByComparator)
           
 Website findByPrimaryKey(long websiteId)
           
 Website findByUserId_First(long userId, OrderByComparator orderByComparator)
           
 Website findByUserId_Last(long userId, OrderByComparator orderByComparator)
           
 Website[] findByUserId_PrevAndNext(long websiteId, long userId, OrderByComparator orderByComparator)
           
 java.util.List<Website> findByUserId(long userId)
           
 java.util.List<Website> findByUserId(long userId, int start, int end)
           
 java.util.List<Website> findByUserId(long userId, int start, int end, OrderByComparator orderByComparator)
           
 Website remove(long websiteId)
           
 void removeAll()
           
 void removeByC_C_C_P(long companyId, long classNameId, long classPK, boolean primary)
           
 void removeByC_C_C(long companyId, long classNameId, long classPK)
           
 void removeByC_C(long companyId, long classNameId)
           
 void removeByCompanyId(long companyId)
           
 void removeByUserId(long userId)
           
 Website updateImpl(Website website, boolean merge)
           
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
clearCache, clearCache, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, remove, setDataSource, unregisterListener, update
 

Method Detail

cacheResult

void cacheResult(Website website)

cacheResult

void cacheResult(java.util.List<Website> websites)

create

Website create(long websiteId)

remove

Website remove(long websiteId)
               throws NoSuchWebsiteException,
                      SystemException
Throws:
NoSuchWebsiteException
SystemException

updateImpl

Website updateImpl(Website website,
                   boolean merge)
                   throws SystemException
Throws:
SystemException

findByPrimaryKey

Website findByPrimaryKey(long websiteId)
                         throws NoSuchWebsiteException,
                                SystemException
Throws:
NoSuchWebsiteException
SystemException

fetchByPrimaryKey

Website fetchByPrimaryKey(long websiteId)
                          throws SystemException
Throws:
SystemException

findByCompanyId

java.util.List<Website> findByCompanyId(long companyId)
                                        throws SystemException
Throws:
SystemException

findByCompanyId

java.util.List<Website> findByCompanyId(long companyId,
                                        int start,
                                        int end)
                                        throws SystemException
Throws:
SystemException

findByCompanyId

java.util.List<Website> findByCompanyId(long companyId,
                                        int start,
                                        int end,
                                        OrderByComparator orderByComparator)
                                        throws SystemException
Throws:
SystemException

findByCompanyId_First

Website findByCompanyId_First(long companyId,
                              OrderByComparator orderByComparator)
                              throws NoSuchWebsiteException,
                                     SystemException
Throws:
NoSuchWebsiteException
SystemException

findByCompanyId_Last

Website findByCompanyId_Last(long companyId,
                             OrderByComparator orderByComparator)
                             throws NoSuchWebsiteException,
                                    SystemException
Throws:
NoSuchWebsiteException
SystemException

findByCompanyId_PrevAndNext

Website[] findByCompanyId_PrevAndNext(long websiteId,
                                      long companyId,
                                      OrderByComparator orderByComparator)
                                      throws NoSuchWebsiteException,
                                             SystemException
Throws:
NoSuchWebsiteException
SystemException

findByUserId

java.util.List<Website> findByUserId(long userId)
                                     throws SystemException
Throws:
SystemException

findByUserId

java.util.List<Website> findByUserId(long userId,
                                     int start,
                                     int end)
                                     throws SystemException
Throws:
SystemException

findByUserId

java.util.List<Website> findByUserId(long userId,
                                     int start,
                                     int end,
                                     OrderByComparator orderByComparator)
                                     throws SystemException
Throws:
SystemException

findByUserId_First

Website findByUserId_First(long userId,
                           OrderByComparator orderByComparator)
                           throws NoSuchWebsiteException,
                                  SystemException
Throws:
NoSuchWebsiteException
SystemException

findByUserId_Last

Website findByUserId_Last(long userId,
                          OrderByComparator orderByComparator)
                          throws NoSuchWebsiteException,
                                 SystemException
Throws:
NoSuchWebsiteException
SystemException

findByUserId_PrevAndNext

Website[] findByUserId_PrevAndNext(long websiteId,
                                   long userId,
                                   OrderByComparator orderByComparator)
                                   throws NoSuchWebsiteException,
                                          SystemException
Throws:
NoSuchWebsiteException
SystemException

findByC_C

java.util.List<Website> findByC_C(long companyId,
                                  long classNameId)
                                  throws SystemException
Throws:
SystemException

findByC_C

java.util.List<Website> findByC_C(long companyId,
                                  long classNameId,
                                  int start,
                                  int end)
                                  throws SystemException
Throws:
SystemException

findByC_C

java.util.List<Website> findByC_C(long companyId,
                                  long classNameId,
                                  int start,
                                  int end,
                                  OrderByComparator orderByComparator)
                                  throws SystemException
Throws:
SystemException

findByC_C_First

Website findByC_C_First(long companyId,
                        long classNameId,
                        OrderByComparator orderByComparator)
                        throws NoSuchWebsiteException,
                               SystemException
Throws:
NoSuchWebsiteException
SystemException

findByC_C_Last

Website findByC_C_Last(long companyId,
                       long classNameId,
                       OrderByComparator orderByComparator)
                       throws NoSuchWebsiteException,
                              SystemException
Throws:
NoSuchWebsiteException
SystemException

findByC_C_PrevAndNext

Website[] findByC_C_PrevAndNext(long websiteId,
                                long companyId,
                                long classNameId,
                                OrderByComparator orderByComparator)
                                throws NoSuchWebsiteException,
                                       SystemException
Throws:
NoSuchWebsiteException
SystemException

findByC_C_C

java.util.List<Website> findByC_C_C(long companyId,
                                    long classNameId,
                                    long classPK)
                                    throws SystemException
Throws:
SystemException

findByC_C_C

java.util.List<Website> findByC_C_C(long companyId,
                                    long classNameId,
                                    long classPK,
                                    int start,
                                    int end)
                                    throws SystemException
Throws:
SystemException

findByC_C_C

java.util.List<Website> findByC_C_C(long companyId,
                                    long classNameId,
                                    long classPK,
                                    int start,
                                    int end,
                                    OrderByComparator orderByComparator)
                                    throws SystemException
Throws:
SystemException

findByC_C_C_First

Website findByC_C_C_First(long companyId,
                          long classNameId,
                          long classPK,
                          OrderByComparator orderByComparator)
                          throws NoSuchWebsiteException,
                                 SystemException
Throws:
NoSuchWebsiteException
SystemException

findByC_C_C_Last

Website findByC_C_C_Last(long companyId,
                         long classNameId,
                         long classPK,
                         OrderByComparator orderByComparator)
                         throws NoSuchWebsiteException,
                                SystemException
Throws:
NoSuchWebsiteException
SystemException

findByC_C_C_PrevAndNext

Website[] findByC_C_C_PrevAndNext(long websiteId,
                                  long companyId,
                                  long classNameId,
                                  long classPK,
                                  OrderByComparator orderByComparator)
                                  throws NoSuchWebsiteException,
                                         SystemException
Throws:
NoSuchWebsiteException
SystemException

findByC_C_C_P

java.util.List<Website> findByC_C_C_P(long companyId,
                                      long classNameId,
                                      long classPK,
                                      boolean primary)
                                      throws SystemException
Throws:
SystemException

findByC_C_C_P

java.util.List<Website> findByC_C_C_P(long companyId,
                                      long classNameId,
                                      long classPK,
                                      boolean primary,
                                      int start,
                                      int end)
                                      throws SystemException
Throws:
SystemException

findByC_C_C_P

java.util.List<Website> findByC_C_C_P(long companyId,
                                      long classNameId,
                                      long classPK,
                                      boolean primary,
                                      int start,
                                      int end,
                                      OrderByComparator orderByComparator)
                                      throws SystemException
Throws:
SystemException

findByC_C_C_P_First

Website findByC_C_C_P_First(long companyId,
                            long classNameId,
                            long classPK,
                            boolean primary,
                            OrderByComparator orderByComparator)
                            throws NoSuchWebsiteException,
                                   SystemException
Throws:
NoSuchWebsiteException
SystemException

findByC_C_C_P_Last

Website findByC_C_C_P_Last(long companyId,
                           long classNameId,
                           long classPK,
                           boolean primary,
                           OrderByComparator orderByComparator)
                           throws NoSuchWebsiteException,
                                  SystemException
Throws:
NoSuchWebsiteException
SystemException

findByC_C_C_P_PrevAndNext

Website[] findByC_C_C_P_PrevAndNext(long websiteId,
                                    long companyId,
                                    long classNameId,
                                    long classPK,
                                    boolean primary,
                                    OrderByComparator orderByComparator)
                                    throws NoSuchWebsiteException,
                                           SystemException
Throws:
NoSuchWebsiteException
SystemException

findAll

java.util.List<Website> findAll()
                                throws SystemException
Throws:
SystemException

findAll

java.util.List<Website> findAll(int start,
                                int end)
                                throws SystemException
Throws:
SystemException

findAll

java.util.List<Website> findAll(int start,
                                int end,
                                OrderByComparator orderByComparator)
                                throws SystemException
Throws:
SystemException

removeByCompanyId

void removeByCompanyId(long companyId)
                       throws SystemException
Throws:
SystemException

removeByUserId

void removeByUserId(long userId)
                    throws SystemException
Throws:
SystemException

removeByC_C

void removeByC_C(long companyId,
                 long classNameId)
                 throws SystemException
Throws:
SystemException

removeByC_C_C

void removeByC_C_C(long companyId,
                   long classNameId,
                   long classPK)
                   throws SystemException
Throws:
SystemException

removeByC_C_C_P

void removeByC_C_C_P(long companyId,
                     long classNameId,
                     long classPK,
                     boolean primary)
                     throws SystemException
Throws:
SystemException

removeAll

void removeAll()
               throws SystemException
Throws:
SystemException

countByCompanyId

int countByCompanyId(long companyId)
                     throws SystemException
Throws:
SystemException

countByUserId

int countByUserId(long userId)
                  throws SystemException
Throws:
SystemException

countByC_C

int countByC_C(long companyId,
               long classNameId)
               throws SystemException
Throws:
SystemException

countByC_C_C

int countByC_C_C(long companyId,
                 long classNameId,
                 long classPK)
                 throws SystemException
Throws:
SystemException

countByC_C_C_P

int countByC_C_C_P(long companyId,
                   long classNameId,
                   long classPK,
                   boolean primary)
                   throws SystemException
Throws:
SystemException

countAll

int countAll()
             throws SystemException
Throws:
SystemException