com.liferay.portlet.ratings.service
Interface RatingsEntryLocalService
public interface RatingsEntryLocalService
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This interface defines the service. The default implementation is
com.liferay.portlet.ratings.service.impl.RatingsEntryLocalServiceImpl
.
Modify methods in that class and rerun ServiceBuilder to populate this class
and all other generated classes.
This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.
- Author:
- Brian Wing Shun Chan
- See Also:
RatingsEntryLocalServiceUtil
Method Summary |
RatingsEntry |
addRatingsEntry(RatingsEntry ratingsEntry)
|
void |
deleteEntry(long userId,
java.lang.String className,
long classPK)
|
void |
deleteRatingsEntry(long entryId)
|
void |
deleteRatingsEntry(RatingsEntry ratingsEntry)
|
java.util.List<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
java.util.List<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
java.util.List<RatingsEntry> |
getEntries(java.lang.String className,
long classPK)
|
RatingsEntry |
getEntry(long userId,
java.lang.String className,
long classPK)
|
java.util.List<RatingsEntry> |
getRatingsEntries(int start,
int end)
|
int |
getRatingsEntriesCount()
|
RatingsEntry |
getRatingsEntry(long entryId)
|
RatingsEntry |
updateEntry(long userId,
java.lang.String className,
long classPK,
double score)
|
RatingsEntry |
updateRatingsEntry(RatingsEntry ratingsEntry)
|
addRatingsEntry
RatingsEntry addRatingsEntry(RatingsEntry ratingsEntry)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
deleteRatingsEntry
void deleteRatingsEntry(long entryId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deleteRatingsEntry
void deleteRatingsEntry(RatingsEntry ratingsEntry)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getRatingsEntry
RatingsEntry getRatingsEntry(long entryId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getRatingsEntries
java.util.List<RatingsEntry> getRatingsEntries(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getRatingsEntriesCount
int getRatingsEntriesCount()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateRatingsEntry
RatingsEntry updateRatingsEntry(RatingsEntry ratingsEntry)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
deleteEntry
void deleteEntry(long userId,
java.lang.String className,
long classPK)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getEntry
RatingsEntry getEntry(long userId,
java.lang.String className,
long classPK)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getEntries
java.util.List<RatingsEntry> getEntries(java.lang.String className,
long classPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateEntry
RatingsEntry updateEntry(long userId,
java.lang.String className,
long classPK,
double score)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException