001    /**
002     * Copyright (c) 2000-2010 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.documentlibrary.model;
016    
017    import com.liferay.portal.kernel.annotation.AutoEscape;
018    import com.liferay.portal.kernel.exception.SystemException;
019    import com.liferay.portal.model.BaseModel;
020    import com.liferay.portal.service.ServiceContext;
021    
022    import com.liferay.portlet.expando.model.ExpandoBridge;
023    
024    import java.io.Serializable;
025    
026    import java.util.Date;
027    
028    /**
029     * The base model interface for the DLFileEntry service. Represents a row in the "DLFileEntry" database table, with each column mapped to a property of this class.
030     *
031     * <p>
032     * This interface and its corresponding implementation {@link com.liferay.portlet.documentlibrary.model.impl.DLFileEntryModelImpl} 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.documentlibrary.model.impl.DLFileEntryImpl}.
033     * </p>
034     *
035     * <p>
036     * Never modify or reference this interface directly. All methods that expect a d l file entry model instance should use the {@link DLFileEntry} interface instead.
037     * </p>
038     *
039     * @author Brian Wing Shun Chan
040     * @see DLFileEntry
041     * @see com.liferay.portlet.documentlibrary.model.impl.DLFileEntryImpl
042     * @see com.liferay.portlet.documentlibrary.model.impl.DLFileEntryModelImpl
043     * @generated
044     */
045    public interface DLFileEntryModel extends BaseModel<DLFileEntry> {
046            /**
047             * Gets the primary key of this d l file entry.
048             *
049             * @return the primary key of this d l file entry
050             */
051            public long getPrimaryKey();
052    
053            /**
054             * Sets the primary key of this d l file entry
055             *
056             * @param pk the primary key of this d l file entry
057             */
058            public void setPrimaryKey(long pk);
059    
060            /**
061             * Gets the uuid of this d l file entry.
062             *
063             * @return the uuid of this d l file entry
064             */
065            @AutoEscape
066            public String getUuid();
067    
068            /**
069             * Sets the uuid of this d l file entry.
070             *
071             * @param uuid the uuid of this d l file entry
072             */
073            public void setUuid(String uuid);
074    
075            /**
076             * Gets the file entry id of this d l file entry.
077             *
078             * @return the file entry id of this d l file entry
079             */
080            public long getFileEntryId();
081    
082            /**
083             * Sets the file entry id of this d l file entry.
084             *
085             * @param fileEntryId the file entry id of this d l file entry
086             */
087            public void setFileEntryId(long fileEntryId);
088    
089            /**
090             * Gets the group id of this d l file entry.
091             *
092             * @return the group id of this d l file entry
093             */
094            public long getGroupId();
095    
096            /**
097             * Sets the group id of this d l file entry.
098             *
099             * @param groupId the group id of this d l file entry
100             */
101            public void setGroupId(long groupId);
102    
103            /**
104             * Gets the company id of this d l file entry.
105             *
106             * @return the company id of this d l file entry
107             */
108            public long getCompanyId();
109    
110            /**
111             * Sets the company id of this d l file entry.
112             *
113             * @param companyId the company id of this d l file entry
114             */
115            public void setCompanyId(long companyId);
116    
117            /**
118             * Gets the user id of this d l file entry.
119             *
120             * @return the user id of this d l file entry
121             */
122            public long getUserId();
123    
124            /**
125             * Sets the user id of this d l file entry.
126             *
127             * @param userId the user id of this d l file entry
128             */
129            public void setUserId(long userId);
130    
131            /**
132             * Gets the user uuid of this d l file entry.
133             *
134             * @return the user uuid of this d l file entry
135             * @throws SystemException if a system exception occurred
136             */
137            public String getUserUuid() throws SystemException;
138    
139            /**
140             * Sets the user uuid of this d l file entry.
141             *
142             * @param userUuid the user uuid of this d l file entry
143             */
144            public void setUserUuid(String userUuid);
145    
146            /**
147             * Gets the user name of this d l file entry.
148             *
149             * @return the user name of this d l file entry
150             */
151            @AutoEscape
152            public String getUserName();
153    
154            /**
155             * Sets the user name of this d l file entry.
156             *
157             * @param userName the user name of this d l file entry
158             */
159            public void setUserName(String userName);
160    
161            /**
162             * Gets the version user id of this d l file entry.
163             *
164             * @return the version user id of this d l file entry
165             */
166            public long getVersionUserId();
167    
168            /**
169             * Sets the version user id of this d l file entry.
170             *
171             * @param versionUserId the version user id of this d l file entry
172             */
173            public void setVersionUserId(long versionUserId);
174    
175            /**
176             * Gets the version user uuid of this d l file entry.
177             *
178             * @return the version user uuid of this d l file entry
179             * @throws SystemException if a system exception occurred
180             */
181            public String getVersionUserUuid() throws SystemException;
182    
183            /**
184             * Sets the version user uuid of this d l file entry.
185             *
186             * @param versionUserUuid the version user uuid of this d l file entry
187             */
188            public void setVersionUserUuid(String versionUserUuid);
189    
190            /**
191             * Gets the version user name of this d l file entry.
192             *
193             * @return the version user name of this d l file entry
194             */
195            @AutoEscape
196            public String getVersionUserName();
197    
198            /**
199             * Sets the version user name of this d l file entry.
200             *
201             * @param versionUserName the version user name of this d l file entry
202             */
203            public void setVersionUserName(String versionUserName);
204    
205            /**
206             * Gets the create date of this d l file entry.
207             *
208             * @return the create date of this d l file entry
209             */
210            public Date getCreateDate();
211    
212            /**
213             * Sets the create date of this d l file entry.
214             *
215             * @param createDate the create date of this d l file entry
216             */
217            public void setCreateDate(Date createDate);
218    
219            /**
220             * Gets the modified date of this d l file entry.
221             *
222             * @return the modified date of this d l file entry
223             */
224            public Date getModifiedDate();
225    
226            /**
227             * Sets the modified date of this d l file entry.
228             *
229             * @param modifiedDate the modified date of this d l file entry
230             */
231            public void setModifiedDate(Date modifiedDate);
232    
233            /**
234             * Gets the folder id of this d l file entry.
235             *
236             * @return the folder id of this d l file entry
237             */
238            public long getFolderId();
239    
240            /**
241             * Sets the folder id of this d l file entry.
242             *
243             * @param folderId the folder id of this d l file entry
244             */
245            public void setFolderId(long folderId);
246    
247            /**
248             * Gets the name of this d l file entry.
249             *
250             * @return the name of this d l file entry
251             */
252            @AutoEscape
253            public String getName();
254    
255            /**
256             * Sets the name of this d l file entry.
257             *
258             * @param name the name of this d l file entry
259             */
260            public void setName(String name);
261    
262            /**
263             * Gets the extension of this d l file entry.
264             *
265             * @return the extension of this d l file entry
266             */
267            @AutoEscape
268            public String getExtension();
269    
270            /**
271             * Sets the extension of this d l file entry.
272             *
273             * @param extension the extension of this d l file entry
274             */
275            public void setExtension(String extension);
276    
277            /**
278             * Gets the title of this d l file entry.
279             *
280             * @return the title of this d l file entry
281             */
282            @AutoEscape
283            public String getTitle();
284    
285            /**
286             * Sets the title of this d l file entry.
287             *
288             * @param title the title of this d l file entry
289             */
290            public void setTitle(String title);
291    
292            /**
293             * Gets the description of this d l file entry.
294             *
295             * @return the description of this d l file entry
296             */
297            @AutoEscape
298            public String getDescription();
299    
300            /**
301             * Sets the description of this d l file entry.
302             *
303             * @param description the description of this d l file entry
304             */
305            public void setDescription(String description);
306    
307            /**
308             * Gets the extra settings of this d l file entry.
309             *
310             * @return the extra settings of this d l file entry
311             */
312            @AutoEscape
313            public String getExtraSettings();
314    
315            /**
316             * Sets the extra settings of this d l file entry.
317             *
318             * @param extraSettings the extra settings of this d l file entry
319             */
320            public void setExtraSettings(String extraSettings);
321    
322            /**
323             * Gets the version of this d l file entry.
324             *
325             * @return the version of this d l file entry
326             */
327            @AutoEscape
328            public String getVersion();
329    
330            /**
331             * Sets the version of this d l file entry.
332             *
333             * @param version the version of this d l file entry
334             */
335            public void setVersion(String version);
336    
337            /**
338             * Gets the size of this d l file entry.
339             *
340             * @return the size of this d l file entry
341             */
342            public long getSize();
343    
344            /**
345             * Sets the size of this d l file entry.
346             *
347             * @param size the size of this d l file entry
348             */
349            public void setSize(long size);
350    
351            /**
352             * Gets the read count of this d l file entry.
353             *
354             * @return the read count of this d l file entry
355             */
356            public int getReadCount();
357    
358            /**
359             * Sets the read count of this d l file entry.
360             *
361             * @param readCount the read count of this d l file entry
362             */
363            public void setReadCount(int readCount);
364    
365            /**
366             * Gets a copy of this d l file entry as an escaped model instance by wrapping it with an {@link com.liferay.portal.kernel.bean.AutoEscapeBeanHandler}.
367             *
368             * @return the escaped model instance
369             * @see com.liferay.portal.kernel.bean.AutoEscapeBeanHandler
370             */
371            public DLFileEntry toEscapedModel();
372    
373            public boolean isNew();
374    
375            public void setNew(boolean n);
376    
377            public boolean isCachedModel();
378    
379            public void setCachedModel(boolean cachedModel);
380    
381            public boolean isEscapedModel();
382    
383            public void setEscapedModel(boolean escapedModel);
384    
385            public Serializable getPrimaryKeyObj();
386    
387            public ExpandoBridge getExpandoBridge();
388    
389            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
390    
391            public Object clone();
392    
393            public int compareTo(DLFileEntry dlFileEntry);
394    
395            public int hashCode();
396    
397            public String toString();
398    
399            public String toXmlString();
400    }