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:
RatingsEntryServiceFactory, RatingsEntryServiceUtil

Method Summary
 RatingsEntry addRatingsEntry(RatingsEntry model)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
 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 model)
           
 

Method Detail

addRatingsEntry

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

dynamicQuery

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

dynamicQuery

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

updateRatingsEntry

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

getEntry

public 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

updateEntry

public 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