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