1
22
23 package com.liferay.portlet.ratings.service;
24
25
26
47 public class RatingsEntryLocalServiceUtil {
48 public static com.liferay.portlet.ratings.model.RatingsEntry addRatingsEntry(
49 com.liferay.portlet.ratings.model.RatingsEntry ratingsEntry)
50 throws com.liferay.portal.SystemException {
51 return _service.addRatingsEntry(ratingsEntry);
52 }
53
54 public static void deleteRatingsEntry(long entryId)
55 throws com.liferay.portal.PortalException,
56 com.liferay.portal.SystemException {
57 _service.deleteRatingsEntry(entryId);
58 }
59
60 public static void deleteRatingsEntry(
61 com.liferay.portlet.ratings.model.RatingsEntry ratingsEntry)
62 throws com.liferay.portal.SystemException {
63 _service.deleteRatingsEntry(ratingsEntry);
64 }
65
66 public static java.util.List<Object> dynamicQuery(
67 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
68 throws com.liferay.portal.SystemException {
69 return _service.dynamicQuery(dynamicQuery);
70 }
71
72 public static java.util.List<Object> dynamicQuery(
73 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
74 int end) throws com.liferay.portal.SystemException {
75 return _service.dynamicQuery(dynamicQuery, start, end);
76 }
77
78 public static com.liferay.portlet.ratings.model.RatingsEntry getRatingsEntry(
79 long entryId)
80 throws com.liferay.portal.PortalException,
81 com.liferay.portal.SystemException {
82 return _service.getRatingsEntry(entryId);
83 }
84
85 public static java.util.List<com.liferay.portlet.ratings.model.RatingsEntry> getRatingsEntries(
86 int start, int end) throws com.liferay.portal.SystemException {
87 return _service.getRatingsEntries(start, end);
88 }
89
90 public static int getRatingsEntriesCount()
91 throws com.liferay.portal.SystemException {
92 return _service.getRatingsEntriesCount();
93 }
94
95 public static com.liferay.portlet.ratings.model.RatingsEntry updateRatingsEntry(
96 com.liferay.portlet.ratings.model.RatingsEntry ratingsEntry)
97 throws com.liferay.portal.SystemException {
98 return _service.updateRatingsEntry(ratingsEntry);
99 }
100
101 public static void deleteEntry(long userId, java.lang.String className,
102 long classPK)
103 throws com.liferay.portal.PortalException,
104 com.liferay.portal.SystemException {
105 _service.deleteEntry(userId, className, classPK);
106 }
107
108 public static com.liferay.portlet.ratings.model.RatingsEntry getEntry(
109 long userId, java.lang.String className, long classPK)
110 throws com.liferay.portal.PortalException,
111 com.liferay.portal.SystemException {
112 return _service.getEntry(userId, className, classPK);
113 }
114
115 public static java.util.List<com.liferay.portlet.ratings.model.RatingsEntry> getEntries(
116 java.lang.String className, long classPK)
117 throws com.liferay.portal.SystemException {
118 return _service.getEntries(className, classPK);
119 }
120
121 public static com.liferay.portlet.ratings.model.RatingsEntry updateEntry(
122 long userId, java.lang.String className, long classPK, double score)
123 throws com.liferay.portal.PortalException,
124 com.liferay.portal.SystemException {
125 return _service.updateEntry(userId, className, classPK, score);
126 }
127
128 public static RatingsEntryLocalService getService() {
129 return _service;
130 }
131
132 public void setService(RatingsEntryLocalService service) {
133 _service = service;
134 }
135
136 private static RatingsEntryLocalService _service;
137 }