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

public class RatingsEntryLocalServiceImpl extends RatingsEntryLocalServiceBaseImpl
Author:
Brian Wing Shun Chan, Zsolt Berentey
  • 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

      public Map<Long,com.liferay.ratings.kernel.model.RatingsEntry> getEntries(long userId, String className, 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