com.liferay.portlet.ratings.service.impl
Class RatingsEntryLocalServiceImpl
java.lang.Object
com.liferay.portal.service.BaseLocalServiceImpl
com.liferay.portlet.ratings.service.base.RatingsEntryLocalServiceBaseImpl
com.liferay.portlet.ratings.service.impl.RatingsEntryLocalServiceImpl
- All Implemented Interfaces:
- IdentifiableOSGiService, BaseLocalService, PersistedModelLocalService, 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(RatingsEntry entry,
long userId,
String className,
long classPK)
|
RatingsEntry |
fetchEntry(long userId,
String className,
long classPK)
|
List<RatingsEntry> |
getEntries(long userId,
String className,
List<Long> classPKs)
|
List<RatingsEntry> |
getEntries(String className,
long classPK)
|
List<RatingsEntry> |
getEntries(String className,
long classPK,
double score)
|
int |
getEntriesCount(String className,
long classPK,
double score)
|
RatingsEntry |
getEntry(long userId,
String className,
long classPK)
|
RatingsEntry |
updateEntry(long userId,
String className,
long classPK,
double score,
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 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 PortalException
- Throws:
PortalException
deleteEntry
@SystemEvent(type=1)
public void deleteEntry(RatingsEntry entry,
long userId,
String className,
long classPK)
throws PortalException
- Throws:
PortalException
fetchEntry
public RatingsEntry fetchEntry(long userId,
String className,
long classPK)
getEntries
public List<RatingsEntry> getEntries(long userId,
String className,
List<Long> classPKs)
getEntries
public List<RatingsEntry> getEntries(String className,
long classPK)
getEntries
public List<RatingsEntry> getEntries(String className,
long classPK,
double score)
getEntriesCount
public int getEntriesCount(String className,
long classPK,
double score)
getEntry
public RatingsEntry getEntry(long userId,
String className,
long classPK)
throws PortalException
- Throws:
PortalException
updateEntry
public RatingsEntry updateEntry(long userId,
String className,
long classPK,
double score,
ServiceContext serviceContext)
throws PortalException
- Throws:
PortalException
validate
protected void validate(double score)
throws PortalException
- Throws:
PortalException