@ProviderType
public class ScorePointServiceUtil
extends java.lang.Object
com.liferay.content.targeting.rule.score.points.service.impl.ScorePointServiceImpl
and is the
primary access point for service operations in application layer code running
on a remote server. Methods of this service are expected to have security
checks based on the propagated JAAS credentials because this service can be
accessed remotely.ScorePointService
,
com.liferay.content.targeting.rule.score.points.service.base.ScorePointServiceBaseImpl
,
com.liferay.content.targeting.rule.score.points.service.impl.ScorePointServiceImpl
Constructor and Description |
---|
ScorePointServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static long |
getPoints(long anonymousUserId,
long userSegmentId) |
static java.util.List<ScorePoint> |
getScorePoints(long userSegmentId) |
static ScorePointService |
getService() |
static long |
incrementPoints(long anonymousUserId,
long userSegmentId,
long points) |
static ScorePoint |
updateScorePoints(long anonymousUserId,
long userSegmentId,
long points) |
public static ScorePoint updateScorePoints(long anonymousUserId, long userSegmentId, long points) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.lang.String getOSGiServiceIdentifier()
public static java.util.List<ScorePoint> getScorePoints(long userSegmentId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static long getPoints(long anonymousUserId, long userSegmentId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static long incrementPoints(long anonymousUserId, long userSegmentId, long points) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static ScorePointService getService()