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.transaction.Isolation;
020 import com.liferay.portal.kernel.transaction.Propagation;
021 import com.liferay.portal.kernel.transaction.Transactional;
022 import com.liferay.portal.service.PersistedModelLocalService;
023
024
037 @Transactional(isolation = Isolation.PORTAL, rollbackFor = {
038 PortalException.class, SystemException.class})
039 public interface MDRRuleLocalService extends PersistedModelLocalService {
040
045
046
053 public com.liferay.portlet.mobiledevicerules.model.MDRRule addMDRRule(
054 com.liferay.portlet.mobiledevicerules.model.MDRRule mdrRule)
055 throws com.liferay.portal.kernel.exception.SystemException;
056
057
063 public com.liferay.portlet.mobiledevicerules.model.MDRRule createMDRRule(
064 long ruleId);
065
066
073 public void deleteMDRRule(long ruleId)
074 throws com.liferay.portal.kernel.exception.PortalException,
075 com.liferay.portal.kernel.exception.SystemException;
076
077
083 public void deleteMDRRule(
084 com.liferay.portlet.mobiledevicerules.model.MDRRule mdrRule)
085 throws com.liferay.portal.kernel.exception.SystemException;
086
087
094 @SuppressWarnings("rawtypes")
095 public java.util.List dynamicQuery(
096 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
097 throws com.liferay.portal.kernel.exception.SystemException;
098
099
112 @SuppressWarnings("rawtypes")
113 public java.util.List dynamicQuery(
114 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
115 int end) throws com.liferay.portal.kernel.exception.SystemException;
116
117
131 @SuppressWarnings("rawtypes")
132 public java.util.List dynamicQuery(
133 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
134 int end,
135 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
136 throws com.liferay.portal.kernel.exception.SystemException;
137
138
145 public long dynamicQueryCount(
146 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
147 throws com.liferay.portal.kernel.exception.SystemException;
148
149 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
150 public com.liferay.portlet.mobiledevicerules.model.MDRRule fetchMDRRule(
151 long ruleId) throws com.liferay.portal.kernel.exception.SystemException;
152
153
161 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
162 public com.liferay.portlet.mobiledevicerules.model.MDRRule getMDRRule(
163 long ruleId)
164 throws com.liferay.portal.kernel.exception.PortalException,
165 com.liferay.portal.kernel.exception.SystemException;
166
167 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
168 public com.liferay.portal.model.PersistedModel getPersistedModel(
169 java.io.Serializable primaryKeyObj)
170 throws com.liferay.portal.kernel.exception.PortalException,
171 com.liferay.portal.kernel.exception.SystemException;
172
173
182 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
183 public com.liferay.portlet.mobiledevicerules.model.MDRRule getMDRRuleByUuidAndGroupId(
184 java.lang.String uuid, long groupId)
185 throws com.liferay.portal.kernel.exception.PortalException,
186 com.liferay.portal.kernel.exception.SystemException;
187
188
200 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
201 public java.util.List<com.liferay.portlet.mobiledevicerules.model.MDRRule> getMDRRules(
202 int start, int end)
203 throws com.liferay.portal.kernel.exception.SystemException;
204
205
211 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
212 public int getMDRRulesCount()
213 throws com.liferay.portal.kernel.exception.SystemException;
214
215
222 public com.liferay.portlet.mobiledevicerules.model.MDRRule updateMDRRule(
223 com.liferay.portlet.mobiledevicerules.model.MDRRule mdrRule)
224 throws com.liferay.portal.kernel.exception.SystemException;
225
226
234 public com.liferay.portlet.mobiledevicerules.model.MDRRule updateMDRRule(
235 com.liferay.portlet.mobiledevicerules.model.MDRRule mdrRule,
236 boolean merge)
237 throws com.liferay.portal.kernel.exception.SystemException;
238
239
244 public java.lang.String getBeanIdentifier();
245
246
251 public void setBeanIdentifier(java.lang.String beanIdentifier);
252
253 public com.liferay.portlet.mobiledevicerules.model.MDRRule addRule(
254 long ruleGroupId,
255 java.util.Map<java.util.Locale, java.lang.String> nameMap,
256 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
257 java.lang.String type, java.lang.String typeSettings,
258 com.liferay.portal.service.ServiceContext serviceContext)
259 throws com.liferay.portal.kernel.exception.PortalException,
260 com.liferay.portal.kernel.exception.SystemException;
261
262 public com.liferay.portlet.mobiledevicerules.model.MDRRule addRule(
263 long ruleGroupId,
264 java.util.Map<java.util.Locale, java.lang.String> nameMap,
265 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
266 java.lang.String type,
267 com.liferay.portal.kernel.util.UnicodeProperties typeSettingsProperties,
268 com.liferay.portal.service.ServiceContext serviceContext)
269 throws com.liferay.portal.kernel.exception.PortalException,
270 com.liferay.portal.kernel.exception.SystemException;
271
272 public com.liferay.portlet.mobiledevicerules.model.MDRRule copyRule(
273 long ruleId, long ruleGroupId,
274 com.liferay.portal.service.ServiceContext serviceContext)
275 throws com.liferay.portal.kernel.exception.PortalException,
276 com.liferay.portal.kernel.exception.SystemException;
277
278 public com.liferay.portlet.mobiledevicerules.model.MDRRule copyRule(
279 com.liferay.portlet.mobiledevicerules.model.MDRRule rule,
280 long ruleGroupId,
281 com.liferay.portal.service.ServiceContext serviceContext)
282 throws com.liferay.portal.kernel.exception.PortalException,
283 com.liferay.portal.kernel.exception.SystemException;
284
285 public void deleteRule(long ruleId)
286 throws com.liferay.portal.kernel.exception.SystemException;
287
288 public void deleteRule(
289 com.liferay.portlet.mobiledevicerules.model.MDRRule rule)
290 throws com.liferay.portal.kernel.exception.SystemException;
291
292 public void deleteRules(long ruleGroupId)
293 throws com.liferay.portal.kernel.exception.SystemException;
294
295 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
296 public com.liferay.portlet.mobiledevicerules.model.MDRRule fetchRule(
297 long ruleId) throws com.liferay.portal.kernel.exception.SystemException;
298
299 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
300 public com.liferay.portlet.mobiledevicerules.model.MDRRule getRule(
301 long ruleId)
302 throws com.liferay.portal.kernel.exception.PortalException,
303 com.liferay.portal.kernel.exception.SystemException;
304
305 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
306 public java.util.List<com.liferay.portlet.mobiledevicerules.model.MDRRule> getRules(
307 long ruleGroupId)
308 throws com.liferay.portal.kernel.exception.SystemException;
309
310 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
311 public java.util.List<com.liferay.portlet.mobiledevicerules.model.MDRRule> getRules(
312 long ruleGroupId, int start, int end)
313 throws com.liferay.portal.kernel.exception.SystemException;
314
315 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
316 public int getRulesCount(long ruleGroupId)
317 throws com.liferay.portal.kernel.exception.SystemException;
318
319 public com.liferay.portlet.mobiledevicerules.model.MDRRule updateRule(
320 long ruleId, java.util.Map<java.util.Locale, java.lang.String> nameMap,
321 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
322 java.lang.String type, java.lang.String typeSettings,
323 com.liferay.portal.service.ServiceContext serviceContext)
324 throws com.liferay.portal.kernel.exception.PortalException,
325 com.liferay.portal.kernel.exception.SystemException;
326
327 public com.liferay.portlet.mobiledevicerules.model.MDRRule updateRule(
328 long ruleId, java.util.Map<java.util.Locale, java.lang.String> nameMap,
329 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
330 java.lang.String type,
331 com.liferay.portal.kernel.util.UnicodeProperties typeSettingsProperties,
332 com.liferay.portal.service.ServiceContext serviceContext)
333 throws com.liferay.portal.kernel.exception.PortalException,
334 com.liferay.portal.kernel.exception.SystemException;
335 }