1
19
20 package com.liferay.portlet.ratings.service;
21
22 import com.liferay.portal.PortalException;
23 import com.liferay.portal.SystemException;
24 import com.liferay.portal.kernel.annotation.Propagation;
25 import com.liferay.portal.kernel.annotation.Transactional;
26
27
51 @Transactional(rollbackFor = {
52 PortalException.class, SystemException.class})
53 public interface RatingsStatsLocalService {
54 public com.liferay.portlet.ratings.model.RatingsStats addRatingsStats(
55 com.liferay.portlet.ratings.model.RatingsStats ratingsStats)
56 throws com.liferay.portal.SystemException;
57
58 public com.liferay.portlet.ratings.model.RatingsStats createRatingsStats(
59 long statsId);
60
61 public void deleteRatingsStats(long statsId)
62 throws com.liferay.portal.SystemException,
63 com.liferay.portal.PortalException;
64
65 public void deleteRatingsStats(
66 com.liferay.portlet.ratings.model.RatingsStats ratingsStats)
67 throws com.liferay.portal.SystemException;
68
69 public java.util.List<Object> dynamicQuery(
70 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
71 throws com.liferay.portal.SystemException;
72
73 public java.util.List<Object> dynamicQuery(
74 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
75 int end) throws com.liferay.portal.SystemException;
76
77 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
78 public com.liferay.portlet.ratings.model.RatingsStats getRatingsStats(
79 long statsId)
80 throws com.liferay.portal.SystemException,
81 com.liferay.portal.PortalException;
82
83 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
84 public java.util.List<com.liferay.portlet.ratings.model.RatingsStats> getRatingsStatses(
85 int start, int end) throws com.liferay.portal.SystemException;
86
87 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
88 public int getRatingsStatsesCount()
89 throws com.liferay.portal.SystemException;
90
91 public com.liferay.portlet.ratings.model.RatingsStats updateRatingsStats(
92 com.liferay.portlet.ratings.model.RatingsStats ratingsStats)
93 throws com.liferay.portal.SystemException;
94
95 public void deleteStats(java.lang.String className, long classPK)
96 throws com.liferay.portal.SystemException;
97
98 public com.liferay.portlet.ratings.model.RatingsStats getStats(long statsId)
99 throws com.liferay.portal.PortalException,
100 com.liferay.portal.SystemException;
101
102 public com.liferay.portlet.ratings.model.RatingsStats getStats(
103 java.lang.String className, long classPK)
104 throws com.liferay.portal.SystemException;
105 }