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