001    /**
002     * Copyright (c) 2000-present Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.mobiledevicerules.service;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.service.ServiceWrapper;
020    
021    /**
022     * Provides a wrapper for {@link MDRActionLocalService}.
023     *
024     * @author Edward C. Han
025     * @see MDRActionLocalService
026     * @generated
027     */
028    @ProviderType
029    public class MDRActionLocalServiceWrapper implements MDRActionLocalService,
030            ServiceWrapper<MDRActionLocalService> {
031            public MDRActionLocalServiceWrapper(
032                    MDRActionLocalService mdrActionLocalService) {
033                    _mdrActionLocalService = mdrActionLocalService;
034            }
035    
036            @Override
037            public com.liferay.portlet.mobiledevicerules.model.MDRAction addAction(
038                    long ruleGroupInstanceId,
039                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
040                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
041                    java.lang.String type, java.lang.String typeSettings,
042                    com.liferay.portal.service.ServiceContext serviceContext)
043                    throws com.liferay.portal.kernel.exception.PortalException {
044                    return _mdrActionLocalService.addAction(ruleGroupInstanceId, nameMap,
045                            descriptionMap, type, typeSettings, serviceContext);
046            }
047    
048            @Override
049            public com.liferay.portlet.mobiledevicerules.model.MDRAction addAction(
050                    long ruleGroupInstanceId,
051                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
052                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
053                    java.lang.String type,
054                    com.liferay.portal.kernel.util.UnicodeProperties typeSettingsProperties,
055                    com.liferay.portal.service.ServiceContext serviceContext)
056                    throws com.liferay.portal.kernel.exception.PortalException {
057                    return _mdrActionLocalService.addAction(ruleGroupInstanceId, nameMap,
058                            descriptionMap, type, typeSettingsProperties, serviceContext);
059            }
060    
061            /**
062            * Adds the m d r action to the database. Also notifies the appropriate model listeners.
063            *
064            * @param mdrAction the m d r action
065            * @return the m d r action that was added
066            */
067            @Override
068            public com.liferay.portlet.mobiledevicerules.model.MDRAction addMDRAction(
069                    com.liferay.portlet.mobiledevicerules.model.MDRAction mdrAction) {
070                    return _mdrActionLocalService.addMDRAction(mdrAction);
071            }
072    
073            /**
074            * Creates a new m d r action with the primary key. Does not add the m d r action to the database.
075            *
076            * @param actionId the primary key for the new m d r action
077            * @return the new m d r action
078            */
079            @Override
080            public com.liferay.portlet.mobiledevicerules.model.MDRAction createMDRAction(
081                    long actionId) {
082                    return _mdrActionLocalService.createMDRAction(actionId);
083            }
084    
085            @Override
086            public void deleteAction(
087                    com.liferay.portlet.mobiledevicerules.model.MDRAction action) {
088                    _mdrActionLocalService.deleteAction(action);
089            }
090    
091            @Override
092            public void deleteAction(long actionId) {
093                    _mdrActionLocalService.deleteAction(actionId);
094            }
095    
096            @Override
097            public void deleteActions(long ruleGroupInstanceId) {
098                    _mdrActionLocalService.deleteActions(ruleGroupInstanceId);
099            }
100    
101            /**
102            * Deletes the m d r action with the primary key from the database. Also notifies the appropriate model listeners.
103            *
104            * @param actionId the primary key of the m d r action
105            * @return the m d r action that was removed
106            * @throws PortalException if a m d r action with the primary key could not be found
107            */
108            @Override
109            public com.liferay.portlet.mobiledevicerules.model.MDRAction deleteMDRAction(
110                    long actionId)
111                    throws com.liferay.portal.kernel.exception.PortalException {
112                    return _mdrActionLocalService.deleteMDRAction(actionId);
113            }
114    
115            /**
116            * Deletes the m d r action from the database. Also notifies the appropriate model listeners.
117            *
118            * @param mdrAction the m d r action
119            * @return the m d r action that was removed
120            */
121            @Override
122            public com.liferay.portlet.mobiledevicerules.model.MDRAction deleteMDRAction(
123                    com.liferay.portlet.mobiledevicerules.model.MDRAction mdrAction) {
124                    return _mdrActionLocalService.deleteMDRAction(mdrAction);
125            }
126    
127            /**
128            * @throws PortalException
129            */
130            @Override
131            public com.liferay.portal.model.PersistedModel deletePersistedModel(
132                    com.liferay.portal.model.PersistedModel persistedModel)
133                    throws com.liferay.portal.kernel.exception.PortalException {
134                    return _mdrActionLocalService.deletePersistedModel(persistedModel);
135            }
136    
137            @Override
138            public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
139                    return _mdrActionLocalService.dynamicQuery();
140            }
141    
142            /**
143            * Performs a dynamic query on the database and returns the matching rows.
144            *
145            * @param dynamicQuery the dynamic query
146            * @return the matching rows
147            */
148            @Override
149            public <T> java.util.List<T> dynamicQuery(
150                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) {
151                    return _mdrActionLocalService.dynamicQuery(dynamicQuery);
152            }
153    
154            /**
155            * Performs a dynamic query on the database and returns a range of the matching rows.
156            *
157            * <p>
158            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.mobiledevicerules.model.impl.MDRActionModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
159            * </p>
160            *
161            * @param dynamicQuery the dynamic query
162            * @param start the lower bound of the range of model instances
163            * @param end the upper bound of the range of model instances (not inclusive)
164            * @return the range of matching rows
165            */
166            @Override
167            public <T> java.util.List<T> dynamicQuery(
168                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
169                    int end) {
170                    return _mdrActionLocalService.dynamicQuery(dynamicQuery, start, end);
171            }
172    
173            /**
174            * Performs a dynamic query on the database and returns an ordered range of the matching rows.
175            *
176            * <p>
177            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.mobiledevicerules.model.impl.MDRActionModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
178            * </p>
179            *
180            * @param dynamicQuery the dynamic query
181            * @param start the lower bound of the range of model instances
182            * @param end the upper bound of the range of model instances (not inclusive)
183            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
184            * @return the ordered range of matching rows
185            */
186            @Override
187            public <T> java.util.List<T> dynamicQuery(
188                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
189                    int end,
190                    com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator) {
191                    return _mdrActionLocalService.dynamicQuery(dynamicQuery, start, end,
192                            orderByComparator);
193            }
194    
195            /**
196            * Returns the number of rows matching the dynamic query.
197            *
198            * @param dynamicQuery the dynamic query
199            * @return the number of rows matching the dynamic query
200            */
201            @Override
202            public long dynamicQueryCount(
203                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) {
204                    return _mdrActionLocalService.dynamicQueryCount(dynamicQuery);
205            }
206    
207            /**
208            * Returns the number of rows matching the dynamic query.
209            *
210            * @param dynamicQuery the dynamic query
211            * @param projection the projection to apply to the query
212            * @return the number of rows matching the dynamic query
213            */
214            @Override
215            public long dynamicQueryCount(
216                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
217                    com.liferay.portal.kernel.dao.orm.Projection projection) {
218                    return _mdrActionLocalService.dynamicQueryCount(dynamicQuery, projection);
219            }
220    
221            @Override
222            public com.liferay.portlet.mobiledevicerules.model.MDRAction fetchAction(
223                    long actionId) {
224                    return _mdrActionLocalService.fetchAction(actionId);
225            }
226    
227            @Override
228            public com.liferay.portlet.mobiledevicerules.model.MDRAction fetchMDRAction(
229                    long actionId) {
230                    return _mdrActionLocalService.fetchMDRAction(actionId);
231            }
232    
233            /**
234            * Returns the m d r action matching the UUID and group.
235            *
236            * @param uuid the m d r action's UUID
237            * @param groupId the primary key of the group
238            * @return the matching m d r action, or <code>null</code> if a matching m d r action could not be found
239            */
240            @Override
241            public com.liferay.portlet.mobiledevicerules.model.MDRAction fetchMDRActionByUuidAndGroupId(
242                    java.lang.String uuid, long groupId) {
243                    return _mdrActionLocalService.fetchMDRActionByUuidAndGroupId(uuid,
244                            groupId);
245            }
246    
247            @Override
248            public com.liferay.portlet.mobiledevicerules.model.MDRAction getAction(
249                    long actionId)
250                    throws com.liferay.portal.kernel.exception.PortalException {
251                    return _mdrActionLocalService.getAction(actionId);
252            }
253    
254            @Override
255            public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery() {
256                    return _mdrActionLocalService.getActionableDynamicQuery();
257            }
258    
259            @Override
260            public java.util.List<com.liferay.portlet.mobiledevicerules.model.MDRAction> getActions(
261                    long ruleGroupInstanceId) {
262                    return _mdrActionLocalService.getActions(ruleGroupInstanceId);
263            }
264    
265            @Override
266            public java.util.List<com.liferay.portlet.mobiledevicerules.model.MDRAction> getActions(
267                    long ruleGroupInstanceId, int start, int end) {
268                    return _mdrActionLocalService.getActions(ruleGroupInstanceId, start, end);
269            }
270    
271            @Override
272            public int getActionsCount(long ruleGroupInstanceId) {
273                    return _mdrActionLocalService.getActionsCount(ruleGroupInstanceId);
274            }
275    
276            /**
277            * Returns the Spring bean ID for this bean.
278            *
279            * @return the Spring bean ID for this bean
280            */
281            @Override
282            public java.lang.String getBeanIdentifier() {
283                    return _mdrActionLocalService.getBeanIdentifier();
284            }
285    
286            @Override
287            public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(
288                    com.liferay.portlet.exportimport.lar.PortletDataContext portletDataContext) {
289                    return _mdrActionLocalService.getExportActionableDynamicQuery(portletDataContext);
290            }
291    
292            /**
293            * Returns the m d r action with the primary key.
294            *
295            * @param actionId the primary key of the m d r action
296            * @return the m d r action
297            * @throws PortalException if a m d r action with the primary key could not be found
298            */
299            @Override
300            public com.liferay.portlet.mobiledevicerules.model.MDRAction getMDRAction(
301                    long actionId)
302                    throws com.liferay.portal.kernel.exception.PortalException {
303                    return _mdrActionLocalService.getMDRAction(actionId);
304            }
305    
306            /**
307            * Returns the m d r action matching the UUID and group.
308            *
309            * @param uuid the m d r action's UUID
310            * @param groupId the primary key of the group
311            * @return the matching m d r action
312            * @throws PortalException if a matching m d r action could not be found
313            */
314            @Override
315            public com.liferay.portlet.mobiledevicerules.model.MDRAction getMDRActionByUuidAndGroupId(
316                    java.lang.String uuid, long groupId)
317                    throws com.liferay.portal.kernel.exception.PortalException {
318                    return _mdrActionLocalService.getMDRActionByUuidAndGroupId(uuid, groupId);
319            }
320    
321            /**
322            * Returns a range of all the m d r actions.
323            *
324            * <p>
325            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.mobiledevicerules.model.impl.MDRActionModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
326            * </p>
327            *
328            * @param start the lower bound of the range of m d r actions
329            * @param end the upper bound of the range of m d r actions (not inclusive)
330            * @return the range of m d r actions
331            */
332            @Override
333            public java.util.List<com.liferay.portlet.mobiledevicerules.model.MDRAction> getMDRActions(
334                    int start, int end) {
335                    return _mdrActionLocalService.getMDRActions(start, end);
336            }
337    
338            /**
339            * Returns all the m d r actions matching the UUID and company.
340            *
341            * @param uuid the UUID of the m d r actions
342            * @param companyId the primary key of the company
343            * @return the matching m d r actions, or an empty list if no matches were found
344            */
345            @Override
346            public java.util.List<com.liferay.portlet.mobiledevicerules.model.MDRAction> getMDRActionsByUuidAndCompanyId(
347                    java.lang.String uuid, long companyId) {
348                    return _mdrActionLocalService.getMDRActionsByUuidAndCompanyId(uuid,
349                            companyId);
350            }
351    
352            /**
353            * Returns a range of m d r actions matching the UUID and company.
354            *
355            * @param uuid the UUID of the m d r actions
356            * @param companyId the primary key of the company
357            * @param start the lower bound of the range of m d r actions
358            * @param end the upper bound of the range of m d r actions (not inclusive)
359            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
360            * @return the range of matching m d r actions, or an empty list if no matches were found
361            */
362            @Override
363            public java.util.List<com.liferay.portlet.mobiledevicerules.model.MDRAction> getMDRActionsByUuidAndCompanyId(
364                    java.lang.String uuid, long companyId, int start, int end,
365                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.mobiledevicerules.model.MDRAction> orderByComparator) {
366                    return _mdrActionLocalService.getMDRActionsByUuidAndCompanyId(uuid,
367                            companyId, start, end, orderByComparator);
368            }
369    
370            /**
371            * Returns the number of m d r actions.
372            *
373            * @return the number of m d r actions
374            */
375            @Override
376            public int getMDRActionsCount() {
377                    return _mdrActionLocalService.getMDRActionsCount();
378            }
379    
380            @Override
381            public com.liferay.portal.model.PersistedModel getPersistedModel(
382                    java.io.Serializable primaryKeyObj)
383                    throws com.liferay.portal.kernel.exception.PortalException {
384                    return _mdrActionLocalService.getPersistedModel(primaryKeyObj);
385            }
386    
387            /**
388            * Sets the Spring bean ID for this bean.
389            *
390            * @param beanIdentifier the Spring bean ID for this bean
391            */
392            @Override
393            public void setBeanIdentifier(java.lang.String beanIdentifier) {
394                    _mdrActionLocalService.setBeanIdentifier(beanIdentifier);
395            }
396    
397            @Override
398            public com.liferay.portlet.mobiledevicerules.model.MDRAction updateAction(
399                    long actionId,
400                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
401                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
402                    java.lang.String type, java.lang.String typeSettings,
403                    com.liferay.portal.service.ServiceContext serviceContext)
404                    throws com.liferay.portal.kernel.exception.PortalException {
405                    return _mdrActionLocalService.updateAction(actionId, nameMap,
406                            descriptionMap, type, typeSettings, serviceContext);
407            }
408    
409            @Override
410            public com.liferay.portlet.mobiledevicerules.model.MDRAction updateAction(
411                    long actionId,
412                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
413                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
414                    java.lang.String type,
415                    com.liferay.portal.kernel.util.UnicodeProperties typeSettingsProperties,
416                    com.liferay.portal.service.ServiceContext serviceContext)
417                    throws com.liferay.portal.kernel.exception.PortalException {
418                    return _mdrActionLocalService.updateAction(actionId, nameMap,
419                            descriptionMap, type, typeSettingsProperties, serviceContext);
420            }
421    
422            /**
423            * Updates the m d r action in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
424            *
425            * @param mdrAction the m d r action
426            * @return the m d r action that was updated
427            */
428            @Override
429            public com.liferay.portlet.mobiledevicerules.model.MDRAction updateMDRAction(
430                    com.liferay.portlet.mobiledevicerules.model.MDRAction mdrAction) {
431                    return _mdrActionLocalService.updateMDRAction(mdrAction);
432            }
433    
434            /**
435             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
436             */
437            @Deprecated
438            public MDRActionLocalService getWrappedMDRActionLocalService() {
439                    return _mdrActionLocalService;
440            }
441    
442            /**
443             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
444             */
445            @Deprecated
446            public void setWrappedMDRActionLocalService(
447                    MDRActionLocalService mdrActionLocalService) {
448                    _mdrActionLocalService = mdrActionLocalService;
449            }
450    
451            @Override
452            public MDRActionLocalService getWrappedService() {
453                    return _mdrActionLocalService;
454            }
455    
456            @Override
457            public void setWrappedService(MDRActionLocalService mdrActionLocalService) {
458                    _mdrActionLocalService = mdrActionLocalService;
459            }
460    
461            private MDRActionLocalService _mdrActionLocalService;
462    }