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