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, 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)
           
 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, 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
 

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 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

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

findByC_C

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

findByC_C

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

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

findAll

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

findAll

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