com.liferay.portlet.ratings.service
Interface RatingsEntryLocalService


public interface RatingsEntryLocalService

View Source

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

This interface defines the service. The default implementation is com.liferay.portlet.ratings.service.impl.RatingsEntryLocalServiceImpl. Modify methods in that class and rerun ServiceBuilder to populate this class and all other generated classes.

This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.

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

Method Summary
 RatingsEntry addRatingsEntry(RatingsEntry ratingsEntry)
           
 void deleteRatingsEntry(long entryId)
           
 void deleteRatingsEntry(RatingsEntry ratingsEntry)
           
 java.util.List<RatingsEntry> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
 java.util.List<RatingsEntry> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
 java.util.List<RatingsEntry> getEntries(java.lang.String className, long classPK)
           
 RatingsEntry getEntry(long userId, java.lang.String className, long classPK)
           
 RatingsEntry updateEntry(long userId, java.lang.String className, long classPK, double score)
           
 RatingsEntry updateRatingsEntry(RatingsEntry ratingsEntry)
           
 

Method Detail

addRatingsEntry

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

deleteRatingsEntry

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

deleteRatingsEntry

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

dynamicQuery

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

dynamicQuery

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

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

getEntry

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

getEntries

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

updateEntry

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