@ProviderType
public class ChannelInstanceServiceUtil
extends java.lang.Object
com.liferay.content.targeting.service.impl.ChannelInstanceServiceImpl
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.ChannelInstanceService
,
com.liferay.content.targeting.service.base.ChannelInstanceServiceBaseImpl
,
com.liferay.content.targeting.service.impl.ChannelInstanceServiceImpl
Constructor and Description |
---|
ChannelInstanceServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static ChannelInstance |
addChannelInstance(long userId,
long tacticId,
java.lang.String channelKey,
long campaignId,
java.lang.String alias,
java.lang.String typeSettings,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static ChannelInstance |
deleteChannelInstance(long channelInstanceId) |
static java.util.List<ChannelInstance> |
getChannelInstances(long campaignId,
long tacticId) |
static java.util.List<ChannelInstance> |
getChannelInstances(long tacticId,
java.lang.String channelKey) |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static ChannelInstanceService |
getService() |
static ChannelInstance |
updateChannelInstance(long channelInstanceId,
java.lang.String alias,
java.lang.String typeSettings,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
public static ChannelInstance addChannelInstance(long userId, long tacticId, java.lang.String channelKey, long campaignId, java.lang.String alias, java.lang.String typeSettings, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static ChannelInstance deleteChannelInstance(long channelInstanceId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static ChannelInstance updateChannelInstance(long channelInstanceId, java.lang.String alias, java.lang.String typeSettings, 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<ChannelInstance> getChannelInstances(long campaignId, long tacticId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.util.List<ChannelInstance> getChannelInstances(long tacticId, java.lang.String channelKey) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static ChannelInstanceService getService()