@ProviderType
public class RuleInstanceServiceUtil
extends java.lang.Object
com.liferay.content.targeting.service.impl.RuleInstanceServiceImpl
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.RuleInstanceService
,
com.liferay.content.targeting.service.base.RuleInstanceServiceBaseImpl
,
com.liferay.content.targeting.service.impl.RuleInstanceServiceImpl
Constructor and Description |
---|
RuleInstanceServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static RuleInstance |
addRuleInstance(long userId,
java.lang.String ruleKey,
long userSegmentId,
int displayOrder,
java.lang.String typeSettings,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static RuleInstance |
addRuleInstance(long userId,
java.lang.String ruleKey,
long userSegmentId,
java.lang.String typeSettings,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static RuleInstance |
deleteRuleInstance(long ruleInstanceId) |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static java.util.List<RuleInstance> |
getRuleInstances(long userSegmentId) |
static long |
getRuleInstancesCount(long userSegmentId) |
static RuleInstanceService |
getService() |
static RuleInstance |
updateRuleInstance(long ruleInstanceId,
int displayOrder,
java.lang.String typeSettings,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static RuleInstance |
updateRuleInstance(long ruleInstanceId,
java.lang.String typeSettings,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
public static RuleInstance addRuleInstance(long userId, java.lang.String ruleKey, long userSegmentId, int displayOrder, 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 RuleInstance addRuleInstance(long userId, java.lang.String ruleKey, long userSegmentId, 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 RuleInstance deleteRuleInstance(long ruleInstanceId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static RuleInstance updateRuleInstance(long ruleInstanceId, int displayOrder, 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 RuleInstance updateRuleInstance(long ruleInstanceId, 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<RuleInstance> getRuleInstances(long userSegmentId)
public static long getRuleInstancesCount(long userSegmentId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static RuleInstanceService getService()