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     * <p>
030     * This interface is a model that represents the DLFileEntry table in the
031     * database.
032     * </p>
033     *
034     * @author    Brian Wing Shun Chan
035     * @see       DLFileEntry
036     * @see       com.liferay.portlet.documentlibrary.model.impl.DLFileEntryImpl
037     * @see       com.liferay.portlet.documentlibrary.model.impl.DLFileEntryModelImpl
038     * @generated
039     */
040    public interface DLFileEntryModel extends BaseModel<DLFileEntry> {
041            public long getPrimaryKey();
042    
043            public void setPrimaryKey(long pk);
044    
045            @AutoEscape
046            public String getUuid();
047    
048            public void setUuid(String uuid);
049    
050            public long getFileEntryId();
051    
052            public void setFileEntryId(long fileEntryId);
053    
054            public long getGroupId();
055    
056            public void setGroupId(long groupId);
057    
058            public long getCompanyId();
059    
060            public void setCompanyId(long companyId);
061    
062            public long getUserId();
063    
064            public void setUserId(long userId);
065    
066            public String getUserUuid() throws SystemException;
067    
068            public void setUserUuid(String userUuid);
069    
070            @AutoEscape
071            public String getUserName();
072    
073            public void setUserName(String userName);
074    
075            public long getVersionUserId();
076    
077            public void setVersionUserId(long versionUserId);
078    
079            public String getVersionUserUuid() throws SystemException;
080    
081            public void setVersionUserUuid(String versionUserUuid);
082    
083            @AutoEscape
084            public String getVersionUserName();
085    
086            public void setVersionUserName(String versionUserName);
087    
088            public Date getCreateDate();
089    
090            public void setCreateDate(Date createDate);
091    
092            public Date getModifiedDate();
093    
094            public void setModifiedDate(Date modifiedDate);
095    
096            public long getFolderId();
097    
098            public void setFolderId(long folderId);
099    
100            @AutoEscape
101            public String getName();
102    
103            public void setName(String name);
104    
105            @AutoEscape
106            public String getExtension();
107    
108            public void setExtension(String extension);
109    
110            @AutoEscape
111            public String getTitle();
112    
113            public void setTitle(String title);
114    
115            @AutoEscape
116            public String getDescription();
117    
118            public void setDescription(String description);
119    
120            @AutoEscape
121            public String getExtraSettings();
122    
123            public void setExtraSettings(String extraSettings);
124    
125            @AutoEscape
126            public String getVersion();
127    
128            public void setVersion(String version);
129    
130            public long getSize();
131    
132            public void setSize(long size);
133    
134            public int getReadCount();
135    
136            public void setReadCount(int readCount);
137    
138            public DLFileEntry toEscapedModel();
139    
140            public boolean isNew();
141    
142            public void setNew(boolean n);
143    
144            public boolean isCachedModel();
145    
146            public void setCachedModel(boolean cachedModel);
147    
148            public boolean isEscapedModel();
149    
150            public void setEscapedModel(boolean escapedModel);
151    
152            public Serializable getPrimaryKeyObj();
153    
154            public ExpandoBridge getExpandoBridge();
155    
156            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
157    
158            public Object clone();
159    
160            public int compareTo(DLFileEntry dlFileEntry);
161    
162            public int hashCode();
163    
164            public String toString();
165    
166            public String toXmlString();
167    }