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.dynamicdatalists.service;
016    
017    import com.liferay.portal.service.ServiceWrapper;
018    
019    /**
020     * Provides a wrapper for {@link DDLRecordLocalService}.
021     *
022     * @author Brian Wing Shun Chan
023     * @see DDLRecordLocalService
024     * @generated
025     */
026    public class DDLRecordLocalServiceWrapper implements DDLRecordLocalService,
027            ServiceWrapper<DDLRecordLocalService> {
028            public DDLRecordLocalServiceWrapper(
029                    DDLRecordLocalService ddlRecordLocalService) {
030                    _ddlRecordLocalService = ddlRecordLocalService;
031            }
032    
033            /**
034            * Adds the d d l record to the database. Also notifies the appropriate model listeners.
035            *
036            * @param ddlRecord the d d l record
037            * @return the d d l record that was added
038            * @throws SystemException if a system exception occurred
039            */
040            @Override
041            public com.liferay.portlet.dynamicdatalists.model.DDLRecord addDDLRecord(
042                    com.liferay.portlet.dynamicdatalists.model.DDLRecord ddlRecord)
043                    throws com.liferay.portal.kernel.exception.SystemException {
044                    return _ddlRecordLocalService.addDDLRecord(ddlRecord);
045            }
046    
047            /**
048            * Creates a new d d l record with the primary key. Does not add the d d l record to the database.
049            *
050            * @param recordId the primary key for the new d d l record
051            * @return the new d d l record
052            */
053            @Override
054            public com.liferay.portlet.dynamicdatalists.model.DDLRecord createDDLRecord(
055                    long recordId) {
056                    return _ddlRecordLocalService.createDDLRecord(recordId);
057            }
058    
059            /**
060            * Deletes the d d l record with the primary key from the database. Also notifies the appropriate model listeners.
061            *
062            * @param recordId the primary key of the d d l record
063            * @return the d d l record that was removed
064            * @throws PortalException if a d d l record with the primary key could not be found
065            * @throws SystemException if a system exception occurred
066            */
067            @Override
068            public com.liferay.portlet.dynamicdatalists.model.DDLRecord deleteDDLRecord(
069                    long recordId)
070                    throws com.liferay.portal.kernel.exception.PortalException,
071                            com.liferay.portal.kernel.exception.SystemException {
072                    return _ddlRecordLocalService.deleteDDLRecord(recordId);
073            }
074    
075            /**
076            * Deletes the d d l record from the database. Also notifies the appropriate model listeners.
077            *
078            * @param ddlRecord the d d l record
079            * @return the d d l record that was removed
080            * @throws SystemException if a system exception occurred
081            */
082            @Override
083            public com.liferay.portlet.dynamicdatalists.model.DDLRecord deleteDDLRecord(
084                    com.liferay.portlet.dynamicdatalists.model.DDLRecord ddlRecord)
085                    throws com.liferay.portal.kernel.exception.SystemException {
086                    return _ddlRecordLocalService.deleteDDLRecord(ddlRecord);
087            }
088    
089            @Override
090            public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
091                    return _ddlRecordLocalService.dynamicQuery();
092            }
093    
094            /**
095            * Performs a dynamic query on the database and returns the matching rows.
096            *
097            * @param dynamicQuery the dynamic query
098            * @return the matching rows
099            * @throws SystemException if a system exception occurred
100            */
101            @Override
102            @SuppressWarnings("rawtypes")
103            public java.util.List dynamicQuery(
104                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
105                    throws com.liferay.portal.kernel.exception.SystemException {
106                    return _ddlRecordLocalService.dynamicQuery(dynamicQuery);
107            }
108    
109            /**
110            * Performs a dynamic query on the database and returns a range of the matching rows.
111            *
112            * <p>
113            * 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.dynamicdatalists.model.impl.DDLRecordModelImpl}. 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.
114            * </p>
115            *
116            * @param dynamicQuery the dynamic query
117            * @param start the lower bound of the range of model instances
118            * @param end the upper bound of the range of model instances (not inclusive)
119            * @return the range of matching rows
120            * @throws SystemException if a system exception occurred
121            */
122            @Override
123            @SuppressWarnings("rawtypes")
124            public java.util.List dynamicQuery(
125                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
126                    int end) throws com.liferay.portal.kernel.exception.SystemException {
127                    return _ddlRecordLocalService.dynamicQuery(dynamicQuery, start, end);
128            }
129    
130            /**
131            * Performs a dynamic query on the database and returns an ordered range of the matching rows.
132            *
133            * <p>
134            * 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.dynamicdatalists.model.impl.DDLRecordModelImpl}. 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.
135            * </p>
136            *
137            * @param dynamicQuery the dynamic query
138            * @param start the lower bound of the range of model instances
139            * @param end the upper bound of the range of model instances (not inclusive)
140            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
141            * @return the ordered range of matching rows
142            * @throws SystemException if a system exception occurred
143            */
144            @Override
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                    return _ddlRecordLocalService.dynamicQuery(dynamicQuery, start, end,
152                            orderByComparator);
153            }
154    
155            /**
156            * Returns the number of rows that match the dynamic query.
157            *
158            * @param dynamicQuery the dynamic query
159            * @return the number of rows that match the dynamic query
160            * @throws SystemException if a system exception occurred
161            */
162            @Override
163            public long dynamicQueryCount(
164                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
165                    throws com.liferay.portal.kernel.exception.SystemException {
166                    return _ddlRecordLocalService.dynamicQueryCount(dynamicQuery);
167            }
168    
169            /**
170            * Returns the number of rows that match the dynamic query.
171            *
172            * @param dynamicQuery the dynamic query
173            * @param projection the projection to apply to the query
174            * @return the number of rows that match the dynamic query
175            * @throws SystemException if a system exception occurred
176            */
177            @Override
178            public long dynamicQueryCount(
179                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
180                    com.liferay.portal.kernel.dao.orm.Projection projection)
181                    throws com.liferay.portal.kernel.exception.SystemException {
182                    return _ddlRecordLocalService.dynamicQueryCount(dynamicQuery, projection);
183            }
184    
185            @Override
186            public com.liferay.portlet.dynamicdatalists.model.DDLRecord fetchDDLRecord(
187                    long recordId)
188                    throws com.liferay.portal.kernel.exception.SystemException {
189                    return _ddlRecordLocalService.fetchDDLRecord(recordId);
190            }
191    
192            /**
193            * Returns the d d l record with the matching UUID and company.
194            *
195            * @param uuid the d d l record's UUID
196            * @param companyId the primary key of the company
197            * @return the matching d d l record, or <code>null</code> if a matching d d l record could not be found
198            * @throws SystemException if a system exception occurred
199            */
200            @Override
201            public com.liferay.portlet.dynamicdatalists.model.DDLRecord fetchDDLRecordByUuidAndCompanyId(
202                    java.lang.String uuid, long companyId)
203                    throws com.liferay.portal.kernel.exception.SystemException {
204                    return _ddlRecordLocalService.fetchDDLRecordByUuidAndCompanyId(uuid,
205                            companyId);
206            }
207    
208            /**
209            * Returns the d d l record matching the UUID and group.
210            *
211            * @param uuid the d d l record's UUID
212            * @param groupId the primary key of the group
213            * @return the matching d d l record, or <code>null</code> if a matching d d l record could not be found
214            * @throws SystemException if a system exception occurred
215            */
216            @Override
217            public com.liferay.portlet.dynamicdatalists.model.DDLRecord fetchDDLRecordByUuidAndGroupId(
218                    java.lang.String uuid, long groupId)
219                    throws com.liferay.portal.kernel.exception.SystemException {
220                    return _ddlRecordLocalService.fetchDDLRecordByUuidAndGroupId(uuid,
221                            groupId);
222            }
223    
224            /**
225            * Returns the d d l record with the primary key.
226            *
227            * @param recordId the primary key of the d d l record
228            * @return the d d l record
229            * @throws PortalException if a d d l record with the primary key could not be found
230            * @throws SystemException if a system exception occurred
231            */
232            @Override
233            public com.liferay.portlet.dynamicdatalists.model.DDLRecord getDDLRecord(
234                    long recordId)
235                    throws com.liferay.portal.kernel.exception.PortalException,
236                            com.liferay.portal.kernel.exception.SystemException {
237                    return _ddlRecordLocalService.getDDLRecord(recordId);
238            }
239    
240            @Override
241            public com.liferay.portal.model.PersistedModel getPersistedModel(
242                    java.io.Serializable primaryKeyObj)
243                    throws com.liferay.portal.kernel.exception.PortalException,
244                            com.liferay.portal.kernel.exception.SystemException {
245                    return _ddlRecordLocalService.getPersistedModel(primaryKeyObj);
246            }
247    
248            /**
249            * Returns the d d l record with the matching UUID and company.
250            *
251            * @param uuid the d d l record's UUID
252            * @param companyId the primary key of the company
253            * @return the matching d d l record
254            * @throws PortalException if a matching d d l record could not be found
255            * @throws SystemException if a system exception occurred
256            */
257            @Override
258            public com.liferay.portlet.dynamicdatalists.model.DDLRecord getDDLRecordByUuidAndCompanyId(
259                    java.lang.String uuid, long companyId)
260                    throws com.liferay.portal.kernel.exception.PortalException,
261                            com.liferay.portal.kernel.exception.SystemException {
262                    return _ddlRecordLocalService.getDDLRecordByUuidAndCompanyId(uuid,
263                            companyId);
264            }
265    
266            /**
267            * Returns the d d l record matching the UUID and group.
268            *
269            * @param uuid the d d l record's UUID
270            * @param groupId the primary key of the group
271            * @return the matching d d l record
272            * @throws PortalException if a matching d d l record could not be found
273            * @throws SystemException if a system exception occurred
274            */
275            @Override
276            public com.liferay.portlet.dynamicdatalists.model.DDLRecord getDDLRecordByUuidAndGroupId(
277                    java.lang.String uuid, long groupId)
278                    throws com.liferay.portal.kernel.exception.PortalException,
279                            com.liferay.portal.kernel.exception.SystemException {
280                    return _ddlRecordLocalService.getDDLRecordByUuidAndGroupId(uuid, groupId);
281            }
282    
283            /**
284            * Returns a range of all the d d l records.
285            *
286            * <p>
287            * 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.dynamicdatalists.model.impl.DDLRecordModelImpl}. 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.
288            * </p>
289            *
290            * @param start the lower bound of the range of d d l records
291            * @param end the upper bound of the range of d d l records (not inclusive)
292            * @return the range of d d l records
293            * @throws SystemException if a system exception occurred
294            */
295            @Override
296            public java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecord> getDDLRecords(
297                    int start, int end)
298                    throws com.liferay.portal.kernel.exception.SystemException {
299                    return _ddlRecordLocalService.getDDLRecords(start, end);
300            }
301    
302            /**
303            * Returns the number of d d l records.
304            *
305            * @return the number of d d l records
306            * @throws SystemException if a system exception occurred
307            */
308            @Override
309            public int getDDLRecordsCount()
310                    throws com.liferay.portal.kernel.exception.SystemException {
311                    return _ddlRecordLocalService.getDDLRecordsCount();
312            }
313    
314            /**
315            * Updates the d d l record in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
316            *
317            * @param ddlRecord the d d l record
318            * @return the d d l record that was updated
319            * @throws SystemException if a system exception occurred
320            */
321            @Override
322            public com.liferay.portlet.dynamicdatalists.model.DDLRecord updateDDLRecord(
323                    com.liferay.portlet.dynamicdatalists.model.DDLRecord ddlRecord)
324                    throws com.liferay.portal.kernel.exception.SystemException {
325                    return _ddlRecordLocalService.updateDDLRecord(ddlRecord);
326            }
327    
328            /**
329            * Returns the Spring bean ID for this bean.
330            *
331            * @return the Spring bean ID for this bean
332            */
333            @Override
334            public java.lang.String getBeanIdentifier() {
335                    return _ddlRecordLocalService.getBeanIdentifier();
336            }
337    
338            /**
339            * Sets the Spring bean ID for this bean.
340            *
341            * @param beanIdentifier the Spring bean ID for this bean
342            */
343            @Override
344            public void setBeanIdentifier(java.lang.String beanIdentifier) {
345                    _ddlRecordLocalService.setBeanIdentifier(beanIdentifier);
346            }
347    
348            @Override
349            public com.liferay.portlet.dynamicdatalists.model.DDLRecord addRecord(
350                    long userId, long groupId, long recordSetId, int displayIndex,
351                    com.liferay.portlet.dynamicdatamapping.storage.Fields fields,
352                    com.liferay.portal.service.ServiceContext serviceContext)
353                    throws com.liferay.portal.kernel.exception.PortalException,
354                            com.liferay.portal.kernel.exception.SystemException {
355                    return _ddlRecordLocalService.addRecord(userId, groupId, recordSetId,
356                            displayIndex, fields, serviceContext);
357            }
358    
359            @Override
360            public com.liferay.portlet.dynamicdatalists.model.DDLRecord addRecord(
361                    long userId, long groupId, long recordSetId, int displayIndex,
362                    java.util.Map<java.lang.String, java.io.Serializable> fieldsMap,
363                    com.liferay.portal.service.ServiceContext serviceContext)
364                    throws com.liferay.portal.kernel.exception.PortalException,
365                            com.liferay.portal.kernel.exception.SystemException {
366                    return _ddlRecordLocalService.addRecord(userId, groupId, recordSetId,
367                            displayIndex, fieldsMap, serviceContext);
368            }
369    
370            @Override
371            public void deleteRecord(
372                    com.liferay.portlet.dynamicdatalists.model.DDLRecord record)
373                    throws com.liferay.portal.kernel.exception.PortalException,
374                            com.liferay.portal.kernel.exception.SystemException {
375                    _ddlRecordLocalService.deleteRecord(record);
376            }
377    
378            @Override
379            public void deleteRecord(long recordId)
380                    throws com.liferay.portal.kernel.exception.PortalException,
381                            com.liferay.portal.kernel.exception.SystemException {
382                    _ddlRecordLocalService.deleteRecord(recordId);
383            }
384    
385            @Override
386            public com.liferay.portlet.dynamicdatalists.model.DDLRecord deleteRecordLocale(
387                    long recordId, java.util.Locale locale,
388                    com.liferay.portal.service.ServiceContext serviceContext)
389                    throws com.liferay.portal.kernel.exception.PortalException,
390                            com.liferay.portal.kernel.exception.SystemException {
391                    return _ddlRecordLocalService.deleteRecordLocale(recordId, locale,
392                            serviceContext);
393            }
394    
395            @Override
396            public void deleteRecords(long recordSetId)
397                    throws com.liferay.portal.kernel.exception.PortalException,
398                            com.liferay.portal.kernel.exception.SystemException {
399                    _ddlRecordLocalService.deleteRecords(recordSetId);
400            }
401    
402            @Override
403            public com.liferay.portlet.dynamicdatalists.model.DDLRecord fetchRecord(
404                    long recordId)
405                    throws com.liferay.portal.kernel.exception.SystemException {
406                    return _ddlRecordLocalService.fetchRecord(recordId);
407            }
408    
409            @Override
410            public java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecord> getCompanyRecords(
411                    long companyId, int status, int scope, int start, int end,
412                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
413                    throws com.liferay.portal.kernel.exception.SystemException {
414                    return _ddlRecordLocalService.getCompanyRecords(companyId, status,
415                            scope, start, end, orderByComparator);
416            }
417    
418            /**
419            * @deprecated As of 6.2.0, replaced by {@link #getCompanyRecords(long, int,
420            int, int, int, OrderByComparator)}
421            */
422            @Override
423            public java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecord> getCompanyRecords(
424                    long companyId, int scope, int start, int end,
425                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
426                    throws com.liferay.portal.kernel.exception.SystemException {
427                    return _ddlRecordLocalService.getCompanyRecords(companyId, scope,
428                            start, end, orderByComparator);
429            }
430    
431            /**
432            * @deprecated As of 6.2.0, replaced by {@link #getCompanyRecordsCount(long,
433            int, int)}
434            */
435            @Override
436            public int getCompanyRecordsCount(long companyId, int scope)
437                    throws com.liferay.portal.kernel.exception.SystemException {
438                    return _ddlRecordLocalService.getCompanyRecordsCount(companyId, scope);
439            }
440    
441            @Override
442            public int getCompanyRecordsCount(long companyId, int status, int scope)
443                    throws com.liferay.portal.kernel.exception.SystemException {
444                    return _ddlRecordLocalService.getCompanyRecordsCount(companyId, status,
445                            scope);
446            }
447    
448            @Override
449            public com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion getLatestRecordVersion(
450                    long recordId)
451                    throws com.liferay.portal.kernel.exception.PortalException,
452                            com.liferay.portal.kernel.exception.SystemException {
453                    return _ddlRecordLocalService.getLatestRecordVersion(recordId);
454            }
455    
456            @Override
457            public java.lang.Long[] getMinAndMaxCompanyRecordIds(long companyId,
458                    int status, int scope)
459                    throws com.liferay.portal.kernel.exception.SystemException {
460                    return _ddlRecordLocalService.getMinAndMaxCompanyRecordIds(companyId,
461                            status, scope);
462            }
463    
464            @Override
465            public java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecord> getMinAndMaxCompanyRecords(
466                    long companyId, int status, int scope, long minRecordId,
467                    long maxRecordId)
468                    throws com.liferay.portal.kernel.exception.SystemException {
469                    return _ddlRecordLocalService.getMinAndMaxCompanyRecords(companyId,
470                            status, scope, minRecordId, maxRecordId);
471            }
472    
473            @Override
474            public com.liferay.portlet.dynamicdatalists.model.DDLRecord getRecord(
475                    long recordId)
476                    throws com.liferay.portal.kernel.exception.PortalException,
477                            com.liferay.portal.kernel.exception.SystemException {
478                    return _ddlRecordLocalService.getRecord(recordId);
479            }
480    
481            @Override
482            public java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecord> getRecords(
483                    long recordSetId)
484                    throws com.liferay.portal.kernel.exception.SystemException {
485                    return _ddlRecordLocalService.getRecords(recordSetId);
486            }
487    
488            @Override
489            public java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecord> getRecords(
490                    long recordSetId, int status, int start, int end,
491                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
492                    throws com.liferay.portal.kernel.exception.SystemException {
493                    return _ddlRecordLocalService.getRecords(recordSetId, status, start,
494                            end, orderByComparator);
495            }
496    
497            @Override
498            public java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecord> getRecords(
499                    long recordSetId, long userId)
500                    throws com.liferay.portal.kernel.exception.SystemException {
501                    return _ddlRecordLocalService.getRecords(recordSetId, userId);
502            }
503    
504            @Override
505            public int getRecordsCount(long recordSetId, int status)
506                    throws com.liferay.portal.kernel.exception.SystemException {
507                    return _ddlRecordLocalService.getRecordsCount(recordSetId, status);
508            }
509    
510            @Override
511            public com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion getRecordVersion(
512                    long recordVersionId)
513                    throws com.liferay.portal.kernel.exception.PortalException,
514                            com.liferay.portal.kernel.exception.SystemException {
515                    return _ddlRecordLocalService.getRecordVersion(recordVersionId);
516            }
517    
518            @Override
519            public com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion getRecordVersion(
520                    long recordId, java.lang.String version)
521                    throws com.liferay.portal.kernel.exception.PortalException,
522                            com.liferay.portal.kernel.exception.SystemException {
523                    return _ddlRecordLocalService.getRecordVersion(recordId, version);
524            }
525    
526            @Override
527            public java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion> getRecordVersions(
528                    long recordId, int start, int end,
529                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
530                    throws com.liferay.portal.kernel.exception.SystemException {
531                    return _ddlRecordLocalService.getRecordVersions(recordId, start, end,
532                            orderByComparator);
533            }
534    
535            @Override
536            public int getRecordVersionsCount(long recordId)
537                    throws com.liferay.portal.kernel.exception.SystemException {
538                    return _ddlRecordLocalService.getRecordVersionsCount(recordId);
539            }
540    
541            @Override
542            public void revertRecordVersion(long userId, long recordId,
543                    java.lang.String version,
544                    com.liferay.portal.service.ServiceContext serviceContext)
545                    throws com.liferay.portal.kernel.exception.PortalException,
546                            com.liferay.portal.kernel.exception.SystemException {
547                    _ddlRecordLocalService.revertRecordVersion(userId, recordId, version,
548                            serviceContext);
549            }
550    
551            @Override
552            public com.liferay.portal.kernel.search.Hits search(
553                    com.liferay.portal.kernel.search.SearchContext searchContext)
554                    throws com.liferay.portal.kernel.exception.SystemException {
555                    return _ddlRecordLocalService.search(searchContext);
556            }
557    
558            @Override
559            public void updateAsset(long userId,
560                    com.liferay.portlet.dynamicdatalists.model.DDLRecord record,
561                    com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion recordVersion,
562                    long[] assetCategoryIds, java.lang.String[] assetTagNames,
563                    java.util.Locale locale)
564                    throws com.liferay.portal.kernel.exception.PortalException,
565                            com.liferay.portal.kernel.exception.SystemException {
566                    _ddlRecordLocalService.updateAsset(userId, record, recordVersion,
567                            assetCategoryIds, assetTagNames, locale);
568            }
569    
570            @Override
571            public com.liferay.portlet.dynamicdatalists.model.DDLRecord updateRecord(
572                    long userId, long recordId, boolean majorVersion, int displayIndex,
573                    com.liferay.portlet.dynamicdatamapping.storage.Fields fields,
574                    boolean mergeFields,
575                    com.liferay.portal.service.ServiceContext serviceContext)
576                    throws com.liferay.portal.kernel.exception.PortalException,
577                            com.liferay.portal.kernel.exception.SystemException {
578                    return _ddlRecordLocalService.updateRecord(userId, recordId,
579                            majorVersion, displayIndex, fields, mergeFields, serviceContext);
580            }
581    
582            @Override
583            public com.liferay.portlet.dynamicdatalists.model.DDLRecord updateRecord(
584                    long userId, long recordId, int displayIndex,
585                    java.util.Map<java.lang.String, java.io.Serializable> fieldsMap,
586                    boolean mergeFields,
587                    com.liferay.portal.service.ServiceContext serviceContext)
588                    throws com.liferay.portal.kernel.exception.PortalException,
589                            com.liferay.portal.kernel.exception.SystemException {
590                    return _ddlRecordLocalService.updateRecord(userId, recordId,
591                            displayIndex, fieldsMap, mergeFields, serviceContext);
592            }
593    
594            @Override
595            public com.liferay.portlet.dynamicdatalists.model.DDLRecord updateStatus(
596                    long userId, long recordVersionId, int status,
597                    com.liferay.portal.service.ServiceContext serviceContext)
598                    throws com.liferay.portal.kernel.exception.PortalException,
599                            com.liferay.portal.kernel.exception.SystemException {
600                    return _ddlRecordLocalService.updateStatus(userId, recordVersionId,
601                            status, serviceContext);
602            }
603    
604            /**
605             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
606             */
607            public DDLRecordLocalService getWrappedDDLRecordLocalService() {
608                    return _ddlRecordLocalService;
609            }
610    
611            /**
612             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
613             */
614            public void setWrappedDDLRecordLocalService(
615                    DDLRecordLocalService ddlRecordLocalService) {
616                    _ddlRecordLocalService = ddlRecordLocalService;
617            }
618    
619            @Override
620            public DDLRecordLocalService getWrappedService() {
621                    return _ddlRecordLocalService;
622            }
623    
624            @Override
625            public void setWrappedService(DDLRecordLocalService ddlRecordLocalService) {
626                    _ddlRecordLocalService = ddlRecordLocalService;
627            }
628    
629            private DDLRecordLocalService _ddlRecordLocalService;
630    }