/** * Copyright (c) 2000-present Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more * details. */ package com.liferay.content.targeting.service; import com.liferay.portal.service.ServiceWrapper; /** * Provides a wrapper for {@link RuleInstanceService}. * * @author Brian Wing Shun Chan * @see RuleInstanceService * @generated */ public class RuleInstanceServiceWrapper implements RuleInstanceService, ServiceWrapper<RuleInstanceService> { public RuleInstanceServiceWrapper(RuleInstanceService ruleInstanceService) { _ruleInstanceService = ruleInstanceService; } /** * Returns the Spring bean ID for this bean. * * @return the Spring bean ID for this bean */ @Override public java.lang.String getBeanIdentifier() { return _ruleInstanceService.getBeanIdentifier(); } /** * Sets the Spring bean ID for this bean. * * @param beanIdentifier the Spring bean ID for this bean */ @Override public void setBeanIdentifier(java.lang.String beanIdentifier) { _ruleInstanceService.setBeanIdentifier(beanIdentifier); } @Override public java.lang.Object invokeMethod(java.lang.String name, java.lang.String[] parameterTypes, java.lang.Object[] arguments) throws java.lang.Throwable { return _ruleInstanceService.invokeMethod(name, parameterTypes, arguments); } @Override public com.liferay.content.targeting.model.RuleInstance addRuleInstance( long userId, java.lang.String ruleKey, long userSegmentId, java.lang.String typeSettings, com.liferay.portal.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { return _ruleInstanceService.addRuleInstance(userId, ruleKey, userSegmentId, typeSettings, serviceContext); } @Override public com.liferay.content.targeting.model.RuleInstance deleteRuleInstance( long ruleInstanceId) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { return _ruleInstanceService.deleteRuleInstance(ruleInstanceId); } @Override public java.util.List<com.liferay.content.targeting.model.RuleInstance> getRuleInstances( long userSegmentId) throws com.liferay.portal.kernel.exception.SystemException { return _ruleInstanceService.getRuleInstances(userSegmentId); } @Override public long getRuleInstancesCount(long userSegmentId) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { return _ruleInstanceService.getRuleInstancesCount(userSegmentId); } @Override public com.liferay.content.targeting.model.RuleInstance updateRuleInstance( long ruleInstanceId, java.lang.String typeSettings, com.liferay.portal.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { return _ruleInstanceService.updateRuleInstance(ruleInstanceId, typeSettings, serviceContext); } /** * @deprecated As of 6.1.0, replaced by {@link #getWrappedService} */ public RuleInstanceService getWrappedRuleInstanceService() { return _ruleInstanceService; } /** * @deprecated As of 6.1.0, replaced by {@link #setWrappedService} */ public void setWrappedRuleInstanceService( RuleInstanceService ruleInstanceService) { _ruleInstanceService = ruleInstanceService; } @Override public RuleInstanceService getWrappedService() { return _ruleInstanceService; } @Override public void setWrappedService(RuleInstanceService ruleInstanceService) { _ruleInstanceService = ruleInstanceService; } private RuleInstanceService _ruleInstanceService; }