001
014
015 package com.liferay.portlet.mobiledevicerules.service;
016
017 import aQute.bnd.annotation.ProviderType;
018
019 import com.liferay.portal.service.ServiceWrapper;
020
021
028 @ProviderType
029 public class MDRRuleServiceWrapper implements MDRRuleService,
030 ServiceWrapper<MDRRuleService> {
031 public MDRRuleServiceWrapper(MDRRuleService mdrRuleService) {
032 _mdrRuleService = mdrRuleService;
033 }
034
035
040 @Override
041 public java.lang.String getBeanIdentifier() {
042 return _mdrRuleService.getBeanIdentifier();
043 }
044
045
050 @Override
051 public void setBeanIdentifier(java.lang.String beanIdentifier) {
052 _mdrRuleService.setBeanIdentifier(beanIdentifier);
053 }
054
055 @Override
056 public com.liferay.portlet.mobiledevicerules.model.MDRRule addRule(
057 long ruleGroupId,
058 java.util.Map<java.util.Locale, java.lang.String> nameMap,
059 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
060 java.lang.String type, java.lang.String typeSettings,
061 com.liferay.portal.service.ServiceContext serviceContext)
062 throws com.liferay.portal.kernel.exception.PortalException,
063 com.liferay.portal.kernel.exception.SystemException {
064 return _mdrRuleService.addRule(ruleGroupId, nameMap, descriptionMap,
065 type, typeSettings, serviceContext);
066 }
067
068 @Override
069 public com.liferay.portlet.mobiledevicerules.model.MDRRule addRule(
070 long ruleGroupId,
071 java.util.Map<java.util.Locale, java.lang.String> nameMap,
072 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
073 java.lang.String type,
074 com.liferay.portal.kernel.util.UnicodeProperties typeSettings,
075 com.liferay.portal.service.ServiceContext serviceContext)
076 throws com.liferay.portal.kernel.exception.PortalException,
077 com.liferay.portal.kernel.exception.SystemException {
078 return _mdrRuleService.addRule(ruleGroupId, nameMap, descriptionMap,
079 type, typeSettings, serviceContext);
080 }
081
082 @Override
083 public void deleteRule(long ruleId)
084 throws com.liferay.portal.kernel.exception.PortalException,
085 com.liferay.portal.kernel.exception.SystemException {
086 _mdrRuleService.deleteRule(ruleId);
087 }
088
089 @Override
090 public com.liferay.portlet.mobiledevicerules.model.MDRRule fetchRule(
091 long ruleId)
092 throws com.liferay.portal.kernel.exception.PortalException,
093 com.liferay.portal.kernel.exception.SystemException {
094 return _mdrRuleService.fetchRule(ruleId);
095 }
096
097 @Override
098 public com.liferay.portlet.mobiledevicerules.model.MDRRule getRule(
099 long ruleId)
100 throws com.liferay.portal.kernel.exception.PortalException,
101 com.liferay.portal.kernel.exception.SystemException {
102 return _mdrRuleService.getRule(ruleId);
103 }
104
105 @Override
106 public com.liferay.portlet.mobiledevicerules.model.MDRRule updateRule(
107 long ruleId, java.util.Map<java.util.Locale, java.lang.String> nameMap,
108 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
109 java.lang.String type, java.lang.String typeSettings,
110 com.liferay.portal.service.ServiceContext serviceContext)
111 throws com.liferay.portal.kernel.exception.PortalException,
112 com.liferay.portal.kernel.exception.SystemException {
113 return _mdrRuleService.updateRule(ruleId, nameMap, descriptionMap,
114 type, typeSettings, serviceContext);
115 }
116
117 @Override
118 public com.liferay.portlet.mobiledevicerules.model.MDRRule updateRule(
119 long ruleId, java.util.Map<java.util.Locale, java.lang.String> nameMap,
120 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
121 java.lang.String type,
122 com.liferay.portal.kernel.util.UnicodeProperties typeSettingsProperties,
123 com.liferay.portal.service.ServiceContext serviceContext)
124 throws com.liferay.portal.kernel.exception.PortalException,
125 com.liferay.portal.kernel.exception.SystemException {
126 return _mdrRuleService.updateRule(ruleId, nameMap, descriptionMap,
127 type, typeSettingsProperties, serviceContext);
128 }
129
130
133 public MDRRuleService getWrappedMDRRuleService() {
134 return _mdrRuleService;
135 }
136
137
140 public void setWrappedMDRRuleService(MDRRuleService mdrRuleService) {
141 _mdrRuleService = mdrRuleService;
142 }
143
144 @Override
145 public MDRRuleService getWrappedService() {
146 return _mdrRuleService;
147 }
148
149 @Override
150 public void setWrappedService(MDRRuleService mdrRuleService) {
151 _mdrRuleService = mdrRuleService;
152 }
153
154 private MDRRuleService _mdrRuleService;
155 }