com.liferay.portlet.ratings.service
Class RatingsStatsLocalServiceUtil

java.lang.Object
  extended by com.liferay.portlet.ratings.service.RatingsStatsLocalServiceUtil

public class RatingsStatsLocalServiceUtil
extends java.lang.Object

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This class provides static methods for the com.liferay.portlet.ratings.service.RatingsStatsLocalService bean. The static methods of this class calls the same methods of the bean instance. It's convenient to be able to just write one line to call a method on a bean instead of writing a lookup call and a method call.

com.liferay.portlet.ratings.service.RatingsStatsLocalServiceFactory is responsible for the lookup of the bean.

Author:
Brian Wing Shun Chan
See Also:
RatingsStatsLocalService, RatingsStatsLocalServiceFactory

Constructor Summary
RatingsStatsLocalServiceUtil()
           
 
Method Summary
static RatingsStats addRatingsStats(RatingsStats ratingsStats)
           
static void deleteRatingsStats(long statsId)
           
static void deleteRatingsStats(RatingsStats ratingsStats)
           
static void deleteStats(java.lang.String className, long classPK)
           
static java.util.List<RatingsStats> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
static java.util.List<RatingsStats> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
static RatingsStats getStats(long statsId)
           
static RatingsStats getStats(java.lang.String className, long classPK)
           
static RatingsStats updateRatingsStats(RatingsStats ratingsStats)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RatingsStatsLocalServiceUtil

public RatingsStatsLocalServiceUtil()
Method Detail

addRatingsStats

public static RatingsStats addRatingsStats(RatingsStats ratingsStats)
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

deleteRatingsStats

public static void deleteRatingsStats(long statsId)
                               throws com.liferay.portal.PortalException,
                                      com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteRatingsStats

public static void deleteRatingsStats(RatingsStats ratingsStats)
                               throws com.liferay.portal.PortalException,
                                      com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

dynamicQuery

public static java.util.List<RatingsStats> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
                                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

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

updateRatingsStats

public static RatingsStats updateRatingsStats(RatingsStats ratingsStats)
                                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

deleteStats

public static void deleteStats(java.lang.String className,
                               long classPK)
                        throws com.liferay.portal.PortalException,
                               com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getStats

public static RatingsStats getStats(long statsId)
                             throws com.liferay.portal.PortalException,
                                    com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getStats

public static RatingsStats getStats(java.lang.String className,
                                    long classPK)
                             throws com.liferay.portal.PortalException,
                                    com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException