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.search.IndexableType;
022 import com.liferay.portal.kernel.transaction.Isolation;
023 import com.liferay.portal.kernel.transaction.Propagation;
024 import com.liferay.portal.kernel.transaction.Transactional;
025 import com.liferay.portal.model.SystemEventConstants;
026 import com.liferay.portal.service.BaseLocalService;
027 import com.liferay.portal.service.PersistedModelLocalService;
028
029
041 @ProviderType
042 @Transactional(isolation = Isolation.PORTAL, rollbackFor = {
043 PortalException.class, SystemException.class})
044 public interface MDRRuleGroupLocalService extends BaseLocalService,
045 PersistedModelLocalService {
046
051
052
059 @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX)
060 public com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup addMDRRuleGroup(
061 com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup mdrRuleGroup)
062 throws com.liferay.portal.kernel.exception.SystemException;
063
064
070 public com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup createMDRRuleGroup(
071 long ruleGroupId);
072
073
081 @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE)
082 public com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup deleteMDRRuleGroup(
083 long ruleGroupId)
084 throws com.liferay.portal.kernel.exception.PortalException,
085 com.liferay.portal.kernel.exception.SystemException;
086
087
094 @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE)
095 public com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup deleteMDRRuleGroup(
096 com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup mdrRuleGroup)
097 throws com.liferay.portal.kernel.exception.SystemException;
098
099 public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery();
100
101
108 @SuppressWarnings("rawtypes")
109 public java.util.List dynamicQuery(
110 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
111 throws com.liferay.portal.kernel.exception.SystemException;
112
113
126 @SuppressWarnings("rawtypes")
127 public java.util.List dynamicQuery(
128 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
129 int end) throws com.liferay.portal.kernel.exception.SystemException;
130
131
145 @SuppressWarnings("rawtypes")
146 public java.util.List dynamicQuery(
147 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
148 int end,
149 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
150 throws com.liferay.portal.kernel.exception.SystemException;
151
152
159 public long dynamicQueryCount(
160 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
161 throws com.liferay.portal.kernel.exception.SystemException;
162
163
171 public long dynamicQueryCount(
172 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
173 com.liferay.portal.kernel.dao.orm.Projection projection)
174 throws com.liferay.portal.kernel.exception.SystemException;
175
176 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
177 public com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup fetchMDRRuleGroup(
178 long ruleGroupId)
179 throws com.liferay.portal.kernel.exception.SystemException;
180
181
189 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
190 public com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup fetchMDRRuleGroupByUuidAndCompanyId(
191 java.lang.String uuid, long companyId)
192 throws com.liferay.portal.kernel.exception.SystemException;
193
194
202 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
203 public com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup fetchMDRRuleGroupByUuidAndGroupId(
204 java.lang.String uuid, long groupId)
205 throws com.liferay.portal.kernel.exception.SystemException;
206
207
215 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
216 public com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup getMDRRuleGroup(
217 long ruleGroupId)
218 throws com.liferay.portal.kernel.exception.PortalException,
219 com.liferay.portal.kernel.exception.SystemException;
220
221 @Override
222 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
223 public com.liferay.portal.model.PersistedModel getPersistedModel(
224 java.io.Serializable primaryKeyObj)
225 throws com.liferay.portal.kernel.exception.PortalException,
226 com.liferay.portal.kernel.exception.SystemException;
227
228
237 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
238 public com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup getMDRRuleGroupByUuidAndCompanyId(
239 java.lang.String uuid, long companyId)
240 throws com.liferay.portal.kernel.exception.PortalException,
241 com.liferay.portal.kernel.exception.SystemException;
242
243
252 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
253 public com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup getMDRRuleGroupByUuidAndGroupId(
254 java.lang.String uuid, long groupId)
255 throws com.liferay.portal.kernel.exception.PortalException,
256 com.liferay.portal.kernel.exception.SystemException;
257
258
270 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
271 public java.util.List<com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup> getMDRRuleGroups(
272 int start, int end)
273 throws com.liferay.portal.kernel.exception.SystemException;
274
275
281 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
282 public int getMDRRuleGroupsCount()
283 throws com.liferay.portal.kernel.exception.SystemException;
284
285
292 @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX)
293 public com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup updateMDRRuleGroup(
294 com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup mdrRuleGroup)
295 throws com.liferay.portal.kernel.exception.SystemException;
296
297
302 public java.lang.String getBeanIdentifier();
303
304
309 public void setBeanIdentifier(java.lang.String beanIdentifier);
310
311 public com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup addRuleGroup(
312 long groupId,
313 java.util.Map<java.util.Locale, java.lang.String> nameMap,
314 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
315 com.liferay.portal.service.ServiceContext serviceContext)
316 throws com.liferay.portal.kernel.exception.PortalException,
317 com.liferay.portal.kernel.exception.SystemException;
318
319 public com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup copyRuleGroup(
320 long ruleGroupId, long groupId,
321 com.liferay.portal.service.ServiceContext serviceContext)
322 throws com.liferay.portal.kernel.exception.PortalException,
323 com.liferay.portal.kernel.exception.SystemException;
324
325 public com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup copyRuleGroup(
326 com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup ruleGroup,
327 long groupId, com.liferay.portal.service.ServiceContext serviceContext)
328 throws com.liferay.portal.kernel.exception.PortalException,
329 com.liferay.portal.kernel.exception.SystemException;
330
331 public void deleteRuleGroup(long ruleGroupId)
332 throws com.liferay.portal.kernel.exception.SystemException;
333
334 @com.liferay.portal.kernel.systemevent.SystemEvent(action = SystemEventConstants.ACTION_SKIP, type = SystemEventConstants.TYPE_DELETE)
335 public void deleteRuleGroup(
336 com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup ruleGroup)
337 throws com.liferay.portal.kernel.exception.SystemException;
338
339 public void deleteRuleGroups(long groupId)
340 throws com.liferay.portal.kernel.exception.SystemException;
341
342 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
343 public com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup fetchRuleGroup(
344 long ruleGroupId)
345 throws com.liferay.portal.kernel.exception.SystemException;
346
347 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
348 public com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup getRuleGroup(
349 long ruleGroupId)
350 throws com.liferay.portal.kernel.exception.PortalException,
351 com.liferay.portal.kernel.exception.SystemException;
352
353 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
354 public java.util.List<com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup> getRuleGroups(
355 long groupId)
356 throws com.liferay.portal.kernel.exception.SystemException;
357
358 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
359 public java.util.List<com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup> getRuleGroups(
360 long groupId, int start, int end)
361 throws com.liferay.portal.kernel.exception.SystemException;
362
363 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
364 public int getRuleGroupsCount(long groupId)
365 throws com.liferay.portal.kernel.exception.SystemException;
366
367
371 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
372 public java.util.List<com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup> search(
373 long groupId, java.lang.String name, boolean andOperator, int start,
374 int end) throws com.liferay.portal.kernel.exception.SystemException;
375
376 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
377 public java.util.List<com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup> search(
378 long groupId, java.lang.String name,
379 java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
380 boolean andOperator, int start, int end)
381 throws com.liferay.portal.kernel.exception.SystemException;
382
383
387 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
388 public java.util.List<com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup> searchByKeywords(
389 long groupId, java.lang.String keywords, boolean andOperator,
390 int start, int end)
391 throws com.liferay.portal.kernel.exception.SystemException;
392
393 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
394 public java.util.List<com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup> searchByKeywords(
395 long groupId, java.lang.String keywords,
396 java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
397 boolean andOperator, int start, int end)
398 throws com.liferay.portal.kernel.exception.SystemException;
399
400
404 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
405 public int searchByKeywordsCount(long groupId, java.lang.String keywords,
406 boolean andOperator)
407 throws com.liferay.portal.kernel.exception.SystemException;
408
409 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
410 public int searchByKeywordsCount(long groupId, java.lang.String keywords,
411 java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
412 boolean andOperator)
413 throws com.liferay.portal.kernel.exception.SystemException;
414
415
419 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
420 public int searchCount(long groupId, java.lang.String name,
421 boolean andOperator)
422 throws com.liferay.portal.kernel.exception.SystemException;
423
424 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
425 public int searchCount(long groupId, java.lang.String name,
426 java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
427 boolean andOperator)
428 throws com.liferay.portal.kernel.exception.SystemException;
429
430 public com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup updateRuleGroup(
431 long ruleGroupId,
432 java.util.Map<java.util.Locale, java.lang.String> nameMap,
433 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
434 com.liferay.portal.service.ServiceContext serviceContext)
435 throws com.liferay.portal.kernel.exception.PortalException,
436 com.liferay.portal.kernel.exception.SystemException;
437 }