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.PortalException,
73 com.liferay.portal.SystemException {
74 RatingsStatsLocalService ratingsStatsLocalService = RatingsStatsLocalServiceFactory.getService();
75
76 ratingsStatsLocalService.deleteRatingsStats(ratingsStats);
77 }
78
79 public static java.util.List<com.liferay.portlet.ratings.model.RatingsStats> dynamicQuery(
80 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
81 throws com.liferay.portal.SystemException {
82 RatingsStatsLocalService ratingsStatsLocalService = RatingsStatsLocalServiceFactory.getService();
83
84 return ratingsStatsLocalService.dynamicQuery(queryInitializer);
85 }
86
87 public static java.util.List<com.liferay.portlet.ratings.model.RatingsStats> dynamicQuery(
88 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
89 int begin, int end) throws com.liferay.portal.SystemException {
90 RatingsStatsLocalService ratingsStatsLocalService = RatingsStatsLocalServiceFactory.getService();
91
92 return ratingsStatsLocalService.dynamicQuery(queryInitializer, begin,
93 end);
94 }
95
96 public static com.liferay.portlet.ratings.model.RatingsStats updateRatingsStats(
97 com.liferay.portlet.ratings.model.RatingsStats ratingsStats)
98 throws com.liferay.portal.SystemException {
99 RatingsStatsLocalService ratingsStatsLocalService = RatingsStatsLocalServiceFactory.getService();
100
101 return ratingsStatsLocalService.updateRatingsStats(ratingsStats);
102 }
103
104 public static void deleteStats(java.lang.String className, long classPK)
105 throws com.liferay.portal.PortalException,
106 com.liferay.portal.SystemException {
107 RatingsStatsLocalService ratingsStatsLocalService = RatingsStatsLocalServiceFactory.getService();
108
109 ratingsStatsLocalService.deleteStats(className, classPK);
110 }
111
112 public static com.liferay.portlet.ratings.model.RatingsStats getStats(
113 long statsId)
114 throws com.liferay.portal.PortalException,
115 com.liferay.portal.SystemException {
116 RatingsStatsLocalService ratingsStatsLocalService = RatingsStatsLocalServiceFactory.getService();
117
118 return ratingsStatsLocalService.getStats(statsId);
119 }
120
121 public static com.liferay.portlet.ratings.model.RatingsStats getStats(
122 java.lang.String className, long classPK)
123 throws com.liferay.portal.PortalException,
124 com.liferay.portal.SystemException {
125 RatingsStatsLocalService ratingsStatsLocalService = RatingsStatsLocalServiceFactory.getService();
126
127 return ratingsStatsLocalService.getStats(className, classPK);
128 }
129 }