com.liferay.portlet.ratings.service
Interface RatingsStatsLocalService


@Transactional(rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
public interface RatingsStatsLocalService

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.RatingsStatsLocalServiceImpl. 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:
RatingsStatsLocalServiceUtil

Method Summary
 RatingsStats addRatingsStats(RatingsStats ratingsStats)
           
 RatingsStats createRatingsStats(long statsId)
           
 void deleteRatingsStats(long statsId)
           
 void deleteRatingsStats(RatingsStats ratingsStats)
           
 void deleteStats(java.lang.String className, long classPK)
           
 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)
           
 RatingsStats getRatingsStats(long statsId)
           
 java.util.List<RatingsStats> getRatingsStatses(int start, int end)
           
 int getRatingsStatsesCount()
           
 RatingsStats getStats(long statsId)
           
 RatingsStats getStats(java.lang.String className, long classPK)
           
 RatingsStats updateRatingsStats(RatingsStats ratingsStats)
           
 

Method Detail

addRatingsStats

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

createRatingsStats

RatingsStats createRatingsStats(long statsId)

deleteRatingsStats

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

deleteRatingsStats

void deleteRatingsStats(RatingsStats ratingsStats)
                        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

getRatingsStats

@Transactional(propagation=SUPPORTS,
               readOnly=true)
RatingsStats getRatingsStats(long statsId)
                             throws com.liferay.portal.SystemException,
                                    com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getRatingsStatses

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

getRatingsStatsesCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getRatingsStatsesCount()
                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateRatingsStats

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

deleteStats

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

getStats

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

getStats

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