Class RatingsEntryLocalServiceImpl
Object
com.liferay.portal.kernel.service.BaseLocalServiceImpl
com.liferay.portlet.ratings.service.base.RatingsEntryLocalServiceBaseImpl
com.liferay.portlet.ratings.service.impl.RatingsEntryLocalServiceImpl
- All Implemented Interfaces:
com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService
,com.liferay.portal.kernel.service.BaseLocalService
,com.liferay.portal.kernel.service.change.tracking.CTService<com.liferay.ratings.kernel.model.RatingsEntry>
,com.liferay.portal.kernel.service.PersistedModelLocalService
,com.liferay.ratings.kernel.service.RatingsEntryLocalService
- Author:
- Brian Wing Shun Chan, Zsolt Berentey
-
Field Summary
Fields inherited from class com.liferay.portlet.ratings.service.base.RatingsEntryLocalServiceBaseImpl
counterLocalService, ratingsEntryLocalService, ratingsEntryPersistence
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteEntry
(long userId, String className, long classPK) void
deleteEntry
(com.liferay.ratings.kernel.model.RatingsEntry entry, long userId, String className, long classPK) com.liferay.ratings.kernel.model.RatingsEntry
fetchEntry
(long userId, String className, long classPK) getEntries
(long userId, String className, long[] classPKs) List<com.liferay.ratings.kernel.model.RatingsEntry>
getEntries
(String className, long classPK) List<com.liferay.ratings.kernel.model.RatingsEntry>
getEntries
(String className, long classPK, double score) int
getEntriesCount
(String className, long classPK, double score) com.liferay.ratings.kernel.model.RatingsEntry
com.liferay.ratings.kernel.model.RatingsEntry
updateEntry
(long userId, String className, long classPK, double score, com.liferay.portal.kernel.service.ServiceContext serviceContext) protected void
validate
(double score) Methods inherited from class com.liferay.portlet.ratings.service.base.RatingsEntryLocalServiceBaseImpl
addRatingsEntry, afterPropertiesSet, createPersistedModel, createRatingsEntry, deletePersistedModel, deleteRatingsEntry, deleteRatingsEntry, destroy, dslQuery, dslQueryCount, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchRatingsEntry, fetchRatingsEntryByUuidAndCompanyId, getActionableDynamicQuery, getBasePersistence, getCounterLocalService, getCTPersistence, getExportActionableDynamicQuery, getIndexableActionableDynamicQuery, getModelClass, getModelClassName, getOSGiServiceIdentifier, getPersistedModel, getRatingsEntries, getRatingsEntriesCount, getRatingsEntry, getRatingsEntryByUuidAndCompanyId, getRatingsEntryLocalService, getRatingsEntryPersistence, initActionableDynamicQuery, runSQL, setCounterLocalService, setRatingsEntryLocalService, setRatingsEntryPersistence, updateRatingsEntry, updateWithUnsafeFunction
Methods inherited from class com.liferay.portal.kernel.service.BaseLocalServiceImpl
getClassLoader, getLocalizationMap
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.service.PersistedModelLocalService
fetchPersistedModel
-
Constructor Details
-
RatingsEntryLocalServiceImpl
public RatingsEntryLocalServiceImpl()
-
-
Method Details
-
deleteEntry
public void deleteEntry(long userId, String className, long classPK) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteEntry
@SystemEvent(type=1) public void deleteEntry(com.liferay.ratings.kernel.model.RatingsEntry entry, long userId, String className, long classPK) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchEntry
public com.liferay.ratings.kernel.model.RatingsEntry fetchEntry(long userId, String className, long classPK) -
getEntries
-
getEntries
-
getEntries
-
getEntriesCount
-
getEntry
public com.liferay.ratings.kernel.model.RatingsEntry getEntry(long userId, String className, long classPK) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateEntry
public com.liferay.ratings.kernel.model.RatingsEntry updateEntry(long userId, String className, long classPK, double score, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
validate
protected void validate(double score) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-