1
22
23 package com.liferay.portlet.ratings.service;
24
25
26
50 public interface RatingsEntryLocalService {
51 public com.liferay.portlet.ratings.model.RatingsEntry addRatingsEntry(
52 com.liferay.portlet.ratings.model.RatingsEntry ratingsEntry)
53 throws com.liferay.portal.SystemException;
54
55 public void deleteRatingsEntry(long entryId)
56 throws com.liferay.portal.SystemException,
57 com.liferay.portal.PortalException;
58
59 public void deleteRatingsEntry(
60 com.liferay.portlet.ratings.model.RatingsEntry ratingsEntry)
61 throws com.liferay.portal.SystemException;
62
63 public java.util.List<Object> dynamicQuery(
64 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
65 throws com.liferay.portal.SystemException;
66
67 public java.util.List<Object> dynamicQuery(
68 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
69 int end) throws com.liferay.portal.SystemException;
70
71 public com.liferay.portlet.ratings.model.RatingsEntry getRatingsEntry(
72 long entryId)
73 throws com.liferay.portal.SystemException,
74 com.liferay.portal.PortalException;
75
76 public java.util.List<com.liferay.portlet.ratings.model.RatingsEntry> getRatingsEntries(
77 int start, int end) throws com.liferay.portal.SystemException;
78
79 public int getRatingsEntriesCount()
80 throws com.liferay.portal.SystemException;
81
82 public com.liferay.portlet.ratings.model.RatingsEntry updateRatingsEntry(
83 com.liferay.portlet.ratings.model.RatingsEntry ratingsEntry)
84 throws com.liferay.portal.SystemException;
85
86 public void deleteEntry(long userId, java.lang.String className,
87 long classPK)
88 throws com.liferay.portal.PortalException,
89 com.liferay.portal.SystemException;
90
91 public com.liferay.portlet.ratings.model.RatingsEntry getEntry(
92 long userId, java.lang.String className, long classPK)
93 throws com.liferay.portal.PortalException,
94 com.liferay.portal.SystemException;
95
96 public java.util.List<com.liferay.portlet.ratings.model.RatingsEntry> getEntries(
97 java.lang.String className, long classPK)
98 throws com.liferay.portal.SystemException;
99
100 public com.liferay.portlet.ratings.model.RatingsEntry updateEntry(
101 long userId, java.lang.String className, long classPK, double score)
102 throws com.liferay.portal.PortalException,
103 com.liferay.portal.SystemException;
104 }