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.DDMFormValues ddmFormValues,
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                    com.liferay.portlet.dynamicdatamapping.storage.Fields fields,
072                    com.liferay.portal.service.ServiceContext serviceContext)
073                    throws com.liferay.portal.kernel.exception.PortalException;
074    
075            public com.liferay.portlet.dynamicdatalists.model.DDLRecord addRecord(
076                    long userId, long groupId, long recordSetId, int displayIndex,
077                    java.util.Map<java.lang.String, java.io.Serializable> fieldsMap,
078                    com.liferay.portal.service.ServiceContext serviceContext)
079                    throws com.liferay.portal.kernel.exception.PortalException;
080    
081            /**
082            * Creates a new d d l record with the primary key. Does not add the d d l record to the database.
083            *
084            * @param recordId the primary key for the new d d l record
085            * @return the new d d l record
086            */
087            public com.liferay.portlet.dynamicdatalists.model.DDLRecord createDDLRecord(
088                    long recordId);
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            @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE)
097            public com.liferay.portlet.dynamicdatalists.model.DDLRecord deleteDDLRecord(
098                    com.liferay.portlet.dynamicdatalists.model.DDLRecord ddlRecord);
099    
100            /**
101            * Deletes the d d l record with the primary key from the database. Also notifies the appropriate model listeners.
102            *
103            * @param recordId the primary key of the d d l record
104            * @return the d d l record that was removed
105            * @throws PortalException if a d d l record with the primary key could not be found
106            */
107            @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE)
108            public com.liferay.portlet.dynamicdatalists.model.DDLRecord deleteDDLRecord(
109                    long recordId)
110                    throws com.liferay.portal.kernel.exception.PortalException;
111    
112            /**
113            * @throws PortalException
114            */
115            @Override
116            public com.liferay.portal.model.PersistedModel deletePersistedModel(
117                    com.liferay.portal.model.PersistedModel persistedModel)
118                    throws com.liferay.portal.kernel.exception.PortalException;
119    
120            @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE)
121            @com.liferay.portal.kernel.systemevent.SystemEvent(action = SystemEventConstants.ACTION_SKIP, type = SystemEventConstants.TYPE_DELETE)
122            public com.liferay.portlet.dynamicdatalists.model.DDLRecord deleteRecord(
123                    com.liferay.portlet.dynamicdatalists.model.DDLRecord record)
124                    throws com.liferay.portal.kernel.exception.PortalException;
125    
126            public void deleteRecord(long recordId)
127                    throws com.liferay.portal.kernel.exception.PortalException;
128    
129            public com.liferay.portlet.dynamicdatalists.model.DDLRecord deleteRecordLocale(
130                    long recordId, java.util.Locale locale,
131                    com.liferay.portal.service.ServiceContext serviceContext)
132                    throws com.liferay.portal.kernel.exception.PortalException;
133    
134            public void deleteRecords(long recordSetId)
135                    throws com.liferay.portal.kernel.exception.PortalException;
136    
137            public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery();
138    
139            /**
140            * Performs a dynamic query on the database and returns the matching rows.
141            *
142            * @param dynamicQuery the dynamic query
143            * @return the matching rows
144            */
145            public <T> java.util.List<T> dynamicQuery(
146                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery);
147    
148            /**
149            * Performs a dynamic query on the database and returns a range of the matching rows.
150            *
151            * <p>
152            * 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.
153            * </p>
154            *
155            * @param dynamicQuery the dynamic query
156            * @param start the lower bound of the range of model instances
157            * @param end the upper bound of the range of model instances (not inclusive)
158            * @return the range of matching rows
159            */
160            public <T> java.util.List<T> dynamicQuery(
161                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
162                    int end);
163    
164            /**
165            * Performs a dynamic query on the database and returns an ordered range of the matching rows.
166            *
167            * <p>
168            * 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.
169            * </p>
170            *
171            * @param dynamicQuery the dynamic query
172            * @param start the lower bound of the range of model instances
173            * @param end the upper bound of the range of model instances (not inclusive)
174            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
175            * @return the ordered range of matching rows
176            */
177            public <T> java.util.List<T> dynamicQuery(
178                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
179                    int end,
180                    com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator);
181    
182            /**
183            * Returns the number of rows matching the dynamic query.
184            *
185            * @param dynamicQuery the dynamic query
186            * @return the number of rows matching the dynamic query
187            */
188            public long dynamicQueryCount(
189                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery);
190    
191            /**
192            * Returns the number of rows matching the dynamic query.
193            *
194            * @param dynamicQuery the dynamic query
195            * @param projection the projection to apply to the query
196            * @return the number of rows matching the dynamic query
197            */
198            public long dynamicQueryCount(
199                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
200                    com.liferay.portal.kernel.dao.orm.Projection projection);
201    
202            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
203            public com.liferay.portlet.dynamicdatalists.model.DDLRecord fetchDDLRecord(
204                    long recordId);
205    
206            /**
207            * Returns the d d l record matching the UUID and group.
208            *
209            * @param uuid the d d l record's UUID
210            * @param groupId the primary key of the group
211            * @return the matching d d l record, or <code>null</code> if a matching d d l record could not be found
212            */
213            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
214            public com.liferay.portlet.dynamicdatalists.model.DDLRecord fetchDDLRecordByUuidAndGroupId(
215                    java.lang.String uuid, long groupId);
216    
217            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
218            public com.liferay.portlet.dynamicdatalists.model.DDLRecord fetchRecord(
219                    long recordId);
220    
221            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
222            public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery();
223    
224            /**
225            * Returns the Spring bean ID for this bean.
226            *
227            * @return the Spring bean ID for this bean
228            */
229            public java.lang.String getBeanIdentifier();
230    
231            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
232            public java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecord> getCompanyRecords(
233                    long companyId, int status, int scope, int start, int end,
234                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.dynamicdatalists.model.DDLRecord> orderByComparator);
235    
236            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
237            public int getCompanyRecordsCount(long companyId, int status, int scope);
238    
239            /**
240            * Returns the d d l record with the primary key.
241            *
242            * @param recordId the primary key of the d d l record
243            * @return the d d l record
244            * @throws PortalException if a d d l record with the primary key could not be found
245            */
246            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
247            public com.liferay.portlet.dynamicdatalists.model.DDLRecord getDDLRecord(
248                    long recordId)
249                    throws com.liferay.portal.kernel.exception.PortalException;
250    
251            /**
252            * Returns the d d l record matching the UUID and group.
253            *
254            * @param uuid the d d l record's UUID
255            * @param groupId the primary key of the group
256            * @return the matching d d l record
257            * @throws PortalException if a matching d d l record could not be found
258            */
259            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
260            public com.liferay.portlet.dynamicdatalists.model.DDLRecord getDDLRecordByUuidAndGroupId(
261                    java.lang.String uuid, long groupId)
262                    throws com.liferay.portal.kernel.exception.PortalException;
263    
264            /**
265            * Returns a range of all the d d l records.
266            *
267            * <p>
268            * 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.
269            * </p>
270            *
271            * @param start the lower bound of the range of d d l records
272            * @param end the upper bound of the range of d d l records (not inclusive)
273            * @return the range of d d l records
274            */
275            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
276            public java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecord> getDDLRecords(
277                    int start, int end);
278    
279            /**
280            * Returns all the d d l records matching the UUID and company.
281            *
282            * @param uuid the UUID of the d d l records
283            * @param companyId the primary key of the company
284            * @return the matching d d l records, or an empty list if no matches were found
285            */
286            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
287            public java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecord> getDDLRecordsByUuidAndCompanyId(
288                    java.lang.String uuid, long companyId);
289    
290            /**
291            * Returns a range of d d l records matching the UUID and company.
292            *
293            * @param uuid the UUID of the d d l records
294            * @param companyId the primary key of the company
295            * @param start the lower bound of the range of d d l records
296            * @param end the upper bound of the range of d d l records (not inclusive)
297            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
298            * @return the range of matching d d l records, or an empty list if no matches were found
299            */
300            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
301            public java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecord> getDDLRecordsByUuidAndCompanyId(
302                    java.lang.String uuid, long companyId, int start, int end,
303                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.dynamicdatalists.model.DDLRecord> orderByComparator);
304    
305            /**
306            * Returns the number of d d l records.
307            *
308            * @return the number of d d l records
309            */
310            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
311            public int getDDLRecordsCount();
312    
313            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
314            public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(
315                    com.liferay.portal.kernel.lar.PortletDataContext portletDataContext);
316    
317            /**
318            * @deprecated As of 7.0.0, replaced by {@link
319            DDLRecordVersionLocalServiceImpl#getLatestRecordVersion(
320            long)}
321            */
322            @java.lang.Deprecated
323            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
324            public com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion getLatestRecordVersion(
325                    long recordId)
326                    throws com.liferay.portal.kernel.exception.PortalException;
327    
328            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
329            public java.lang.Long[] getMinAndMaxCompanyRecordIds(long companyId,
330                    int status, int scope);
331    
332            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
333            public java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecord> getMinAndMaxCompanyRecords(
334                    long companyId, int status, int scope, long minRecordId,
335                    long maxRecordId);
336    
337            @Override
338            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
339            public com.liferay.portal.model.PersistedModel getPersistedModel(
340                    java.io.Serializable primaryKeyObj)
341                    throws com.liferay.portal.kernel.exception.PortalException;
342    
343            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
344            public com.liferay.portlet.dynamicdatalists.model.DDLRecord getRecord(
345                    long recordId)
346                    throws com.liferay.portal.kernel.exception.PortalException;
347    
348            /**
349            * @deprecated As of 7.0.0, replaced by {@link
350            DDLRecordVersionLocalServiceImpl#getRecordVersion(long,
351            String)}
352            */
353            @java.lang.Deprecated
354            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
355            public com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion getRecordVersion(
356                    long recordId, java.lang.String version)
357                    throws com.liferay.portal.kernel.exception.PortalException;
358    
359            /**
360            * @deprecated As of 7.0.0, replaced by {@link
361            DDLRecordVersionLocalServiceImpl#getRecordVersion(long)}
362            */
363            @java.lang.Deprecated
364            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
365            public com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion getRecordVersion(
366                    long recordVersionId)
367                    throws com.liferay.portal.kernel.exception.PortalException;
368    
369            /**
370            * @deprecated As of 7.0.0, replaced by {@link
371            DDLRecordVersionLocalServiceImpl#getRecordVersions(long, int,
372            int, OrderByComparator)}
373            */
374            @java.lang.Deprecated
375            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
376            public java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion> getRecordVersions(
377                    long recordId, int start, int end,
378                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion> orderByComparator);
379    
380            /**
381            * @deprecated As of 7.0.0, replaced by {@link
382            DDLRecordVersionLocalServiceImpl#getRecordVersionsCount(
383            long)}
384            */
385            @java.lang.Deprecated
386            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
387            public int getRecordVersionsCount(long recordId);
388    
389            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
390            public java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecord> getRecords(
391                    long recordSetId);
392    
393            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
394            public java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecord> getRecords(
395                    long recordSetId, int status, int start, int end,
396                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.dynamicdatalists.model.DDLRecord> orderByComparator);
397    
398            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
399            public java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecord> getRecords(
400                    long recordSetId, long userId);
401    
402            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
403            public int getRecordsCount(long recordSetId, int status);
404    
405            public void revertRecord(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            /**
411            * @deprecated As of 7.0.0, replaced by {@link #revertRecord(long, long,
412            String, ServiceContext)}
413            */
414            @java.lang.Deprecated
415            public void revertRecordVersion(long userId, long recordId,
416                    java.lang.String version,
417                    com.liferay.portal.service.ServiceContext serviceContext)
418                    throws com.liferay.portal.kernel.exception.PortalException;
419    
420            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
421            public com.liferay.portal.kernel.search.Hits search(
422                    com.liferay.portal.kernel.search.SearchContext searchContext);
423    
424            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
425            public com.liferay.portal.kernel.search.BaseModelSearchResult<com.liferay.portlet.dynamicdatalists.model.DDLRecord> searchDDLRecords(
426                    com.liferay.portal.kernel.search.SearchContext searchContext);
427    
428            /**
429            * Sets the Spring bean ID for this bean.
430            *
431            * @param beanIdentifier the Spring bean ID for this bean
432            */
433            public void setBeanIdentifier(java.lang.String beanIdentifier);
434    
435            public void updateAsset(long userId,
436                    com.liferay.portlet.dynamicdatalists.model.DDLRecord record,
437                    com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion recordVersion,
438                    long[] assetCategoryIds, java.lang.String[] assetTagNames,
439                    java.util.Locale locale)
440                    throws com.liferay.portal.kernel.exception.PortalException;
441    
442            /**
443            * Updates the d d l record in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
444            *
445            * @param ddlRecord the d d l record
446            * @return the d d l record that was updated
447            */
448            @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX)
449            public com.liferay.portlet.dynamicdatalists.model.DDLRecord updateDDLRecord(
450                    com.liferay.portlet.dynamicdatalists.model.DDLRecord ddlRecord);
451    
452            public com.liferay.portlet.dynamicdatalists.model.DDLRecord updateRecord(
453                    long userId, long recordId, int displayIndex,
454                    java.util.Map<java.lang.String, java.io.Serializable> fieldsMap,
455                    boolean mergeFields,
456                    com.liferay.portal.service.ServiceContext serviceContext)
457                    throws com.liferay.portal.kernel.exception.PortalException;
458    
459            @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX)
460            public com.liferay.portlet.dynamicdatalists.model.DDLRecord updateRecord(
461                    long userId, long recordId, boolean majorVersion, int displayIndex,
462                    com.liferay.portlet.dynamicdatamapping.storage.DDMFormValues ddmFormValues,
463                    com.liferay.portal.service.ServiceContext serviceContext)
464                    throws com.liferay.portal.kernel.exception.PortalException;
465    
466            public com.liferay.portlet.dynamicdatalists.model.DDLRecord updateRecord(
467                    long userId, long recordId, boolean majorVersion, int displayIndex,
468                    com.liferay.portlet.dynamicdatamapping.storage.Fields fields,
469                    boolean mergeFields,
470                    com.liferay.portal.service.ServiceContext serviceContext)
471                    throws com.liferay.portal.kernel.exception.PortalException;
472    
473            @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX)
474            public com.liferay.portlet.dynamicdatalists.model.DDLRecord updateStatus(
475                    long userId, long recordVersionId, int status,
476                    com.liferay.portal.service.ServiceContext serviceContext)
477                    throws com.liferay.portal.kernel.exception.PortalException;
478    }