com.liferay.portlet.ratings.service.persistence
Interface RatingsEntryPersistence

All Superinterfaces:
BasePersistence<RatingsEntry>

public interface RatingsEntryPersistence
extends BasePersistence<RatingsEntry>

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:
RatingsEntryPersistenceImpl, RatingsEntryUtil
Generated:

Method Summary
 void cacheResult(java.util.List<RatingsEntry> ratingsEntries)
           
 void cacheResult(RatingsEntry ratingsEntry)
           
 int countAll()
           
 int countByC_C(long classNameId, long classPK)
           
 int countByU_C_C(long userId, long classNameId, long classPK)
           
 RatingsEntry create(long entryId)
           
 RatingsEntry fetchByPrimaryKey(long entryId)
           
 RatingsEntry fetchByU_C_C(long userId, long classNameId, long classPK)
           
 RatingsEntry fetchByU_C_C(long userId, long classNameId, long classPK, boolean retrieveFromCache)
           
 java.util.List<RatingsEntry> findAll()
           
 java.util.List<RatingsEntry> findAll(int start, int end)
           
 java.util.List<RatingsEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 RatingsEntry findByC_C_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 RatingsEntry findByC_C_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 RatingsEntry[] findByC_C_PrevAndNext(long entryId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<RatingsEntry> findByC_C(long classNameId, long classPK)
           
 java.util.List<RatingsEntry> findByC_C(long classNameId, long classPK, int start, int end)
           
 java.util.List<RatingsEntry> findByC_C(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 RatingsEntry findByPrimaryKey(long entryId)
           
 RatingsEntry findByU_C_C(long userId, long classNameId, long classPK)
           
 RatingsEntry remove(long entryId)
           
 void removeAll()
           
 void removeByC_C(long classNameId, long classPK)
           
 void removeByU_C_C(long userId, long classNameId, long classPK)
           
 RatingsEntry updateImpl(RatingsEntry ratingsEntry, 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(RatingsEntry ratingsEntry)

cacheResult

void cacheResult(java.util.List<RatingsEntry> ratingsEntries)

create

RatingsEntry create(long entryId)

remove

RatingsEntry remove(long entryId)
                    throws com.liferay.portal.kernel.exception.SystemException,
                           NoSuchEntryException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchEntryException

updateImpl

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

findByPrimaryKey

RatingsEntry findByPrimaryKey(long entryId)
                              throws com.liferay.portal.kernel.exception.SystemException,
                                     NoSuchEntryException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchEntryException

fetchByPrimaryKey

RatingsEntry fetchByPrimaryKey(long entryId)
                               throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByC_C

java.util.List<RatingsEntry> findByC_C(long classNameId,
                                       long classPK)
                                       throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByC_C

java.util.List<RatingsEntry> findByC_C(long classNameId,
                                       long classPK,
                                       int start,
                                       int end)
                                       throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByC_C

java.util.List<RatingsEntry> findByC_C(long classNameId,
                                       long classPK,
                                       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

findByC_C_First

RatingsEntry findByC_C_First(long classNameId,
                             long classPK,
                             com.liferay.portal.kernel.util.OrderByComparator obc)
                             throws com.liferay.portal.kernel.exception.SystemException,
                                    NoSuchEntryException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchEntryException

findByC_C_Last

RatingsEntry findByC_C_Last(long classNameId,
                            long classPK,
                            com.liferay.portal.kernel.util.OrderByComparator obc)
                            throws com.liferay.portal.kernel.exception.SystemException,
                                   NoSuchEntryException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchEntryException

findByC_C_PrevAndNext

RatingsEntry[] findByC_C_PrevAndNext(long entryId,
                                     long classNameId,
                                     long classPK,
                                     com.liferay.portal.kernel.util.OrderByComparator obc)
                                     throws com.liferay.portal.kernel.exception.SystemException,
                                            NoSuchEntryException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchEntryException

findByU_C_C

RatingsEntry findByU_C_C(long userId,
                         long classNameId,
                         long classPK)
                         throws com.liferay.portal.kernel.exception.SystemException,
                                NoSuchEntryException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchEntryException

fetchByU_C_C

RatingsEntry fetchByU_C_C(long userId,
                          long classNameId,
                          long classPK)
                          throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

fetchByU_C_C

RatingsEntry fetchByU_C_C(long userId,
                          long classNameId,
                          long classPK,
                          boolean retrieveFromCache)
                          throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findAll

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

findAll

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

findAll

java.util.List<RatingsEntry> 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

removeByC_C

void removeByC_C(long classNameId,
                 long classPK)
                 throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeByU_C_C

void removeByU_C_C(long userId,
                   long classNameId,
                   long classPK)
                   throws com.liferay.portal.kernel.exception.SystemException,
                          NoSuchEntryException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchEntryException

removeAll

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

countByC_C

int countByC_C(long classNameId,
               long classPK)
               throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countByU_C_C

int countByU_C_C(long userId,
                 long classNameId,
                 long classPK)
                 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