001    /**
002     * Copyright (c) 2000-2013 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 com.liferay.portal.service.ServiceWrapper;
018    
019    /**
020     * <p>
021     * This class is a wrapper for {@link MDRActionLocalService}.
022     * </p>
023     *
024     * @author    Edward C. Han
025     * @see       MDRActionLocalService
026     * @generated
027     */
028    public class MDRActionLocalServiceWrapper implements MDRActionLocalService,
029            ServiceWrapper<MDRActionLocalService> {
030            public MDRActionLocalServiceWrapper(
031                    MDRActionLocalService mdrActionLocalService) {
032                    _mdrActionLocalService = mdrActionLocalService;
033            }
034    
035            /**
036            * Adds the m d r action to the database. Also notifies the appropriate model listeners.
037            *
038            * @param mdrAction the m d r action
039            * @return the m d r action that was added
040            * @throws SystemException if a system exception occurred
041            */
042            public com.liferay.portlet.mobiledevicerules.model.MDRAction addMDRAction(
043                    com.liferay.portlet.mobiledevicerules.model.MDRAction mdrAction)
044                    throws com.liferay.portal.kernel.exception.SystemException {
045                    return _mdrActionLocalService.addMDRAction(mdrAction);
046            }
047    
048            /**
049            * Creates a new m d r action with the primary key. Does not add the m d r action to the database.
050            *
051            * @param actionId the primary key for the new m d r action
052            * @return the new m d r action
053            */
054            public com.liferay.portlet.mobiledevicerules.model.MDRAction createMDRAction(
055                    long actionId) {
056                    return _mdrActionLocalService.createMDRAction(actionId);
057            }
058    
059            /**
060            * Deletes the m d r action with the primary key from the database. Also notifies the appropriate model listeners.
061            *
062            * @param actionId the primary key of the m d r action
063            * @return the m d r action that was removed
064            * @throws PortalException if a m d r action with the primary key could not be found
065            * @throws SystemException if a system exception occurred
066            */
067            public com.liferay.portlet.mobiledevicerules.model.MDRAction deleteMDRAction(
068                    long actionId)
069                    throws com.liferay.portal.kernel.exception.PortalException,
070                            com.liferay.portal.kernel.exception.SystemException {
071                    return _mdrActionLocalService.deleteMDRAction(actionId);
072            }
073    
074            /**
075            * Deletes the m d r action from the database. Also notifies the appropriate model listeners.
076            *
077            * @param mdrAction the m d r action
078            * @return the m d r action that was removed
079            * @throws SystemException if a system exception occurred
080            */
081            public com.liferay.portlet.mobiledevicerules.model.MDRAction deleteMDRAction(
082                    com.liferay.portlet.mobiledevicerules.model.MDRAction mdrAction)
083                    throws com.liferay.portal.kernel.exception.SystemException {
084                    return _mdrActionLocalService.deleteMDRAction(mdrAction);
085            }
086    
087            public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
088                    return _mdrActionLocalService.dynamicQuery();
089            }
090    
091            /**
092            * Performs a dynamic query on the database and returns the matching rows.
093            *
094            * @param dynamicQuery the dynamic query
095            * @return the matching rows
096            * @throws SystemException if a system exception occurred
097            */
098            @SuppressWarnings("rawtypes")
099            public java.util.List dynamicQuery(
100                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
101                    throws com.liferay.portal.kernel.exception.SystemException {
102                    return _mdrActionLocalService.dynamicQuery(dynamicQuery);
103            }
104    
105            /**
106            * Performs a dynamic query on the database and returns a range of the matching rows.
107            *
108            * <p>
109            * 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.
110            * </p>
111            *
112            * @param dynamicQuery the dynamic query
113            * @param start the lower bound of the range of model instances
114            * @param end the upper bound of the range of model instances (not inclusive)
115            * @return the range of matching rows
116            * @throws SystemException if a system exception occurred
117            */
118            @SuppressWarnings("rawtypes")
119            public java.util.List dynamicQuery(
120                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
121                    int end) throws com.liferay.portal.kernel.exception.SystemException {
122                    return _mdrActionLocalService.dynamicQuery(dynamicQuery, start, end);
123            }
124    
125            /**
126            * Performs a dynamic query on the database and returns an ordered range of the matching rows.
127            *
128            * <p>
129            * 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.
130            * </p>
131            *
132            * @param dynamicQuery the dynamic query
133            * @param start the lower bound of the range of model instances
134            * @param end the upper bound of the range of model instances (not inclusive)
135            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
136            * @return the ordered range of matching rows
137            * @throws SystemException if a system exception occurred
138            */
139            @SuppressWarnings("rawtypes")
140            public java.util.List dynamicQuery(
141                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
142                    int end,
143                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
144                    throws com.liferay.portal.kernel.exception.SystemException {
145                    return _mdrActionLocalService.dynamicQuery(dynamicQuery, start, end,
146                            orderByComparator);
147            }
148    
149            /**
150            * Returns the number of rows that match the dynamic query.
151            *
152            * @param dynamicQuery the dynamic query
153            * @return the number of rows that match the dynamic query
154            * @throws SystemException if a system exception occurred
155            */
156            public long dynamicQueryCount(
157                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
158                    throws com.liferay.portal.kernel.exception.SystemException {
159                    return _mdrActionLocalService.dynamicQueryCount(dynamicQuery);
160            }
161    
162            public com.liferay.portlet.mobiledevicerules.model.MDRAction fetchMDRAction(
163                    long actionId)
164                    throws com.liferay.portal.kernel.exception.SystemException {
165                    return _mdrActionLocalService.fetchMDRAction(actionId);
166            }
167    
168            /**
169            * Returns the m d r action with the primary key.
170            *
171            * @param actionId the primary key of the m d r action
172            * @return the m d r action
173            * @throws PortalException if a m d r action with the primary key could not be found
174            * @throws SystemException if a system exception occurred
175            */
176            public com.liferay.portlet.mobiledevicerules.model.MDRAction getMDRAction(
177                    long actionId)
178                    throws com.liferay.portal.kernel.exception.PortalException,
179                            com.liferay.portal.kernel.exception.SystemException {
180                    return _mdrActionLocalService.getMDRAction(actionId);
181            }
182    
183            public com.liferay.portal.model.PersistedModel getPersistedModel(
184                    java.io.Serializable primaryKeyObj)
185                    throws com.liferay.portal.kernel.exception.PortalException,
186                            com.liferay.portal.kernel.exception.SystemException {
187                    return _mdrActionLocalService.getPersistedModel(primaryKeyObj);
188            }
189    
190            /**
191            * Returns the m d r action matching the UUID and group.
192            *
193            * @param uuid the m d r action's UUID
194            * @param groupId the primary key of the group
195            * @return the matching m d r action
196            * @throws PortalException if a matching m d r action could not be found
197            * @throws SystemException if a system exception occurred
198            */
199            public com.liferay.portlet.mobiledevicerules.model.MDRAction getMDRActionByUuidAndGroupId(
200                    java.lang.String uuid, long groupId)
201                    throws com.liferay.portal.kernel.exception.PortalException,
202                            com.liferay.portal.kernel.exception.SystemException {
203                    return _mdrActionLocalService.getMDRActionByUuidAndGroupId(uuid, groupId);
204            }
205    
206            /**
207            * Returns a range of all the m d r actions.
208            *
209            * <p>
210            * 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.
211            * </p>
212            *
213            * @param start the lower bound of the range of m d r actions
214            * @param end the upper bound of the range of m d r actions (not inclusive)
215            * @return the range of m d r actions
216            * @throws SystemException if a system exception occurred
217            */
218            public java.util.List<com.liferay.portlet.mobiledevicerules.model.MDRAction> getMDRActions(
219                    int start, int end)
220                    throws com.liferay.portal.kernel.exception.SystemException {
221                    return _mdrActionLocalService.getMDRActions(start, end);
222            }
223    
224            /**
225            * Returns the number of m d r actions.
226            *
227            * @return the number of m d r actions
228            * @throws SystemException if a system exception occurred
229            */
230            public int getMDRActionsCount()
231                    throws com.liferay.portal.kernel.exception.SystemException {
232                    return _mdrActionLocalService.getMDRActionsCount();
233            }
234    
235            /**
236            * Updates the m d r action in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
237            *
238            * @param mdrAction the m d r action
239            * @return the m d r action that was updated
240            * @throws SystemException if a system exception occurred
241            */
242            public com.liferay.portlet.mobiledevicerules.model.MDRAction updateMDRAction(
243                    com.liferay.portlet.mobiledevicerules.model.MDRAction mdrAction)
244                    throws com.liferay.portal.kernel.exception.SystemException {
245                    return _mdrActionLocalService.updateMDRAction(mdrAction);
246            }
247    
248            /**
249            * Returns the Spring bean ID for this bean.
250            *
251            * @return the Spring bean ID for this bean
252            */
253            public java.lang.String getBeanIdentifier() {
254                    return _mdrActionLocalService.getBeanIdentifier();
255            }
256    
257            /**
258            * Sets the Spring bean ID for this bean.
259            *
260            * @param beanIdentifier the Spring bean ID for this bean
261            */
262            public void setBeanIdentifier(java.lang.String beanIdentifier) {
263                    _mdrActionLocalService.setBeanIdentifier(beanIdentifier);
264            }
265    
266            public com.liferay.portlet.mobiledevicerules.model.MDRAction addAction(
267                    long ruleGroupInstanceId,
268                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
269                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
270                    java.lang.String type, java.lang.String typeSettings,
271                    com.liferay.portal.service.ServiceContext serviceContext)
272                    throws com.liferay.portal.kernel.exception.PortalException,
273                            com.liferay.portal.kernel.exception.SystemException {
274                    return _mdrActionLocalService.addAction(ruleGroupInstanceId, nameMap,
275                            descriptionMap, type, typeSettings, serviceContext);
276            }
277    
278            public com.liferay.portlet.mobiledevicerules.model.MDRAction addAction(
279                    long ruleGroupInstanceId,
280                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
281                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
282                    java.lang.String type,
283                    com.liferay.portal.kernel.util.UnicodeProperties typeSettingsProperties,
284                    com.liferay.portal.service.ServiceContext serviceContext)
285                    throws com.liferay.portal.kernel.exception.PortalException,
286                            com.liferay.portal.kernel.exception.SystemException {
287                    return _mdrActionLocalService.addAction(ruleGroupInstanceId, nameMap,
288                            descriptionMap, type, typeSettingsProperties, serviceContext);
289            }
290    
291            public void deleteAction(long actionId)
292                    throws com.liferay.portal.kernel.exception.SystemException {
293                    _mdrActionLocalService.deleteAction(actionId);
294            }
295    
296            public void deleteAction(
297                    com.liferay.portlet.mobiledevicerules.model.MDRAction action)
298                    throws com.liferay.portal.kernel.exception.SystemException {
299                    _mdrActionLocalService.deleteAction(action);
300            }
301    
302            public void deleteActions(long ruleGroupInstanceId)
303                    throws com.liferay.portal.kernel.exception.SystemException {
304                    _mdrActionLocalService.deleteActions(ruleGroupInstanceId);
305            }
306    
307            public com.liferay.portlet.mobiledevicerules.model.MDRAction fetchAction(
308                    long actionId)
309                    throws com.liferay.portal.kernel.exception.SystemException {
310                    return _mdrActionLocalService.fetchAction(actionId);
311            }
312    
313            public com.liferay.portlet.mobiledevicerules.model.MDRAction getAction(
314                    long actionId)
315                    throws com.liferay.portal.kernel.exception.PortalException,
316                            com.liferay.portal.kernel.exception.SystemException {
317                    return _mdrActionLocalService.getAction(actionId);
318            }
319    
320            public java.util.List<com.liferay.portlet.mobiledevicerules.model.MDRAction> getActions(
321                    long ruleGroupInstanceId)
322                    throws com.liferay.portal.kernel.exception.SystemException {
323                    return _mdrActionLocalService.getActions(ruleGroupInstanceId);
324            }
325    
326            public java.util.List<com.liferay.portlet.mobiledevicerules.model.MDRAction> getActions(
327                    long ruleGroupInstanceId, int start, int end)
328                    throws com.liferay.portal.kernel.exception.SystemException {
329                    return _mdrActionLocalService.getActions(ruleGroupInstanceId, start, end);
330            }
331    
332            public int getActionsCount(long ruleGroupInstanceId)
333                    throws com.liferay.portal.kernel.exception.SystemException {
334                    return _mdrActionLocalService.getActionsCount(ruleGroupInstanceId);
335            }
336    
337            public com.liferay.portlet.mobiledevicerules.model.MDRAction updateAction(
338                    long actionId,
339                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
340                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
341                    java.lang.String type, java.lang.String typeSettings,
342                    com.liferay.portal.service.ServiceContext serviceContext)
343                    throws com.liferay.portal.kernel.exception.PortalException,
344                            com.liferay.portal.kernel.exception.SystemException {
345                    return _mdrActionLocalService.updateAction(actionId, nameMap,
346                            descriptionMap, type, typeSettings, serviceContext);
347            }
348    
349            public com.liferay.portlet.mobiledevicerules.model.MDRAction updateAction(
350                    long actionId,
351                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
352                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
353                    java.lang.String type,
354                    com.liferay.portal.kernel.util.UnicodeProperties typeSettingsProperties,
355                    com.liferay.portal.service.ServiceContext serviceContext)
356                    throws com.liferay.portal.kernel.exception.PortalException,
357                            com.liferay.portal.kernel.exception.SystemException {
358                    return _mdrActionLocalService.updateAction(actionId, nameMap,
359                            descriptionMap, type, typeSettingsProperties, serviceContext);
360            }
361    
362            /**
363             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
364             */
365            public MDRActionLocalService getWrappedMDRActionLocalService() {
366                    return _mdrActionLocalService;
367            }
368    
369            /**
370             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
371             */
372            public void setWrappedMDRActionLocalService(
373                    MDRActionLocalService mdrActionLocalService) {
374                    _mdrActionLocalService = mdrActionLocalService;
375            }
376    
377            public MDRActionLocalService getWrappedService() {
378                    return _mdrActionLocalService;
379            }
380    
381            public void setWrappedService(MDRActionLocalService mdrActionLocalService) {
382                    _mdrActionLocalService = mdrActionLocalService;
383            }
384    
385            private MDRActionLocalService _mdrActionLocalService;
386    }