Liferay 6.0.3

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

All Superinterfaces:
BasePersistence<RatingsEntry>
All Known Implementing Classes:
RatingsEntryPersistenceImpl

public interface RatingsEntryPersistence
extends BasePersistence<RatingsEntry>

See Also:
RatingsEntryPersistenceImpl, RatingsEntryUtil
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Method Summary
 void cacheResult(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)
           
 List<RatingsEntry> findAll()
           
 List<RatingsEntry> findAll(int start, int end)
           
 List<RatingsEntry> findAll(int start, int end, OrderByComparator orderByComparator)
           
 RatingsEntry findByC_C_First(long classNameId, long classPK, OrderByComparator orderByComparator)
           
 RatingsEntry findByC_C_Last(long classNameId, long classPK, OrderByComparator orderByComparator)
           
 RatingsEntry[] findByC_C_PrevAndNext(long entryId, long classNameId, long classPK, OrderByComparator orderByComparator)
           
 List<RatingsEntry> findByC_C(long classNameId, long classPK)
           
 List<RatingsEntry> findByC_C(long classNameId, long classPK, int start, int end)
           
 List<RatingsEntry> findByC_C(long classNameId, long classPK, int start, int end, OrderByComparator orderByComparator)
           
 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, clearCache, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, remove, setDataSource, unregisterListener, update, update
 

Method Detail

cacheResult

void cacheResult(RatingsEntry ratingsEntry)

cacheResult

void cacheResult(List<RatingsEntry> ratingsEntries)

create

RatingsEntry create(long entryId)

remove

RatingsEntry remove(long entryId)
                    throws SystemException,
                           NoSuchEntryException
Throws:
SystemException
NoSuchEntryException

updateImpl

RatingsEntry updateImpl(RatingsEntry ratingsEntry,
                        boolean merge)
                        throws SystemException
Throws:
SystemException

findByPrimaryKey

RatingsEntry findByPrimaryKey(long entryId)
                              throws SystemException,
                                     NoSuchEntryException
Throws:
SystemException
NoSuchEntryException

fetchByPrimaryKey

RatingsEntry fetchByPrimaryKey(long entryId)
                               throws SystemException
Throws:
SystemException

findByC_C

List<RatingsEntry> findByC_C(long classNameId,
                             long classPK)
                             throws SystemException
Throws:
SystemException

findByC_C

List<RatingsEntry> findByC_C(long classNameId,
                             long classPK,
                             int start,
                             int end)
                             throws SystemException
Throws:
SystemException

findByC_C

List<RatingsEntry> findByC_C(long classNameId,
                             long classPK,
                             int start,
                             int end,
                             OrderByComparator orderByComparator)
                             throws SystemException
Throws:
SystemException

findByC_C_First

RatingsEntry findByC_C_First(long classNameId,
                             long classPK,
                             OrderByComparator orderByComparator)
                             throws SystemException,
                                    NoSuchEntryException
Throws:
SystemException
NoSuchEntryException

findByC_C_Last

RatingsEntry findByC_C_Last(long classNameId,
                            long classPK,
                            OrderByComparator orderByComparator)
                            throws SystemException,
                                   NoSuchEntryException
Throws:
SystemException
NoSuchEntryException

findByC_C_PrevAndNext

RatingsEntry[] findByC_C_PrevAndNext(long entryId,
                                     long classNameId,
                                     long classPK,
                                     OrderByComparator orderByComparator)
                                     throws SystemException,
                                            NoSuchEntryException
Throws:
SystemException
NoSuchEntryException

findByU_C_C

RatingsEntry findByU_C_C(long userId,
                         long classNameId,
                         long classPK)
                         throws SystemException,
                                NoSuchEntryException
Throws:
SystemException
NoSuchEntryException

fetchByU_C_C

RatingsEntry fetchByU_C_C(long userId,
                          long classNameId,
                          long classPK)
                          throws SystemException
Throws:
SystemException

fetchByU_C_C

RatingsEntry fetchByU_C_C(long userId,
                          long classNameId,
                          long classPK,
                          boolean retrieveFromCache)
                          throws SystemException
Throws:
SystemException

findAll

List<RatingsEntry> findAll()
                           throws SystemException
Throws:
SystemException

findAll

List<RatingsEntry> findAll(int start,
                           int end)
                           throws SystemException
Throws:
SystemException

findAll

List<RatingsEntry> findAll(int start,
                           int end,
                           OrderByComparator orderByComparator)
                           throws SystemException
Throws:
SystemException

removeByC_C

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

removeByU_C_C

void removeByU_C_C(long userId,
                   long classNameId,
                   long classPK)
                   throws SystemException,
                          NoSuchEntryException
Throws:
SystemException
NoSuchEntryException

removeAll

void removeAll()
               throws SystemException
Throws:
SystemException

countByC_C

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

countByU_C_C

int countByU_C_C(long userId,
                 long classNameId,
                 long classPK)
                 throws SystemException
Throws:
SystemException

countAll

int countAll()
             throws SystemException
Throws:
SystemException

Liferay 6.0.3