com.liferay.portlet.ratings.service.persistence
Class RatingsEntryUtil

java.lang.Object
  extended by com.liferay.portlet.ratings.service.persistence.RatingsEntryUtil

public class RatingsEntryUtil
extends java.lang.Object

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

Constructor Summary
RatingsEntryUtil()
           
 
Method Summary
static void cacheResult(java.util.List<RatingsEntry> ratingsEntries)
           
static void cacheResult(RatingsEntry ratingsEntry)
           
static void clearCache()
           
static void clearCache(RatingsEntry ratingsEntry)
           
static int countAll()
           
static int countByC_C(long classNameId, long classPK)
           
static int countByU_C_C(long userId, long classNameId, long classPK)
           
 int countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
static RatingsEntry create(long entryId)
           
static RatingsEntry fetchByPrimaryKey(long entryId)
           
static RatingsEntry fetchByU_C_C(long userId, long classNameId, long classPK)
           
static RatingsEntry fetchByU_C_C(long userId, long classNameId, long classPK, boolean retrieveFromCache)
           
static java.util.List<RatingsEntry> findAll()
           
static java.util.List<RatingsEntry> findAll(int start, int end)
           
static java.util.List<RatingsEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
static RatingsEntry findByC_C_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
static RatingsEntry findByC_C_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
static RatingsEntry[] findByC_C_PrevAndNext(long entryId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
static java.util.List<RatingsEntry> findByC_C(long classNameId, long classPK)
           
static java.util.List<RatingsEntry> findByC_C(long classNameId, long classPK, int start, int end)
           
static java.util.List<RatingsEntry> findByC_C(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
static RatingsEntry findByPrimaryKey(long entryId)
           
static RatingsEntry findByU_C_C(long userId, long classNameId, long classPK)
           
static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
static RatingsEntryPersistence getPersistence()
           
static RatingsEntry remove(long entryId)
           
static RatingsEntry remove(RatingsEntry ratingsEntry)
           
static void removeAll()
           
static void removeByC_C(long classNameId, long classPK)
           
static void removeByU_C_C(long userId, long classNameId, long classPK)
           
 void setPersistence(RatingsEntryPersistence persistence)
           
static RatingsEntry update(RatingsEntry ratingsEntry)
          Deprecated. Use com.liferay.portal.service.persistence.BasePersistence.#update(com.liferay.portal.model.BaseModel, boolean).
static RatingsEntry update(RatingsEntry ratingsEntry, boolean merge)
           
static RatingsEntry updateImpl(RatingsEntry ratingsEntry, boolean merge)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RatingsEntryUtil

public RatingsEntryUtil()
Method Detail

clearCache

public static void clearCache()
See Also:
BasePersistence.clearCache()

clearCache

public static void clearCache(RatingsEntry ratingsEntry)
See Also:
com.liferay.portal.service.persistence.BasePersistence#clearCache(RatingsEntry)

countWithDynamicQuery

public int countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException
See Also:
BasePersistence.countWithDynamicQuery(DynamicQuery)

findWithDynamicQuery

public static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery)

findWithDynamicQuery

public static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                                                    int start,
                                                                    int end)
                                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)

remove

public static RatingsEntry remove(RatingsEntry ratingsEntry)
                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException
See Also:
BasePersistence.remove(com.liferay.portal.model.BaseModel)

update

public static RatingsEntry update(RatingsEntry ratingsEntry,
                                  boolean merge)
                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException
See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)

cacheResult

public static void cacheResult(RatingsEntry ratingsEntry)

cacheResult

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

create

public static RatingsEntry create(long entryId)

remove

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

update

public static RatingsEntry update(RatingsEntry ratingsEntry)
                           throws com.liferay.portal.SystemException
Deprecated. Use com.liferay.portal.service.persistence.BasePersistence.#update(com.liferay.portal.model.BaseModel, boolean).

Throws:
com.liferay.portal.SystemException

updateImpl

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

findByPrimaryKey

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

fetchByPrimaryKey

public static RatingsEntry fetchByPrimaryKey(long entryId)
                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByC_C

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

findByC_C

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

findByC_C

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

findByC_C_First

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

findByC_C_Last

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

findByC_C_PrevAndNext

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

findByU_C_C

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

fetchByU_C_C

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

fetchByU_C_C

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

findAll

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

findAll

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

findAll

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

removeByC_C

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

removeByU_C_C

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

removeAll

public static void removeAll()
                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByC_C

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

countByU_C_C

public static int countByU_C_C(long userId,
                               long classNameId,
                               long classPK)
                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countAll

public static int countAll()
                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getPersistence

public static RatingsEntryPersistence getPersistence()

setPersistence

public void setPersistence(RatingsEntryPersistence persistence)