com.liferay.portlet.ratings.service
Interface RatingsStatsLocalService

All Known Implementing Classes:
RatingsStatsLocalServiceWrapper

@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,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
Generated:

Method Summary
 RatingsStats addRatingsStats(RatingsStats ratingsStats)
           
 RatingsStats addStats(long classNameId, long classPK)
           
 RatingsStats createRatingsStats(long statsId)
           
 void deleteRatingsStats(long statsId)
           
 void deleteRatingsStats(RatingsStats ratingsStats)
           
 void deleteStats(java.lang.String className, long classPK)
           
 java.util.List dynamicQuery(DynamicQuery dynamicQuery)
           
 java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
           
 java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator)
           
 long dynamicQueryCount(DynamicQuery dynamicQuery)
           
 RatingsStats getRatingsStats(long statsId)
           
 java.util.List<RatingsStats> getRatingsStatses(int start, int end)
           
 int getRatingsStatsesCount()
           
 RatingsStats getStats(long statsId)
           
 java.util.List<RatingsStats> getStats(java.lang.String className, java.util.List<java.lang.Long> classPKs)
           
 RatingsStats getStats(java.lang.String className, long classPK)
           
 RatingsStats updateRatingsStats(RatingsStats ratingsStats)
           
 RatingsStats updateRatingsStats(RatingsStats ratingsStats, boolean merge)
           
 

Method Detail

addRatingsStats

RatingsStats addRatingsStats(RatingsStats ratingsStats)
                             throws SystemException
Throws:
SystemException

createRatingsStats

RatingsStats createRatingsStats(long statsId)

deleteRatingsStats

void deleteRatingsStats(long statsId)
                        throws PortalException,
                               SystemException
Throws:
PortalException
SystemException

deleteRatingsStats

void deleteRatingsStats(RatingsStats ratingsStats)
                        throws SystemException
Throws:
SystemException

dynamicQuery

java.util.List dynamicQuery(DynamicQuery dynamicQuery)
                            throws SystemException
Throws:
SystemException

dynamicQuery

java.util.List dynamicQuery(DynamicQuery dynamicQuery,
                            int start,
                            int end)
                            throws SystemException
Throws:
SystemException

dynamicQuery

java.util.List dynamicQuery(DynamicQuery dynamicQuery,
                            int start,
                            int end,
                            OrderByComparator orderByComparator)
                            throws SystemException
Throws:
SystemException

dynamicQueryCount

long dynamicQueryCount(DynamicQuery dynamicQuery)
                       throws SystemException
Throws:
SystemException

getRatingsStats

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

getRatingsStatses

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

getRatingsStatsesCount

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

updateRatingsStats

RatingsStats updateRatingsStats(RatingsStats ratingsStats)
                                throws SystemException
Throws:
SystemException

updateRatingsStats

RatingsStats updateRatingsStats(RatingsStats ratingsStats,
                                boolean merge)
                                throws SystemException
Throws:
SystemException

addStats

RatingsStats addStats(long classNameId,
                      long classPK)
                      throws SystemException
Throws:
SystemException

deleteStats

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

getStats

@Transactional(propagation=SUPPORTS,
               readOnly=true)
RatingsStats getStats(long statsId)
                      throws PortalException,
                             SystemException
Throws:
PortalException
SystemException

getStats

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<RatingsStats> getStats(java.lang.String className,
                                                                               java.util.List<java.lang.Long> classPKs)
                                      throws SystemException
Throws:
SystemException

getStats

@Transactional(propagation=SUPPORTS,
               readOnly=true)
RatingsStats getStats(java.lang.String className,
                                                               long classPK)
                      throws SystemException
Throws:
SystemException