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

java.lang.Object
  extended bycom.liferay.portlet.ratings.service.persistence.RatingsStatsUtil

public class RatingsStatsUtil
extends java.lang.Object

View Source

Author:
Brian Wing Shun Chan

Constructor Summary
RatingsStatsUtil()
           
 
Method Summary
static int countAll()
           
static int countByC_C(long classNameId, long classPK)
           
static com.liferay.portlet.ratings.model.RatingsStats create(long statsId)
           
static com.liferay.portlet.ratings.model.RatingsStats fetchByC_C(long classNameId, long classPK)
           
static com.liferay.portlet.ratings.model.RatingsStats fetchByPrimaryKey(long statsId)
           
static java.util.List findAll()
           
static java.util.List findAll(int begin, int end)
           
static java.util.List findAll(int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static com.liferay.portlet.ratings.model.RatingsStats findByC_C(long classNameId, long classPK)
           
static com.liferay.portlet.ratings.model.RatingsStats findByPrimaryKey(long statsId)
           
static java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
static java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
static RatingsStatsPersistence getPersistence()
           
static com.liferay.portlet.ratings.model.RatingsStats remove(long statsId)
           
static com.liferay.portlet.ratings.model.RatingsStats remove(com.liferay.portlet.ratings.model.RatingsStats ratingsStats)
           
static void removeAll()
           
static void removeByC_C(long classNameId, long classPK)
           
 void setPersistence(RatingsStatsPersistence persistence)
           
static com.liferay.portlet.ratings.model.RatingsStats update(com.liferay.portlet.ratings.model.RatingsStats ratingsStats)
           
static com.liferay.portlet.ratings.model.RatingsStats update(com.liferay.portlet.ratings.model.RatingsStats ratingsStats, boolean merge)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RatingsStatsUtil

public RatingsStatsUtil()
Method Detail

create

public static com.liferay.portlet.ratings.model.RatingsStats create(long statsId)

remove

public static com.liferay.portlet.ratings.model.RatingsStats remove(long statsId)
                                                             throws com.liferay.portal.SystemException,
                                                                    com.liferay.portlet.ratings.NoSuchStatsException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.ratings.NoSuchStatsException

remove

public static com.liferay.portlet.ratings.model.RatingsStats remove(com.liferay.portlet.ratings.model.RatingsStats ratingsStats)
                                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

public static com.liferay.portlet.ratings.model.RatingsStats update(com.liferay.portlet.ratings.model.RatingsStats ratingsStats)
                                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

public static com.liferay.portlet.ratings.model.RatingsStats update(com.liferay.portlet.ratings.model.RatingsStats ratingsStats,
                                                                    boolean merge)
                                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

public static com.liferay.portlet.ratings.model.RatingsStats findByPrimaryKey(long statsId)
                                                                       throws com.liferay.portal.SystemException,
                                                                              com.liferay.portlet.ratings.NoSuchStatsException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.ratings.NoSuchStatsException

fetchByPrimaryKey

public static com.liferay.portlet.ratings.model.RatingsStats fetchByPrimaryKey(long statsId)
                                                                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByC_C

public static com.liferay.portlet.ratings.model.RatingsStats findByC_C(long classNameId,
                                                                       long classPK)
                                                                throws com.liferay.portal.SystemException,
                                                                       com.liferay.portlet.ratings.NoSuchStatsException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.ratings.NoSuchStatsException

fetchByC_C

public static com.liferay.portlet.ratings.model.RatingsStats fetchByC_C(long classNameId,
                                                                        long classPK)
                                                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findWithDynamicQuery

public static java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
                                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findWithDynamicQuery

public static java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
                                                  int begin,
                                                  int end)
                                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

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

findAll

public static java.util.List findAll(int begin,
                                     int end)
                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

public static java.util.List findAll(int begin,
                                     int end,
                                     com.liferay.portal.kernel.util.OrderByComparator obc)
                              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,
                               com.liferay.portlet.ratings.NoSuchStatsException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.ratings.NoSuchStatsException

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

countAll

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

getPersistence

public static RatingsStatsPersistence getPersistence()

setPersistence

public void setPersistence(RatingsStatsPersistence persistence)