com.liferay.portlet.ratings.service.impl
Class RatingsEntryLocalServiceImpl
java.lang.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.PersistedModelLocalService, com.liferay.ratings.kernel.service.RatingsEntryLocalService
public class RatingsEntryLocalServiceImpl
- extends RatingsEntryLocalServiceBaseImpl
| Fields inherited from class com.liferay.portlet.ratings.service.base.RatingsEntryLocalServiceBaseImpl |
assetEntryFinder, assetEntryLocalService, assetEntryPersistence, blogsEntryFinder, blogsEntryLocalService, blogsEntryPersistence, blogsStatsUserFinder, blogsStatsUserLocalService, blogsStatsUserPersistence, classNameLocalService, classNamePersistence, counterLocalService, persistedModelLocalServiceRegistry, ratingsEntryFinder, ratingsEntryLocalService, ratingsEntryPersistence, ratingsStatsFinder, ratingsStatsLocalService, ratingsStatsPersistence, resourceLocalService, userFinder, userLocalService, userPersistence |
|
Method Summary |
void |
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)
|
List<com.liferay.ratings.kernel.model.RatingsEntry> |
getEntries(long userId,
String className,
List<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 |
getEntry(long userId,
String className,
long classPK)
|
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, createRatingsEntry, deletePersistedModel, deleteRatingsEntry, deleteRatingsEntry, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchRatingsEntry, fetchRatingsEntryByUuidAndCompanyId, getActionableDynamicQuery, getAssetEntryFinder, getAssetEntryLocalService, getAssetEntryPersistence, getBlogsEntryFinder, getBlogsEntryLocalService, getBlogsEntryPersistence, getBlogsStatsUserFinder, getBlogsStatsUserLocalService, getBlogsStatsUserPersistence, getClassNameLocalService, getClassNamePersistence, getCounterLocalService, getExportActionableDynamicQuery, getIndexableActionableDynamicQuery, getModelClass, getModelClassName, getOSGiServiceIdentifier, getPersistedModel, getRatingsEntries, getRatingsEntriesCount, getRatingsEntry, getRatingsEntryByUuidAndCompanyId, getRatingsEntryFinder, getRatingsEntryLocalService, getRatingsEntryPersistence, getRatingsStatsFinder, getRatingsStatsLocalService, getRatingsStatsPersistence, getResourceLocalService, getUserFinder, getUserLocalService, getUserPersistence, initActionableDynamicQuery, runSQL, setAssetEntryFinder, setAssetEntryLocalService, setAssetEntryPersistence, setBlogsEntryFinder, setBlogsEntryLocalService, setBlogsEntryPersistence, setBlogsStatsUserFinder, setBlogsStatsUserLocalService, setBlogsStatsUserPersistence, setClassNameLocalService, setClassNamePersistence, setCounterLocalService, setRatingsEntryFinder, setRatingsEntryLocalService, setRatingsEntryPersistence, setRatingsStatsFinder, setRatingsStatsLocalService, setRatingsStatsPersistence, setResourceLocalService, setUserFinder, setUserLocalService, setUserPersistence, updateRatingsEntry |
| 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 |
RatingsEntryLocalServiceImpl
public RatingsEntryLocalServiceImpl()
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
public List<com.liferay.ratings.kernel.model.RatingsEntry> getEntries(long userId,
String className,
List<Long> classPKs)
getEntries
public List<com.liferay.ratings.kernel.model.RatingsEntry> getEntries(String className,
long classPK)
getEntries
public List<com.liferay.ratings.kernel.model.RatingsEntry> getEntries(String className,
long classPK,
double score)
getEntriesCount
public int getEntriesCount(String className,
long classPK,
double score)
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