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