com.liferay.portlet.ratings.service
Interface RatingsEntryLocalService


@Transactional(rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
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:
RatingsEntryLocalServiceUtil

Method Summary
 RatingsEntry addRatingsEntry(RatingsEntry ratingsEntry)
           
 RatingsEntry createRatingsEntry(long entryId)
           
 void deleteEntry(long userId, java.lang.String className, long classPK)
           
 void deleteRatingsEntry(long entryId)
           
 void deleteRatingsEntry(RatingsEntry ratingsEntry)
           
 java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
 java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
 java.util.List<RatingsEntry> getEntries(java.lang.String className, long classPK)
           
 RatingsEntry getEntry(long userId, java.lang.String className, long classPK)
           
 java.util.List<RatingsEntry> getRatingsEntries(int start, int end)
           
 int getRatingsEntriesCount()
           
 RatingsEntry getRatingsEntry(long entryId)
           
 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

createRatingsEntry

RatingsEntry createRatingsEntry(long entryId)

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
Throws:
com.liferay.portal.SystemException

dynamicQuery

java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                              int start,
                                              int end)
                                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getRatingsEntry

@Transactional(propagation=SUPPORTS,
               readOnly=true)
RatingsEntry getRatingsEntry(long entryId)
                             throws com.liferay.portal.SystemException,
                                    com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getRatingsEntries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<RatingsEntry> getRatingsEntries(int start,
                                                             int end)
                                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getRatingsEntriesCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getRatingsEntriesCount()
                           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

deleteEntry

void deleteEntry(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

getEntry

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<RatingsEntry> getEntries(java.lang.String className,
                                                      long classPK)
                                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateEntry

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