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 com.liferay.portlet.ratings.model.RatingsEntry createRatingsEntry(
56 long entryId);
57
58 public void deleteRatingsEntry(long entryId)
59 throws com.liferay.portal.SystemException,
60 com.liferay.portal.PortalException;
61
62 public void deleteRatingsEntry(
63 com.liferay.portlet.ratings.model.RatingsEntry ratingsEntry)
64 throws com.liferay.portal.SystemException;
65
66 public java.util.List<Object> dynamicQuery(
67 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
68 throws com.liferay.portal.SystemException;
69
70 public java.util.List<Object> dynamicQuery(
71 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
72 int end) throws com.liferay.portal.SystemException;
73
74 public com.liferay.portlet.ratings.model.RatingsEntry getRatingsEntry(
75 long entryId)
76 throws com.liferay.portal.SystemException,
77 com.liferay.portal.PortalException;
78
79 public java.util.List<com.liferay.portlet.ratings.model.RatingsEntry> getRatingsEntries(
80 int start, int end) throws com.liferay.portal.SystemException;
81
82 public int getRatingsEntriesCount()
83 throws com.liferay.portal.SystemException;
84
85 public com.liferay.portlet.ratings.model.RatingsEntry updateRatingsEntry(
86 com.liferay.portlet.ratings.model.RatingsEntry ratingsEntry)
87 throws com.liferay.portal.SystemException;
88
89 public void deleteEntry(long userId, java.lang.String className,
90 long classPK)
91 throws com.liferay.portal.PortalException,
92 com.liferay.portal.SystemException;
93
94 public com.liferay.portlet.ratings.model.RatingsEntry getEntry(
95 long userId, java.lang.String className, long classPK)
96 throws com.liferay.portal.PortalException,
97 com.liferay.portal.SystemException;
98
99 public java.util.List<com.liferay.portlet.ratings.model.RatingsEntry> getEntries(
100 java.lang.String className, long classPK)
101 throws com.liferay.portal.SystemException;
102
103 public com.liferay.portlet.ratings.model.RatingsEntry updateEntry(
104 long userId, java.lang.String className, long classPK, double score)
105 throws com.liferay.portal.PortalException,
106 com.liferay.portal.SystemException;
107 }