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 MDRActionLocalService extends PersistedModelLocalService {
040
045
046
053 public com.liferay.portlet.mobiledevicerules.model.MDRAction addMDRAction(
054 com.liferay.portlet.mobiledevicerules.model.MDRAction mdrAction)
055 throws com.liferay.portal.kernel.exception.SystemException;
056
057
063 public com.liferay.portlet.mobiledevicerules.model.MDRAction createMDRAction(
064 long actionId);
065
066
073 public void deleteMDRAction(long actionId)
074 throws com.liferay.portal.kernel.exception.PortalException,
075 com.liferay.portal.kernel.exception.SystemException;
076
077
083 public void deleteMDRAction(
084 com.liferay.portlet.mobiledevicerules.model.MDRAction mdrAction)
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.MDRAction fetchMDRAction(
151 long actionId)
152 throws com.liferay.portal.kernel.exception.SystemException;
153
154
162 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
163 public com.liferay.portlet.mobiledevicerules.model.MDRAction getMDRAction(
164 long actionId)
165 throws com.liferay.portal.kernel.exception.PortalException,
166 com.liferay.portal.kernel.exception.SystemException;
167
168 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
169 public com.liferay.portal.model.PersistedModel getPersistedModel(
170 java.io.Serializable primaryKeyObj)
171 throws com.liferay.portal.kernel.exception.PortalException,
172 com.liferay.portal.kernel.exception.SystemException;
173
174
183 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
184 public com.liferay.portlet.mobiledevicerules.model.MDRAction getMDRActionByUuidAndGroupId(
185 java.lang.String uuid, long groupId)
186 throws com.liferay.portal.kernel.exception.PortalException,
187 com.liferay.portal.kernel.exception.SystemException;
188
189
201 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
202 public java.util.List<com.liferay.portlet.mobiledevicerules.model.MDRAction> getMDRActions(
203 int start, int end)
204 throws com.liferay.portal.kernel.exception.SystemException;
205
206
212 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
213 public int getMDRActionsCount()
214 throws com.liferay.portal.kernel.exception.SystemException;
215
216
223 public com.liferay.portlet.mobiledevicerules.model.MDRAction updateMDRAction(
224 com.liferay.portlet.mobiledevicerules.model.MDRAction mdrAction)
225 throws com.liferay.portal.kernel.exception.SystemException;
226
227
235 public com.liferay.portlet.mobiledevicerules.model.MDRAction updateMDRAction(
236 com.liferay.portlet.mobiledevicerules.model.MDRAction mdrAction,
237 boolean merge)
238 throws com.liferay.portal.kernel.exception.SystemException;
239
240
245 public java.lang.String getBeanIdentifier();
246
247
252 public void setBeanIdentifier(java.lang.String beanIdentifier);
253
254 public com.liferay.portlet.mobiledevicerules.model.MDRAction addAction(
255 long ruleGroupInstanceId,
256 java.util.Map<java.util.Locale, java.lang.String> nameMap,
257 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
258 java.lang.String type, java.lang.String typeSettings,
259 com.liferay.portal.service.ServiceContext serviceContext)
260 throws com.liferay.portal.kernel.exception.PortalException,
261 com.liferay.portal.kernel.exception.SystemException;
262
263 public com.liferay.portlet.mobiledevicerules.model.MDRAction addAction(
264 long ruleGroupInstanceId,
265 java.util.Map<java.util.Locale, java.lang.String> nameMap,
266 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
267 java.lang.String type,
268 com.liferay.portal.kernel.util.UnicodeProperties typeSettingsProperties,
269 com.liferay.portal.service.ServiceContext serviceContext)
270 throws com.liferay.portal.kernel.exception.PortalException,
271 com.liferay.portal.kernel.exception.SystemException;
272
273 public void deleteAction(long actionId)
274 throws com.liferay.portal.kernel.exception.SystemException;
275
276 public void deleteAction(
277 com.liferay.portlet.mobiledevicerules.model.MDRAction action)
278 throws com.liferay.portal.kernel.exception.SystemException;
279
280 public void deleteActions(long ruleGroupInstanceId)
281 throws com.liferay.portal.kernel.exception.SystemException;
282
283 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
284 public com.liferay.portlet.mobiledevicerules.model.MDRAction fetchAction(
285 long actionId)
286 throws com.liferay.portal.kernel.exception.SystemException;
287
288 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
289 public com.liferay.portlet.mobiledevicerules.model.MDRAction getAction(
290 long actionId)
291 throws com.liferay.portal.kernel.exception.PortalException,
292 com.liferay.portal.kernel.exception.SystemException;
293
294 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
295 public java.util.List<com.liferay.portlet.mobiledevicerules.model.MDRAction> getActions(
296 long ruleGroupInstanceId)
297 throws com.liferay.portal.kernel.exception.SystemException;
298
299 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
300 public java.util.List<com.liferay.portlet.mobiledevicerules.model.MDRAction> getActions(
301 long ruleGroupInstanceId, int start, int end)
302 throws com.liferay.portal.kernel.exception.SystemException;
303
304 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
305 public int getActionsCount(long ruleGroupInstanceId)
306 throws com.liferay.portal.kernel.exception.SystemException;
307
308 public com.liferay.portlet.mobiledevicerules.model.MDRAction updateAction(
309 long actionId,
310 java.util.Map<java.util.Locale, java.lang.String> nameMap,
311 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
312 java.lang.String type, java.lang.String typeSettings,
313 com.liferay.portal.service.ServiceContext serviceContext)
314 throws com.liferay.portal.kernel.exception.PortalException,
315 com.liferay.portal.kernel.exception.SystemException;
316
317 public com.liferay.portlet.mobiledevicerules.model.MDRAction updateAction(
318 long actionId,
319 java.util.Map<java.util.Locale, java.lang.String> nameMap,
320 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
321 java.lang.String type,
322 com.liferay.portal.kernel.util.UnicodeProperties typeSettingsProperties,
323 com.liferay.portal.service.ServiceContext serviceContext)
324 throws com.liferay.portal.kernel.exception.PortalException,
325 com.liferay.portal.kernel.exception.SystemException;
326 }