001
014
015 package com.liferay.portlet.mobiledevicerules.service;
016
017 import aQute.bnd.annotation.ProviderType;
018
019 import com.liferay.portal.kernel.exception.PortalException;
020 import com.liferay.portal.kernel.exception.SystemException;
021 import com.liferay.portal.kernel.jsonwebservice.JSONWebService;
022 import com.liferay.portal.kernel.jsonwebservice.JSONWebServiceMode;
023 import com.liferay.portal.kernel.transaction.Isolation;
024 import com.liferay.portal.kernel.transaction.Propagation;
025 import com.liferay.portal.kernel.transaction.Transactional;
026 import com.liferay.portal.security.ac.AccessControlled;
027 import com.liferay.portal.service.BaseService;
028
029
040 @AccessControlled
041 @JSONWebService
042 @ProviderType
043 @Transactional(isolation = Isolation.PORTAL, rollbackFor = {
044 PortalException.class, SystemException.class})
045 public interface MDRRuleService extends BaseService {
046
051 @com.liferay.portal.kernel.jsonwebservice.JSONWebService(mode = JSONWebServiceMode.IGNORE)
052 public com.liferay.portlet.mobiledevicerules.model.MDRRule addRule(
053 long ruleGroupId,
054 java.util.Map<java.util.Locale, java.lang.String> nameMap,
055 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
056 java.lang.String type,
057 com.liferay.portal.kernel.util.UnicodeProperties typeSettings,
058 com.liferay.portal.service.ServiceContext serviceContext)
059 throws com.liferay.portal.kernel.exception.PortalException;
060
061 public com.liferay.portlet.mobiledevicerules.model.MDRRule addRule(
062 long ruleGroupId,
063 java.util.Map<java.util.Locale, java.lang.String> nameMap,
064 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
065 java.lang.String type, java.lang.String typeSettings,
066 com.liferay.portal.service.ServiceContext serviceContext)
067 throws com.liferay.portal.kernel.exception.PortalException;
068
069 public void deleteRule(long ruleId)
070 throws com.liferay.portal.kernel.exception.PortalException;
071
072 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
073 public com.liferay.portlet.mobiledevicerules.model.MDRRule fetchRule(
074 long ruleId) throws com.liferay.portal.kernel.exception.PortalException;
075
076
081 public java.lang.String getBeanIdentifier();
082
083 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
084 public com.liferay.portlet.mobiledevicerules.model.MDRRule getRule(
085 long ruleId) throws com.liferay.portal.kernel.exception.PortalException;
086
087
092 public void setBeanIdentifier(java.lang.String beanIdentifier);
093
094 public com.liferay.portlet.mobiledevicerules.model.MDRRule updateRule(
095 long ruleId, java.util.Map<java.util.Locale, java.lang.String> nameMap,
096 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
097 java.lang.String type, java.lang.String typeSettings,
098 com.liferay.portal.service.ServiceContext serviceContext)
099 throws com.liferay.portal.kernel.exception.PortalException;
100
101 public com.liferay.portlet.mobiledevicerules.model.MDRRule updateRule(
102 long ruleId, java.util.Map<java.util.Locale, java.lang.String> nameMap,
103 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
104 java.lang.String type,
105 com.liferay.portal.kernel.util.UnicodeProperties typeSettingsProperties,
106 com.liferay.portal.service.ServiceContext serviceContext)
107 throws com.liferay.portal.kernel.exception.PortalException;
108 }