@ProviderType
public class AnonymousUserUserSegmentServiceUtil
extends java.lang.Object
com.liferay.content.targeting.service.impl.AnonymousUserUserSegmentServiceImpl
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.AnonymousUserUserSegmentService
,
com.liferay.content.targeting.service.base.AnonymousUserUserSegmentServiceBaseImpl
,
com.liferay.content.targeting.service.impl.AnonymousUserUserSegmentServiceImpl
Constructor and Description |
---|
AnonymousUserUserSegmentServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static AnonymousUserUserSegment |
addAnonymousUserUserSegment(long anonymousUserId,
long userSegmentId,
boolean manual,
boolean active,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static java.util.List<AnonymousUser> |
getAnonymousUsersByUserSegmentId(long userSegmentId,
boolean active,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static int |
getAnonymousUsersByUserSegmentIdCount(long userSegmentId,
boolean active,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static java.util.List<AnonymousUser> |
getAnonymousUsersByUserSegmentIds(long[] userSegmentIds,
boolean active,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static int |
getAnonymousUsersByUserSegmentIdsCount(long[] userSegmentIds,
boolean active,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static AnonymousUserUserSegmentService |
getService() |
static java.util.List<UserSegment> |
getUserSegmentsByAnonymousUserId(long anonymousUserId,
boolean active,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static int |
getUserSegmentsByAnonymousUserIdCount(long anonymousUserId,
boolean active,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static java.util.List<UserSegment> |
getUserSegmentsByUserId(long userId,
boolean active) |
static int |
getUserSegmentsByUserIdCount(long userId,
boolean active) |
static AnonymousUserUserSegment |
updateAnonymousUserUserSegment(long anonymousUserUserSegmentId,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
public static AnonymousUserUserSegment addAnonymousUserUserSegment(long anonymousUserId, long userSegmentId, boolean manual, boolean active, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static AnonymousUserUserSegment updateAnonymousUserUserSegment(long anonymousUserUserSegmentId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static int getAnonymousUsersByUserSegmentIdCount(long userSegmentId, boolean active, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static int getAnonymousUsersByUserSegmentIdsCount(long[] userSegmentIds, boolean active, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static int getUserSegmentsByAnonymousUserIdCount(long anonymousUserId, boolean active, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static int getUserSegmentsByUserIdCount(long userId, boolean active) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.lang.String getOSGiServiceIdentifier()
public static java.util.List<AnonymousUser> getAnonymousUsersByUserSegmentId(long userSegmentId, boolean active, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.util.List<AnonymousUser> getAnonymousUsersByUserSegmentIds(long[] userSegmentIds, boolean active, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.util.List<UserSegment> getUserSegmentsByAnonymousUserId(long anonymousUserId, boolean active, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.util.List<UserSegment> getUserSegmentsByUserId(long userId, boolean active) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static AnonymousUserUserSegmentService getService()