1
22
23 package com.liferay.portlet.ratings.service;
24
25
26
53 public class RatingsStatsLocalServiceUtil {
54 public static com.liferay.portlet.ratings.model.RatingsStats addRatingsStats(
55 com.liferay.portlet.ratings.model.RatingsStats ratingsStats)
56 throws com.liferay.portal.SystemException {
57 RatingsStatsLocalService ratingsStatsLocalService = RatingsStatsLocalServiceFactory.getService();
58
59 return ratingsStatsLocalService.addRatingsStats(ratingsStats);
60 }
61
62 public static void deleteRatingsStats(long statsId)
63 throws com.liferay.portal.PortalException,
64 com.liferay.portal.SystemException {
65 RatingsStatsLocalService ratingsStatsLocalService = RatingsStatsLocalServiceFactory.getService();
66
67 ratingsStatsLocalService.deleteRatingsStats(statsId);
68 }
69
70 public static void deleteRatingsStats(
71 com.liferay.portlet.ratings.model.RatingsStats ratingsStats)
72 throws com.liferay.portal.SystemException {
73 RatingsStatsLocalService ratingsStatsLocalService = RatingsStatsLocalServiceFactory.getService();
74
75 ratingsStatsLocalService.deleteRatingsStats(ratingsStats);
76 }
77
78 public static java.util.List<Object> dynamicQuery(
79 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
80 throws com.liferay.portal.SystemException {
81 RatingsStatsLocalService ratingsStatsLocalService = RatingsStatsLocalServiceFactory.getService();
82
83 return ratingsStatsLocalService.dynamicQuery(dynamicQuery);
84 }
85
86 public static java.util.List<Object> dynamicQuery(
87 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
88 int end) throws com.liferay.portal.SystemException {
89 RatingsStatsLocalService ratingsStatsLocalService = RatingsStatsLocalServiceFactory.getService();
90
91 return ratingsStatsLocalService.dynamicQuery(dynamicQuery, start, end);
92 }
93
94 public static com.liferay.portlet.ratings.model.RatingsStats getRatingsStats(
95 long statsId)
96 throws com.liferay.portal.PortalException,
97 com.liferay.portal.SystemException {
98 RatingsStatsLocalService ratingsStatsLocalService = RatingsStatsLocalServiceFactory.getService();
99
100 return ratingsStatsLocalService.getRatingsStats(statsId);
101 }
102
103 public static com.liferay.portlet.ratings.model.RatingsStats updateRatingsStats(
104 com.liferay.portlet.ratings.model.RatingsStats ratingsStats)
105 throws com.liferay.portal.SystemException {
106 RatingsStatsLocalService ratingsStatsLocalService = RatingsStatsLocalServiceFactory.getService();
107
108 return ratingsStatsLocalService.updateRatingsStats(ratingsStats);
109 }
110
111 public static void deleteStats(java.lang.String className, long classPK)
112 throws com.liferay.portal.SystemException {
113 RatingsStatsLocalService ratingsStatsLocalService = RatingsStatsLocalServiceFactory.getService();
114
115 ratingsStatsLocalService.deleteStats(className, classPK);
116 }
117
118 public static com.liferay.portlet.ratings.model.RatingsStats getStats(
119 long statsId)
120 throws com.liferay.portal.PortalException,
121 com.liferay.portal.SystemException {
122 RatingsStatsLocalService ratingsStatsLocalService = RatingsStatsLocalServiceFactory.getService();
123
124 return ratingsStatsLocalService.getStats(statsId);
125 }
126
127 public static com.liferay.portlet.ratings.model.RatingsStats getStats(
128 java.lang.String className, long classPK)
129 throws com.liferay.portal.SystemException {
130 RatingsStatsLocalService ratingsStatsLocalService = RatingsStatsLocalServiceFactory.getService();
131
132 return ratingsStatsLocalService.getStats(className, classPK);
133 }
134 }