@ProviderType
public class TacticServiceUtil
extends java.lang.Object
com.liferay.content.targeting.service.impl.TacticServiceImpl
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.TacticService
,
com.liferay.content.targeting.service.base.TacticServiceBaseImpl
,
com.liferay.content.targeting.service.impl.TacticServiceImpl
Constructor and Description |
---|
TacticServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static Tactic |
addTactic(long userId,
long campaignId,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
long[] userSegmentsIds,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static TacticService |
getService() |
static java.util.List<Tactic> |
getTactics(long campaignId) |
static Tactic |
updateTactic(long tacticId,
long campaignId,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
long[] userSegmentsIds,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
public static Tactic addTactic(long userId, long campaignId, java.util.Map<java.util.Locale,java.lang.String> nameMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, long[] userSegmentsIds, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static Tactic updateTactic(long tacticId, long campaignId, java.util.Map<java.util.Locale,java.lang.String> nameMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, long[] userSegmentsIds, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.lang.String getOSGiServiceIdentifier()
public static java.util.List<Tactic> getTactics(long campaignId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static TacticService getService()