001
014
015 package com.liferay.portlet.mobiledevicerules.service;
016
017 import com.liferay.portal.kernel.exception.PortalException;
018 import com.liferay.portal.kernel.exception.SystemException;
019 import com.liferay.portal.kernel.jsonwebservice.JSONWebService;
020 import com.liferay.portal.kernel.transaction.Isolation;
021 import com.liferay.portal.kernel.transaction.Propagation;
022 import com.liferay.portal.kernel.transaction.Transactional;
023 import com.liferay.portal.security.ac.AccessControlled;
024 import com.liferay.portal.service.BaseService;
025
026
039 @AccessControlled
040 @JSONWebService
041 @Transactional(isolation = Isolation.PORTAL, rollbackFor = {
042 PortalException.class, SystemException.class})
043 public interface MDRRuleService extends BaseService {
044
049
050
055 public java.lang.String getBeanIdentifier();
056
057
062 public void setBeanIdentifier(java.lang.String beanIdentifier);
063
064 public com.liferay.portlet.mobiledevicerules.model.MDRRule addRule(
065 long ruleGroupId,
066 java.util.Map<java.util.Locale, java.lang.String> nameMap,
067 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
068 java.lang.String type, java.lang.String typeSettings,
069 com.liferay.portal.service.ServiceContext serviceContext)
070 throws com.liferay.portal.kernel.exception.PortalException,
071 com.liferay.portal.kernel.exception.SystemException;
072
073 public com.liferay.portlet.mobiledevicerules.model.MDRRule addRule(
074 long ruleGroupId,
075 java.util.Map<java.util.Locale, java.lang.String> nameMap,
076 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
077 java.lang.String type,
078 com.liferay.portal.kernel.util.UnicodeProperties typeSettings,
079 com.liferay.portal.service.ServiceContext serviceContext)
080 throws com.liferay.portal.kernel.exception.PortalException,
081 com.liferay.portal.kernel.exception.SystemException;
082
083 public void deleteRule(long ruleId)
084 throws com.liferay.portal.kernel.exception.PortalException,
085 com.liferay.portal.kernel.exception.SystemException;
086
087 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
088 public com.liferay.portlet.mobiledevicerules.model.MDRRule fetchRule(
089 long ruleId)
090 throws com.liferay.portal.kernel.exception.PortalException,
091 com.liferay.portal.kernel.exception.SystemException;
092
093 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
094 public com.liferay.portlet.mobiledevicerules.model.MDRRule getRule(
095 long ruleId)
096 throws com.liferay.portal.kernel.exception.PortalException,
097 com.liferay.portal.kernel.exception.SystemException;
098
099 public com.liferay.portlet.mobiledevicerules.model.MDRRule updateRule(
100 long ruleId, java.util.Map<java.util.Locale, java.lang.String> nameMap,
101 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
102 java.lang.String type, java.lang.String typeSettings,
103 com.liferay.portal.service.ServiceContext serviceContext)
104 throws com.liferay.portal.kernel.exception.PortalException,
105 com.liferay.portal.kernel.exception.SystemException;
106
107 public com.liferay.portlet.mobiledevicerules.model.MDRRule updateRule(
108 long ruleId, java.util.Map<java.util.Locale, java.lang.String> nameMap,
109 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
110 java.lang.String type,
111 com.liferay.portal.kernel.util.UnicodeProperties typeSettingsProperties,
112 com.liferay.portal.service.ServiceContext serviceContext)
113 throws com.liferay.portal.kernel.exception.PortalException,
114 com.liferay.portal.kernel.exception.SystemException;
115 }