com.liferay.portlet.ratings.service
Class RatingsEntryLocalServiceUtil

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

public class RatingsEntryLocalServiceUtil
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.RatingsEntryLocalService 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.RatingsEntryLocalServiceFactory is responsible for the lookup of the bean.

Author:
Brian Wing Shun Chan
See Also:
RatingsEntryLocalService, RatingsEntryLocalServiceFactory

Constructor Summary
RatingsEntryLocalServiceUtil()
           
 
Method Summary
static RatingsEntry addRatingsEntry(RatingsEntry ratingsEntry)
           
static void deleteRatingsEntry(long entryId)
           
static void deleteRatingsEntry(RatingsEntry ratingsEntry)
           
static java.util.List<RatingsEntry> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
static java.util.List<RatingsEntry> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
static java.util.List<RatingsEntry> getEntries(java.lang.String className, long classPK)
           
static RatingsEntry getEntry(long userId, java.lang.String className, long classPK)
           
static RatingsEntry updateEntry(long userId, java.lang.String className, long classPK, double score)
           
static RatingsEntry updateRatingsEntry(RatingsEntry ratingsEntry)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RatingsEntryLocalServiceUtil

public RatingsEntryLocalServiceUtil()
Method Detail

addRatingsEntry

public static RatingsEntry addRatingsEntry(RatingsEntry ratingsEntry)
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

deleteRatingsEntry

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

deleteRatingsEntry

public static void deleteRatingsEntry(RatingsEntry ratingsEntry)
                               throws com.liferay.portal.PortalException,
                                      com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

dynamicQuery

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

dynamicQuery

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

updateRatingsEntry

public static RatingsEntry updateRatingsEntry(RatingsEntry ratingsEntry)
                                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getEntry

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

getEntries

public static java.util.List<RatingsEntry> getEntries(java.lang.String className,
                                                      long classPK)
                                               throws com.liferay.portal.PortalException,
                                                      com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updateEntry

public static RatingsEntry updateEntry(long userId,
                                       java.lang.String className,
                                       long classPK,
                                       double score)
                                throws com.liferay.portal.PortalException,
                                       com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException