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