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.kernel.exception.PortalException;
020    import com.liferay.portal.kernel.exception.SystemException;
021    import com.liferay.portal.kernel.search.IndexableType;
022    import com.liferay.portal.kernel.transaction.Isolation;
023    import com.liferay.portal.kernel.transaction.Propagation;
024    import com.liferay.portal.kernel.transaction.Transactional;
025    import com.liferay.portal.model.SystemEventConstants;
026    import com.liferay.portal.service.BaseLocalService;
027    import com.liferay.portal.service.PersistedModelLocalService;
028    
029    /**
030     * Provides the local service interface for DDLRecord. Methods of this
031     * service will not have security checks based on the propagated JAAS
032     * credentials because this service can only be accessed from within the same
033     * VM.
034     *
035     * @author Brian Wing Shun Chan
036     * @see DDLRecordLocalServiceUtil
037     * @see com.liferay.portlet.dynamicdatalists.service.base.DDLRecordLocalServiceBaseImpl
038     * @see com.liferay.portlet.dynamicdatalists.service.impl.DDLRecordLocalServiceImpl
039     * @generated
040     */
041    @ProviderType
042    @Transactional(isolation = Isolation.PORTAL, rollbackFor =  {
043            PortalException.class, SystemException.class})
044    public interface DDLRecordLocalService extends BaseLocalService,
045            PersistedModelLocalService {
046            /*
047             * NOTE FOR DEVELOPERS:
048             *
049             * Never modify or reference this interface directly. Always use {@link DDLRecordLocalServiceUtil} to access the d d l record local service. Add custom service methods to {@link com.liferay.portlet.dynamicdatalists.service.impl.DDLRecordLocalServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface.
050             */
051    
052            /**
053            * Adds the d d l record to the database. Also notifies the appropriate model listeners.
054            *
055            * @param ddlRecord the d d l record
056            * @return the d d l record that was added
057            */
058            @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX)
059            public com.liferay.portlet.dynamicdatalists.model.DDLRecord addDDLRecord(
060                    com.liferay.portlet.dynamicdatalists.model.DDLRecord ddlRecord);
061    
062            @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX)
063            public com.liferay.portlet.dynamicdatalists.model.DDLRecord addRecord(
064                    long userId, long groupId, long recordSetId, int displayIndex,
065                    com.liferay.portlet.dynamicdatamapping.storage.Fields fields,
066                    com.liferay.portal.service.ServiceContext serviceContext)
067                    throws com.liferay.portal.kernel.exception.PortalException;
068    
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    
075            /**
076            * Creates a new d d l record with the primary key. Does not add the d d l record to the database.
077            *
078            * @param recordId the primary key for the new d d l record
079            * @return the new d d l record
080            */
081            public com.liferay.portlet.dynamicdatalists.model.DDLRecord createDDLRecord(
082                    long recordId);
083    
084            /**
085            * Deletes the d d l record from the database. Also notifies the appropriate model listeners.
086            *
087            * @param ddlRecord the d d l record
088            * @return the d d l record that was removed
089            */
090            @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE)
091            public com.liferay.portlet.dynamicdatalists.model.DDLRecord deleteDDLRecord(
092                    com.liferay.portlet.dynamicdatalists.model.DDLRecord ddlRecord);
093    
094            /**
095            * Deletes the d d l record with the primary key from the database. Also notifies the appropriate model listeners.
096            *
097            * @param recordId the primary key of the d d l record
098            * @return the d d l record that was removed
099            * @throws PortalException if a d d l record with the primary key could not be found
100            */
101            @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE)
102            public com.liferay.portlet.dynamicdatalists.model.DDLRecord deleteDDLRecord(
103                    long recordId)
104                    throws com.liferay.portal.kernel.exception.PortalException;
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    
114            @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE)
115            @com.liferay.portal.kernel.systemevent.SystemEvent(action = SystemEventConstants.ACTION_SKIP, type = SystemEventConstants.TYPE_DELETE)
116            public com.liferay.portlet.dynamicdatalists.model.DDLRecord deleteRecord(
117                    com.liferay.portlet.dynamicdatalists.model.DDLRecord record)
118                    throws com.liferay.portal.kernel.exception.PortalException;
119    
120            public void deleteRecord(long recordId)
121                    throws com.liferay.portal.kernel.exception.PortalException;
122    
123            public com.liferay.portlet.dynamicdatalists.model.DDLRecord deleteRecordLocale(
124                    long recordId, java.util.Locale locale,
125                    com.liferay.portal.service.ServiceContext serviceContext)
126                    throws com.liferay.portal.kernel.exception.PortalException;
127    
128            public void deleteRecords(long recordSetId)
129                    throws com.liferay.portal.kernel.exception.PortalException;
130    
131            public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery();
132    
133            /**
134            * Performs a dynamic query on the database and returns the matching rows.
135            *
136            * @param dynamicQuery the dynamic query
137            * @return the matching rows
138            */
139            public <T> java.util.List<T> dynamicQuery(
140                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery);
141    
142            /**
143            * Performs a dynamic query on the database and returns a range of the matching rows.
144            *
145            * <p>
146            * 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.
147            * </p>
148            *
149            * @param dynamicQuery the dynamic query
150            * @param start the lower bound of the range of model instances
151            * @param end the upper bound of the range of model instances (not inclusive)
152            * @return the range of matching rows
153            */
154            public <T> java.util.List<T> dynamicQuery(
155                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
156                    int end);
157    
158            /**
159            * Performs a dynamic query on the database and returns an ordered range of the matching rows.
160            *
161            * <p>
162            * 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.
163            * </p>
164            *
165            * @param dynamicQuery the dynamic query
166            * @param start the lower bound of the range of model instances
167            * @param end the upper bound of the range of model instances (not inclusive)
168            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
169            * @return the ordered range of matching rows
170            */
171            public <T> java.util.List<T> dynamicQuery(
172                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
173                    int end,
174                    com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator);
175    
176            /**
177            * Returns the number of rows that match the dynamic query.
178            *
179            * @param dynamicQuery the dynamic query
180            * @return the number of rows that match the dynamic query
181            */
182            public long dynamicQueryCount(
183                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery);
184    
185            /**
186            * Returns the number of rows that match the dynamic query.
187            *
188            * @param dynamicQuery the dynamic query
189            * @param projection the projection to apply to the query
190            * @return the number of rows that match the dynamic query
191            */
192            public long dynamicQueryCount(
193                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
194                    com.liferay.portal.kernel.dao.orm.Projection projection);
195    
196            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
197            public com.liferay.portlet.dynamicdatalists.model.DDLRecord fetchDDLRecord(
198                    long recordId);
199    
200            /**
201            * Returns the d d l record matching the UUID and group.
202            *
203            * @param uuid the d d l record's UUID
204            * @param groupId the primary key of the group
205            * @return the matching d d l record, or <code>null</code> if a matching d d l record could not be found
206            */
207            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
208            public com.liferay.portlet.dynamicdatalists.model.DDLRecord fetchDDLRecordByUuidAndGroupId(
209                    java.lang.String uuid, long groupId);
210    
211            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
212            public com.liferay.portlet.dynamicdatalists.model.DDLRecord fetchRecord(
213                    long recordId);
214    
215            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
216            public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery();
217    
218            /**
219            * Returns the Spring bean ID for this bean.
220            *
221            * @return the Spring bean ID for this bean
222            */
223            public java.lang.String getBeanIdentifier();
224    
225            /**
226            * @deprecated As of 6.2.0, replaced by {@link #getCompanyRecords(long, int,
227            int, int, int, OrderByComparator)}
228            */
229            @java.lang.Deprecated
230            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
231            public java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecord> getCompanyRecords(
232                    long companyId, int scope, int start, int end,
233                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.dynamicdatalists.model.DDLRecord> orderByComparator);
234    
235            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
236            public java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecord> getCompanyRecords(
237                    long companyId, int status, int scope, int start, int end,
238                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.dynamicdatalists.model.DDLRecord> orderByComparator);
239    
240            /**
241            * @deprecated As of 6.2.0, replaced by {@link #getCompanyRecordsCount(long,
242            int, int)}
243            */
244            @java.lang.Deprecated
245            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
246            public int getCompanyRecordsCount(long companyId, int scope);
247    
248            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
249            public int getCompanyRecordsCount(long companyId, int status, int scope);
250    
251            /**
252            * Returns the d d l record with the primary key.
253            *
254            * @param recordId the primary key of the d d l record
255            * @return the d d l record
256            * @throws PortalException if a d d l record with the primary key could not be found
257            */
258            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
259            public com.liferay.portlet.dynamicdatalists.model.DDLRecord getDDLRecord(
260                    long recordId)
261                    throws com.liferay.portal.kernel.exception.PortalException;
262    
263            /**
264            * Returns the d d l record matching the UUID and group.
265            *
266            * @param uuid the d d l record's UUID
267            * @param groupId the primary key of the group
268            * @return the matching d d l record
269            * @throws PortalException if a matching d d l record could not be found
270            */
271            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
272            public com.liferay.portlet.dynamicdatalists.model.DDLRecord getDDLRecordByUuidAndGroupId(
273                    java.lang.String uuid, long groupId)
274                    throws com.liferay.portal.kernel.exception.PortalException;
275    
276            /**
277            * Returns a range of all the d d l records.
278            *
279            * <p>
280            * 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.
281            * </p>
282            *
283            * @param start the lower bound of the range of d d l records
284            * @param end the upper bound of the range of d d l records (not inclusive)
285            * @return the range of d d l records
286            */
287            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
288            public java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecord> getDDLRecords(
289                    int start, int end);
290    
291            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
292            public java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecord> getDDLRecordsByUuidAndCompanyId(
293                    java.lang.String uuid, long companyId);
294    
295            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
296            public java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecord> getDDLRecordsByUuidAndCompanyId(
297                    java.lang.String uuid, long companyId, int start, int end,
298                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.dynamicdatalists.model.DDLRecord> orderByComparator);
299    
300            /**
301            * Returns the number of d d l records.
302            *
303            * @return the number of d d l records
304            */
305            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
306            public int getDDLRecordsCount();
307    
308            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
309            public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(
310                    com.liferay.portal.kernel.lar.PortletDataContext portletDataContext);
311    
312            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
313            public com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion getLatestRecordVersion(
314                    long recordId)
315                    throws com.liferay.portal.kernel.exception.PortalException;
316    
317            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
318            public java.lang.Long[] getMinAndMaxCompanyRecordIds(long companyId,
319                    int status, int scope);
320    
321            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
322            public java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecord> getMinAndMaxCompanyRecords(
323                    long companyId, int status, int scope, long minRecordId,
324                    long maxRecordId);
325    
326            @Override
327            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
328            public com.liferay.portal.model.PersistedModel getPersistedModel(
329                    java.io.Serializable primaryKeyObj)
330                    throws com.liferay.portal.kernel.exception.PortalException;
331    
332            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
333            public com.liferay.portlet.dynamicdatalists.model.DDLRecord getRecord(
334                    long recordId)
335                    throws com.liferay.portal.kernel.exception.PortalException;
336    
337            /**
338            * @deprecated As of 7.0.0, replaced by {@link
339            com.liferay.portlet.dynamicdatalists.service.impl.DDLRecordVersionLocalServiceImpl#getRecordVersion(
340            long, String)}
341            */
342            @java.lang.Deprecated
343            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
344            public com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion getRecordVersion(
345                    long recordId, java.lang.String version)
346                    throws com.liferay.portal.kernel.exception.PortalException;
347    
348            /**
349            * @deprecated As of 7.0.0, replaced by {@link
350            com.liferay.portlet.dynamicdatalists.service.impl.DDLRecordVersionLocalServiceImpl#getRecordVersion(
351            long)}
352            */
353            @java.lang.Deprecated
354            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
355            public com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion getRecordVersion(
356                    long recordVersionId)
357                    throws com.liferay.portal.kernel.exception.PortalException;
358    
359            /**
360            * @deprecated As of 7.0.0, replaced by {@link
361            com.liferay.portlet.dynamicdatalists.service.impl.DDLRecordVersionLocalServiceImpl#getRecordVersions(
362            long, int, int, OrderByComparator)}
363            */
364            @java.lang.Deprecated
365            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
366            public java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion> getRecordVersions(
367                    long recordId, int start, int end,
368                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion> orderByComparator);
369    
370            /**
371            * @deprecated As of 7.0.0, replaced by {@link
372            com.liferay.portlet.dynamicdatalists.service.impl.DDLRecordVersionLocalServiceImpl#getRecordVersionsCount(
373            long)}
374            */
375            @java.lang.Deprecated
376            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
377            public int getRecordVersionsCount(long recordId);
378    
379            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
380            public java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecord> getRecords(
381                    long recordSetId);
382    
383            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
384            public java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecord> getRecords(
385                    long recordSetId, int status, int start, int end,
386                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.dynamicdatalists.model.DDLRecord> orderByComparator);
387    
388            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
389            public java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecord> getRecords(
390                    long recordSetId, long userId);
391    
392            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
393            public int getRecordsCount(long recordSetId, int status);
394    
395            public void revertRecord(long userId, long recordId,
396                    java.lang.String version,
397                    com.liferay.portal.service.ServiceContext serviceContext)
398                    throws com.liferay.portal.kernel.exception.PortalException;
399    
400            /**
401            * @deprecated As of 7.0.0, replaced by {@link #revertRecord(long, long,
402            String, ServiceContext)}
403            */
404            @java.lang.Deprecated
405            public void revertRecordVersion(long userId, long recordId,
406                    java.lang.String version,
407                    com.liferay.portal.service.ServiceContext serviceContext)
408                    throws com.liferay.portal.kernel.exception.PortalException;
409    
410            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
411            public com.liferay.portal.kernel.search.Hits search(
412                    com.liferay.portal.kernel.search.SearchContext searchContext);
413    
414            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
415            public com.liferay.portal.kernel.search.BaseModelSearchResult<com.liferay.portlet.dynamicdatalists.model.DDLRecord> searchDDLRecords(
416                    com.liferay.portal.kernel.search.SearchContext searchContext);
417    
418            /**
419            * Sets the Spring bean ID for this bean.
420            *
421            * @param beanIdentifier the Spring bean ID for this bean
422            */
423            public void setBeanIdentifier(java.lang.String beanIdentifier);
424    
425            public void updateAsset(long userId,
426                    com.liferay.portlet.dynamicdatalists.model.DDLRecord record,
427                    com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion recordVersion,
428                    long[] assetCategoryIds, java.lang.String[] assetTagNames,
429                    java.util.Locale locale)
430                    throws com.liferay.portal.kernel.exception.PortalException;
431    
432            /**
433            * Updates the d d l record in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
434            *
435            * @param ddlRecord the d d l record
436            * @return the d d l record that was updated
437            */
438            @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX)
439            public com.liferay.portlet.dynamicdatalists.model.DDLRecord updateDDLRecord(
440                    com.liferay.portlet.dynamicdatalists.model.DDLRecord ddlRecord);
441    
442            public com.liferay.portlet.dynamicdatalists.model.DDLRecord updateRecord(
443                    long userId, long recordId, int displayIndex,
444                    java.util.Map<java.lang.String, java.io.Serializable> fieldsMap,
445                    boolean mergeFields,
446                    com.liferay.portal.service.ServiceContext serviceContext)
447                    throws com.liferay.portal.kernel.exception.PortalException;
448    
449            @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX)
450            public com.liferay.portlet.dynamicdatalists.model.DDLRecord updateRecord(
451                    long userId, long recordId, boolean majorVersion, int displayIndex,
452                    com.liferay.portlet.dynamicdatamapping.storage.Fields fields,
453                    boolean mergeFields,
454                    com.liferay.portal.service.ServiceContext serviceContext)
455                    throws com.liferay.portal.kernel.exception.PortalException;
456    
457            @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX)
458            public com.liferay.portlet.dynamicdatalists.model.DDLRecord updateStatus(
459                    long userId, long recordVersionId, int status,
460                    com.liferay.portal.service.ServiceContext serviceContext)
461                    throws com.liferay.portal.kernel.exception.PortalException;
462    }