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.StagedGroupedModel;
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 DDLRecord service. Represents a row in the "DDLRecord" 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.DDLRecordModelImpl} 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.DDLRecordImpl}.
036     * </p>
037     *
038     * @author Brian Wing Shun Chan
039     * @see DDLRecord
040     * @see com.liferay.portlet.dynamicdatalists.model.impl.DDLRecordImpl
041     * @see com.liferay.portlet.dynamicdatalists.model.impl.DDLRecordModelImpl
042     * @generated
043     */
044    @ProviderType
045    public interface DDLRecordModel extends BaseModel<DDLRecord>, StagedGroupedModel {
046            /*
047             * NOTE FOR DEVELOPERS:
048             *
049             * Never modify or reference this interface directly. All methods that expect a d d l record model instance should use the {@link DDLRecord} interface instead.
050             */
051    
052            /**
053             * Returns the primary key of this d d l record.
054             *
055             * @return the primary key of this d d l record
056             */
057            public long getPrimaryKey();
058    
059            /**
060             * Sets the primary key of this d d l record.
061             *
062             * @param primaryKey the primary key of this d d l record
063             */
064            public void setPrimaryKey(long primaryKey);
065    
066            /**
067             * Returns the uuid of this d d l record.
068             *
069             * @return the uuid of this d d l record
070             */
071            @AutoEscape
072            @Override
073            public String getUuid();
074    
075            /**
076             * Sets the uuid of this d d l record.
077             *
078             * @param uuid the uuid of this d d l record
079             */
080            @Override
081            public void setUuid(String uuid);
082    
083            /**
084             * Returns the record ID of this d d l record.
085             *
086             * @return the record ID of this d d l record
087             */
088            public long getRecordId();
089    
090            /**
091             * Sets the record ID of this d d l record.
092             *
093             * @param recordId the record ID of this d d l record
094             */
095            public void setRecordId(long recordId);
096    
097            /**
098             * Returns the group ID of this d d l record.
099             *
100             * @return the group ID of this d d l record
101             */
102            @Override
103            public long getGroupId();
104    
105            /**
106             * Sets the group ID of this d d l record.
107             *
108             * @param groupId the group ID of this d d l record
109             */
110            @Override
111            public void setGroupId(long groupId);
112    
113            /**
114             * Returns the company ID of this d d l record.
115             *
116             * @return the company ID of this d d l record
117             */
118            @Override
119            public long getCompanyId();
120    
121            /**
122             * Sets the company ID of this d d l record.
123             *
124             * @param companyId the company ID of this d d l record
125             */
126            @Override
127            public void setCompanyId(long companyId);
128    
129            /**
130             * Returns the user ID of this d d l record.
131             *
132             * @return the user ID of this d d l record
133             */
134            @Override
135            public long getUserId();
136    
137            /**
138             * Sets the user ID of this d d l record.
139             *
140             * @param userId the user ID of this d d l record
141             */
142            @Override
143            public void setUserId(long userId);
144    
145            /**
146             * Returns the user uuid of this d d l record.
147             *
148             * @return the user uuid of this d d l record
149             */
150            @Override
151            public String getUserUuid();
152    
153            /**
154             * Sets the user uuid of this d d l record.
155             *
156             * @param userUuid the user uuid of this d d l record
157             */
158            @Override
159            public void setUserUuid(String userUuid);
160    
161            /**
162             * Returns the user name of this d d l record.
163             *
164             * @return the user name of this d d l record
165             */
166            @AutoEscape
167            @Override
168            public String getUserName();
169    
170            /**
171             * Sets the user name of this d d l record.
172             *
173             * @param userName the user name of this d d l record
174             */
175            @Override
176            public void setUserName(String userName);
177    
178            /**
179             * Returns the version user ID of this d d l record.
180             *
181             * @return the version user ID of this d d l record
182             */
183            public long getVersionUserId();
184    
185            /**
186             * Sets the version user ID of this d d l record.
187             *
188             * @param versionUserId the version user ID of this d d l record
189             */
190            public void setVersionUserId(long versionUserId);
191    
192            /**
193             * Returns the version user uuid of this d d l record.
194             *
195             * @return the version user uuid of this d d l record
196             */
197            public String getVersionUserUuid();
198    
199            /**
200             * Sets the version user uuid of this d d l record.
201             *
202             * @param versionUserUuid the version user uuid of this d d l record
203             */
204            public void setVersionUserUuid(String versionUserUuid);
205    
206            /**
207             * Returns the version user name of this d d l record.
208             *
209             * @return the version user name of this d d l record
210             */
211            @AutoEscape
212            public String getVersionUserName();
213    
214            /**
215             * Sets the version user name of this d d l record.
216             *
217             * @param versionUserName the version user name of this d d l record
218             */
219            public void setVersionUserName(String versionUserName);
220    
221            /**
222             * Returns the create date of this d d l record.
223             *
224             * @return the create date of this d d l record
225             */
226            @Override
227            public Date getCreateDate();
228    
229            /**
230             * Sets the create date of this d d l record.
231             *
232             * @param createDate the create date of this d d l record
233             */
234            @Override
235            public void setCreateDate(Date createDate);
236    
237            /**
238             * Returns the modified date of this d d l record.
239             *
240             * @return the modified date of this d d l record
241             */
242            @Override
243            public Date getModifiedDate();
244    
245            /**
246             * Sets the modified date of this d d l record.
247             *
248             * @param modifiedDate the modified date of this d d l record
249             */
250            @Override
251            public void setModifiedDate(Date modifiedDate);
252    
253            /**
254             * Returns the d d m storage ID of this d d l record.
255             *
256             * @return the d d m storage ID of this d d l record
257             */
258            public long getDDMStorageId();
259    
260            /**
261             * Sets the d d m storage ID of this d d l record.
262             *
263             * @param DDMStorageId the d d m storage ID of this d d l record
264             */
265            public void setDDMStorageId(long DDMStorageId);
266    
267            /**
268             * Returns the record set ID of this d d l record.
269             *
270             * @return the record set ID of this d d l record
271             */
272            public long getRecordSetId();
273    
274            /**
275             * Sets the record set ID of this d d l record.
276             *
277             * @param recordSetId the record set ID of this d d l record
278             */
279            public void setRecordSetId(long recordSetId);
280    
281            /**
282             * Returns the version of this d d l record.
283             *
284             * @return the version of this d d l record
285             */
286            @AutoEscape
287            public String getVersion();
288    
289            /**
290             * Sets the version of this d d l record.
291             *
292             * @param version the version of this d d l record
293             */
294            public void setVersion(String version);
295    
296            /**
297             * Returns the display index of this d d l record.
298             *
299             * @return the display index of this d d l record
300             */
301            public int getDisplayIndex();
302    
303            /**
304             * Sets the display index of this d d l record.
305             *
306             * @param displayIndex the display index of this d d l record
307             */
308            public void setDisplayIndex(int displayIndex);
309    
310            @Override
311            public boolean isNew();
312    
313            @Override
314            public void setNew(boolean n);
315    
316            @Override
317            public boolean isCachedModel();
318    
319            @Override
320            public void setCachedModel(boolean cachedModel);
321    
322            @Override
323            public boolean isEscapedModel();
324    
325            @Override
326            public Serializable getPrimaryKeyObj();
327    
328            @Override
329            public void setPrimaryKeyObj(Serializable primaryKeyObj);
330    
331            @Override
332            public ExpandoBridge getExpandoBridge();
333    
334            @Override
335            public void setExpandoBridgeAttributes(BaseModel<?> baseModel);
336    
337            @Override
338            public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge);
339    
340            @Override
341            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
342    
343            @Override
344            public Object clone();
345    
346            @Override
347            public int compareTo(
348                    com.liferay.portlet.dynamicdatalists.model.DDLRecord ddlRecord);
349    
350            @Override
351            public int hashCode();
352    
353            @Override
354            public CacheModel<com.liferay.portlet.dynamicdatalists.model.DDLRecord> toCacheModel();
355    
356            @Override
357            public com.liferay.portlet.dynamicdatalists.model.DDLRecord toEscapedModel();
358    
359            @Override
360            public com.liferay.portlet.dynamicdatalists.model.DDLRecord toUnescapedModel();
361    
362            @Override
363            public String toString();
364    
365            @Override
366            public String toXmlString();
367    }