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.model;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.kernel.bean.AutoEscape;
020    import com.liferay.portal.model.BaseModel;
021    import com.liferay.portal.model.CacheModel;
022    import com.liferay.portal.model.WorkflowedModel;
023    import com.liferay.portal.service.ServiceContext;
024    
025    import com.liferay.portlet.expando.model.ExpandoBridge;
026    
027    import java.io.Serializable;
028    
029    import java.util.Date;
030    
031    /**
032     * The base model interface for the DDLRecordVersion service. Represents a row in the "DDLRecordVersion" database table, with each column mapped to a property of this class.
033     *
034     * <p>
035     * This interface and its corresponding implementation {@link com.liferay.portlet.dynamicdatalists.model.impl.DDLRecordVersionModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link com.liferay.portlet.dynamicdatalists.model.impl.DDLRecordVersionImpl}.
036     * </p>
037     *
038     * @author Brian Wing Shun Chan
039     * @see DDLRecordVersion
040     * @see com.liferay.portlet.dynamicdatalists.model.impl.DDLRecordVersionImpl
041     * @see com.liferay.portlet.dynamicdatalists.model.impl.DDLRecordVersionModelImpl
042     * @generated
043     */
044    @ProviderType
045    public interface DDLRecordVersionModel extends BaseModel<DDLRecordVersion>,
046            WorkflowedModel {
047            /*
048             * NOTE FOR DEVELOPERS:
049             *
050             * Never modify or reference this interface directly. All methods that expect a d d l record version model instance should use the {@link DDLRecordVersion} interface instead.
051             */
052    
053            /**
054             * Returns the primary key of this d d l record version.
055             *
056             * @return the primary key of this d d l record version
057             */
058            public long getPrimaryKey();
059    
060            /**
061             * Sets the primary key of this d d l record version.
062             *
063             * @param primaryKey the primary key of this d d l record version
064             */
065            public void setPrimaryKey(long primaryKey);
066    
067            /**
068             * Returns the record version ID of this d d l record version.
069             *
070             * @return the record version ID of this d d l record version
071             */
072            public long getRecordVersionId();
073    
074            /**
075             * Sets the record version ID of this d d l record version.
076             *
077             * @param recordVersionId the record version ID of this d d l record version
078             */
079            public void setRecordVersionId(long recordVersionId);
080    
081            /**
082             * Returns the group ID of this d d l record version.
083             *
084             * @return the group ID of this d d l record version
085             */
086            public long getGroupId();
087    
088            /**
089             * Sets the group ID of this d d l record version.
090             *
091             * @param groupId the group ID of this d d l record version
092             */
093            public void setGroupId(long groupId);
094    
095            /**
096             * Returns the company ID of this d d l record version.
097             *
098             * @return the company ID of this d d l record version
099             */
100            public long getCompanyId();
101    
102            /**
103             * Sets the company ID of this d d l record version.
104             *
105             * @param companyId the company ID of this d d l record version
106             */
107            public void setCompanyId(long companyId);
108    
109            /**
110             * Returns the user ID of this d d l record version.
111             *
112             * @return the user ID of this d d l record version
113             */
114            public long getUserId();
115    
116            /**
117             * Sets the user ID of this d d l record version.
118             *
119             * @param userId the user ID of this d d l record version
120             */
121            public void setUserId(long userId);
122    
123            /**
124             * Returns the user uuid of this d d l record version.
125             *
126             * @return the user uuid of this d d l record version
127             */
128            public String getUserUuid();
129    
130            /**
131             * Sets the user uuid of this d d l record version.
132             *
133             * @param userUuid the user uuid of this d d l record version
134             */
135            public void setUserUuid(String userUuid);
136    
137            /**
138             * Returns the user name of this d d l record version.
139             *
140             * @return the user name of this d d l record version
141             */
142            @AutoEscape
143            public String getUserName();
144    
145            /**
146             * Sets the user name of this d d l record version.
147             *
148             * @param userName the user name of this d d l record version
149             */
150            public void setUserName(String userName);
151    
152            /**
153             * Returns the create date of this d d l record version.
154             *
155             * @return the create date of this d d l record version
156             */
157            public Date getCreateDate();
158    
159            /**
160             * Sets the create date of this d d l record version.
161             *
162             * @param createDate the create date of this d d l record version
163             */
164            public void setCreateDate(Date createDate);
165    
166            /**
167             * Returns the d d m storage ID of this d d l record version.
168             *
169             * @return the d d m storage ID of this d d l record version
170             */
171            public long getDDMStorageId();
172    
173            /**
174             * Sets the d d m storage ID of this d d l record version.
175             *
176             * @param DDMStorageId the d d m storage ID of this d d l record version
177             */
178            public void setDDMStorageId(long DDMStorageId);
179    
180            /**
181             * Returns the record set ID of this d d l record version.
182             *
183             * @return the record set ID of this d d l record version
184             */
185            public long getRecordSetId();
186    
187            /**
188             * Sets the record set ID of this d d l record version.
189             *
190             * @param recordSetId the record set ID of this d d l record version
191             */
192            public void setRecordSetId(long recordSetId);
193    
194            /**
195             * Returns the record ID of this d d l record version.
196             *
197             * @return the record ID of this d d l record version
198             */
199            public long getRecordId();
200    
201            /**
202             * Sets the record ID of this d d l record version.
203             *
204             * @param recordId the record ID of this d d l record version
205             */
206            public void setRecordId(long recordId);
207    
208            /**
209             * Returns the version of this d d l record version.
210             *
211             * @return the version of this d d l record version
212             */
213            @AutoEscape
214            public String getVersion();
215    
216            /**
217             * Sets the version of this d d l record version.
218             *
219             * @param version the version of this d d l record version
220             */
221            public void setVersion(String version);
222    
223            /**
224             * Returns the display index of this d d l record version.
225             *
226             * @return the display index of this d d l record version
227             */
228            public int getDisplayIndex();
229    
230            /**
231             * Sets the display index of this d d l record version.
232             *
233             * @param displayIndex the display index of this d d l record version
234             */
235            public void setDisplayIndex(int displayIndex);
236    
237            /**
238             * Returns the status of this d d l record version.
239             *
240             * @return the status of this d d l record version
241             */
242            @Override
243            public int getStatus();
244    
245            /**
246             * Sets the status of this d d l record version.
247             *
248             * @param status the status of this d d l record version
249             */
250            @Override
251            public void setStatus(int status);
252    
253            /**
254             * Returns the status by user ID of this d d l record version.
255             *
256             * @return the status by user ID of this d d l record version
257             */
258            @Override
259            public long getStatusByUserId();
260    
261            /**
262             * Sets the status by user ID of this d d l record version.
263             *
264             * @param statusByUserId the status by user ID of this d d l record version
265             */
266            @Override
267            public void setStatusByUserId(long statusByUserId);
268    
269            /**
270             * Returns the status by user uuid of this d d l record version.
271             *
272             * @return the status by user uuid of this d d l record version
273             */
274            @Override
275            public String getStatusByUserUuid();
276    
277            /**
278             * Sets the status by user uuid of this d d l record version.
279             *
280             * @param statusByUserUuid the status by user uuid of this d d l record version
281             */
282            @Override
283            public void setStatusByUserUuid(String statusByUserUuid);
284    
285            /**
286             * Returns the status by user name of this d d l record version.
287             *
288             * @return the status by user name of this d d l record version
289             */
290            @AutoEscape
291            @Override
292            public String getStatusByUserName();
293    
294            /**
295             * Sets the status by user name of this d d l record version.
296             *
297             * @param statusByUserName the status by user name of this d d l record version
298             */
299            @Override
300            public void setStatusByUserName(String statusByUserName);
301    
302            /**
303             * Returns the status date of this d d l record version.
304             *
305             * @return the status date of this d d l record version
306             */
307            @Override
308            public Date getStatusDate();
309    
310            /**
311             * Sets the status date of this d d l record version.
312             *
313             * @param statusDate the status date of this d d l record version
314             */
315            @Override
316            public void setStatusDate(Date statusDate);
317    
318            /**
319             * @deprecated As of 6.1.0, replaced by {@link #isApproved()}
320             */
321            @Deprecated
322            @Override
323            public boolean getApproved();
324    
325            /**
326             * Returns <code>true</code> if this d d l record version is approved.
327             *
328             * @return <code>true</code> if this d d l record version is approved; <code>false</code> otherwise
329             */
330            @Override
331            public boolean isApproved();
332    
333            /**
334             * Returns <code>true</code> if this d d l record version is denied.
335             *
336             * @return <code>true</code> if this d d l record version is denied; <code>false</code> otherwise
337             */
338            @Override
339            public boolean isDenied();
340    
341            /**
342             * Returns <code>true</code> if this d d l record version is a draft.
343             *
344             * @return <code>true</code> if this d d l record version is a draft; <code>false</code> otherwise
345             */
346            @Override
347            public boolean isDraft();
348    
349            /**
350             * Returns <code>true</code> if this d d l record version is expired.
351             *
352             * @return <code>true</code> if this d d l record version is expired; <code>false</code> otherwise
353             */
354            @Override
355            public boolean isExpired();
356    
357            /**
358             * Returns <code>true</code> if this d d l record version is inactive.
359             *
360             * @return <code>true</code> if this d d l record version is inactive; <code>false</code> otherwise
361             */
362            @Override
363            public boolean isInactive();
364    
365            /**
366             * Returns <code>true</code> if this d d l record version is incomplete.
367             *
368             * @return <code>true</code> if this d d l record version is incomplete; <code>false</code> otherwise
369             */
370            @Override
371            public boolean isIncomplete();
372    
373            /**
374             * Returns <code>true</code> if this d d l record version is pending.
375             *
376             * @return <code>true</code> if this d d l record version is pending; <code>false</code> otherwise
377             */
378            @Override
379            public boolean isPending();
380    
381            /**
382             * Returns <code>true</code> if this d d l record version is scheduled.
383             *
384             * @return <code>true</code> if this d d l record version is scheduled; <code>false</code> otherwise
385             */
386            @Override
387            public boolean isScheduled();
388    
389            @Override
390            public boolean isNew();
391    
392            @Override
393            public void setNew(boolean n);
394    
395            @Override
396            public boolean isCachedModel();
397    
398            @Override
399            public void setCachedModel(boolean cachedModel);
400    
401            @Override
402            public boolean isEscapedModel();
403    
404            @Override
405            public Serializable getPrimaryKeyObj();
406    
407            @Override
408            public void setPrimaryKeyObj(Serializable primaryKeyObj);
409    
410            @Override
411            public ExpandoBridge getExpandoBridge();
412    
413            @Override
414            public void setExpandoBridgeAttributes(BaseModel<?> baseModel);
415    
416            @Override
417            public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge);
418    
419            @Override
420            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
421    
422            @Override
423            public Object clone();
424    
425            @Override
426            public int compareTo(
427                    com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion ddlRecordVersion);
428    
429            @Override
430            public int hashCode();
431    
432            @Override
433            public CacheModel<com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion> toCacheModel();
434    
435            @Override
436            public com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion toEscapedModel();
437    
438            @Override
439            public com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion toUnescapedModel();
440    
441            @Override
442            public String toString();
443    
444            @Override
445            public String toXmlString();
446    }