@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<com.liferay.content.targeting.anonymous.users.model.AnonymousUser> |
getAnonymousUsersByUserSegmentId(long userSegmentId,
boolean active,
int start,
int end,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static java.util.List<com.liferay.content.targeting.anonymous.users.model.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<com.liferay.content.targeting.anonymous.users.model.AnonymousUser> |
getAnonymousUsersByUserSegmentIds(long[] userSegmentIds,
boolean active,
int start,
int end,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static java.util.List<com.liferay.content.targeting.anonymous.users.model.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,
int start,
int end,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
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 java.util.List<UserSegment> |
getUserSegmentsByUserId(long userId,
boolean active,
int start,
int end) |
static int |
getUserSegmentsByUserIdCount(long userId,
boolean active) |
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.PortalExceptionpublic static java.util.List<com.liferay.content.targeting.anonymous.users.model.AnonymousUser> getAnonymousUsersByUserSegmentId(long userSegmentId,
boolean active,
int start,
int end,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static java.util.List<com.liferay.content.targeting.anonymous.users.model.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.PortalExceptionpublic 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.PortalExceptionpublic static java.util.List<com.liferay.content.targeting.anonymous.users.model.AnonymousUser> getAnonymousUsersByUserSegmentIds(long[] userSegmentIds,
boolean active,
int start,
int end,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static java.util.List<com.liferay.content.targeting.anonymous.users.model.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.PortalExceptionpublic 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.PortalExceptionpublic static java.lang.String getOSGiServiceIdentifier()
public static java.util.List<UserSegment> getUserSegmentsByAnonymousUserId(long anonymousUserId, boolean active, int start, int end, com.liferay.portal.kernel.service.ServiceContext serviceContext)
public static java.util.List<UserSegment> getUserSegmentsByAnonymousUserId(long anonymousUserId, boolean active, com.liferay.portal.kernel.service.ServiceContext serviceContext)
public static int getUserSegmentsByAnonymousUserIdCount(long anonymousUserId,
boolean active,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
public static java.util.List<UserSegment> getUserSegmentsByUserId(long userId, boolean active) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static java.util.List<UserSegment> getUserSegmentsByUserId(long userId, boolean active, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static int getUserSegmentsByUserIdCount(long userId,
boolean active)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static AnonymousUserUserSegmentService getService()