@ProviderType
public class UserSegmentServiceUtil
extends java.lang.Object
com.liferay.content.targeting.service.impl.UserSegmentServiceImpl 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.UserSegmentService,
com.liferay.content.targeting.service.base.UserSegmentServiceBaseImpl,
com.liferay.content.targeting.service.impl.UserSegmentServiceImpl| Constructor and Description |
|---|
UserSegmentServiceUtil() |
| Modifier and Type | Method and Description |
|---|---|
static UserSegment |
addUserSegment(long userId,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static UserSegment |
deleteUserSegment(long userSegmentId) |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static UserSegmentService |
getService() |
static java.util.List<UserSegment> |
getUserSegments(long groupId) |
static java.util.List<UserSegment> |
getUserSegments(long[] groupIds) |
static int |
getUserSegmentsCount(long groupId) |
static int |
getUserSegmentsCount(long[] groupIds) |
static UserSegment |
updateUserSegment(long userSegmentId,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
public static UserSegment addUserSegment(long userId, java.util.Map<java.util.Locale,java.lang.String> nameMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static UserSegment deleteUserSegment(long userSegmentId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static java.lang.String getOSGiServiceIdentifier()
public static java.util.List<UserSegment> getUserSegments(long groupId)
public static java.util.List<UserSegment> getUserSegments(long[] groupIds)
public static int getUserSegmentsCount(long groupId)
public static int getUserSegmentsCount(long[] groupIds)
public static UserSegment updateUserSegment(long userSegmentId, java.util.Map<java.util.Locale,java.lang.String> nameMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static UserSegmentService getService()