001    /**
002     * Copyright (c) 2000-2012 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 com.liferay.portal.kernel.bean.AutoEscape;
018    import com.liferay.portal.kernel.exception.SystemException;
019    import com.liferay.portal.model.BaseModel;
020    import com.liferay.portal.model.CacheModel;
021    import com.liferay.portal.model.GroupedModel;
022    import com.liferay.portal.model.StagedModel;
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    public interface DDLRecordModel extends BaseModel<DDLRecord>, GroupedModel,
045            StagedModel {
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            public String getUuid();
073    
074            /**
075             * Sets the uuid of this d d l record.
076             *
077             * @param uuid the uuid of this d d l record
078             */
079            public void setUuid(String uuid);
080    
081            /**
082             * Returns the record ID of this d d l record.
083             *
084             * @return the record ID of this d d l record
085             */
086            public long getRecordId();
087    
088            /**
089             * Sets the record ID of this d d l record.
090             *
091             * @param recordId the record ID of this d d l record
092             */
093            public void setRecordId(long recordId);
094    
095            /**
096             * Returns the group ID of this d d l record.
097             *
098             * @return the group ID of this d d l record
099             */
100            public long getGroupId();
101    
102            /**
103             * Sets the group ID of this d d l record.
104             *
105             * @param groupId the group ID of this d d l record
106             */
107            public void setGroupId(long groupId);
108    
109            /**
110             * Returns the company ID of this d d l record.
111             *
112             * @return the company ID of this d d l record
113             */
114            public long getCompanyId();
115    
116            /**
117             * Sets the company ID of this d d l record.
118             *
119             * @param companyId the company ID of this d d l record
120             */
121            public void setCompanyId(long companyId);
122    
123            /**
124             * Returns the user ID of this d d l record.
125             *
126             * @return the user ID of this d d l record
127             */
128            public long getUserId();
129    
130            /**
131             * Sets the user ID of this d d l record.
132             *
133             * @param userId the user ID of this d d l record
134             */
135            public void setUserId(long userId);
136    
137            /**
138             * Returns the user uuid of this d d l record.
139             *
140             * @return the user uuid of this d d l record
141             * @throws SystemException if a system exception occurred
142             */
143            public String getUserUuid() throws SystemException;
144    
145            /**
146             * Sets the user uuid of this d d l record.
147             *
148             * @param userUuid the user uuid of this d d l record
149             */
150            public void setUserUuid(String userUuid);
151    
152            /**
153             * Returns the user name of this d d l record.
154             *
155             * @return the user name of this d d l record
156             */
157            @AutoEscape
158            public String getUserName();
159    
160            /**
161             * Sets the user name of this d d l record.
162             *
163             * @param userName the user name of this d d l record
164             */
165            public void setUserName(String userName);
166    
167            /**
168             * Returns the version user ID of this d d l record.
169             *
170             * @return the version user ID of this d d l record
171             */
172            public long getVersionUserId();
173    
174            /**
175             * Sets the version user ID of this d d l record.
176             *
177             * @param versionUserId the version user ID of this d d l record
178             */
179            public void setVersionUserId(long versionUserId);
180    
181            /**
182             * Returns the version user uuid of this d d l record.
183             *
184             * @return the version user uuid of this d d l record
185             * @throws SystemException if a system exception occurred
186             */
187            public String getVersionUserUuid() throws SystemException;
188    
189            /**
190             * Sets the version user uuid of this d d l record.
191             *
192             * @param versionUserUuid the version user uuid of this d d l record
193             */
194            public void setVersionUserUuid(String versionUserUuid);
195    
196            /**
197             * Returns the version user name of this d d l record.
198             *
199             * @return the version user name of this d d l record
200             */
201            @AutoEscape
202            public String getVersionUserName();
203    
204            /**
205             * Sets the version user name of this d d l record.
206             *
207             * @param versionUserName the version user name of this d d l record
208             */
209            public void setVersionUserName(String versionUserName);
210    
211            /**
212             * Returns the create date of this d d l record.
213             *
214             * @return the create date of this d d l record
215             */
216            public Date getCreateDate();
217    
218            /**
219             * Sets the create date of this d d l record.
220             *
221             * @param createDate the create date of this d d l record
222             */
223            public void setCreateDate(Date createDate);
224    
225            /**
226             * Returns the modified date of this d d l record.
227             *
228             * @return the modified date of this d d l record
229             */
230            public Date getModifiedDate();
231    
232            /**
233             * Sets the modified date of this d d l record.
234             *
235             * @param modifiedDate the modified date of this d d l record
236             */
237            public void setModifiedDate(Date modifiedDate);
238    
239            /**
240             * Returns the d d m storage ID of this d d l record.
241             *
242             * @return the d d m storage ID of this d d l record
243             */
244            public long getDDMStorageId();
245    
246            /**
247             * Sets the d d m storage ID of this d d l record.
248             *
249             * @param DDMStorageId the d d m storage ID of this d d l record
250             */
251            public void setDDMStorageId(long DDMStorageId);
252    
253            /**
254             * Returns the record set ID of this d d l record.
255             *
256             * @return the record set ID of this d d l record
257             */
258            public long getRecordSetId();
259    
260            /**
261             * Sets the record set ID of this d d l record.
262             *
263             * @param recordSetId the record set ID of this d d l record
264             */
265            public void setRecordSetId(long recordSetId);
266    
267            /**
268             * Returns the version of this d d l record.
269             *
270             * @return the version of this d d l record
271             */
272            @AutoEscape
273            public String getVersion();
274    
275            /**
276             * Sets the version of this d d l record.
277             *
278             * @param version the version of this d d l record
279             */
280            public void setVersion(String version);
281    
282            /**
283             * Returns the display index of this d d l record.
284             *
285             * @return the display index of this d d l record
286             */
287            public int getDisplayIndex();
288    
289            /**
290             * Sets the display index of this d d l record.
291             *
292             * @param displayIndex the display index of this d d l record
293             */
294            public void setDisplayIndex(int displayIndex);
295    
296            public boolean isNew();
297    
298            public void setNew(boolean n);
299    
300            public boolean isCachedModel();
301    
302            public void setCachedModel(boolean cachedModel);
303    
304            public boolean isEscapedModel();
305    
306            public Serializable getPrimaryKeyObj();
307    
308            public void setPrimaryKeyObj(Serializable primaryKeyObj);
309    
310            public ExpandoBridge getExpandoBridge();
311    
312            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
313    
314            public Object clone();
315    
316            public int compareTo(DDLRecord ddlRecord);
317    
318            public int hashCode();
319    
320            public CacheModel<DDLRecord> toCacheModel();
321    
322            public DDLRecord toEscapedModel();
323    
324            public DDLRecord toUnescapedModel();
325    
326            public String toString();
327    
328            public String toXmlString();
329    }