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 DLFileVersion table in the
031     * database.
032     * </p>
033     *
034     * @author    Brian Wing Shun Chan
035     * @see       DLFileVersion
036     * @see       com.liferay.portlet.documentlibrary.model.impl.DLFileVersionImpl
037     * @see       com.liferay.portlet.documentlibrary.model.impl.DLFileVersionModelImpl
038     * @generated
039     */
040    public interface DLFileVersionModel extends BaseModel<DLFileVersion> {
041            public long getPrimaryKey();
042    
043            public void setPrimaryKey(long pk);
044    
045            public long getFileVersionId();
046    
047            public void setFileVersionId(long fileVersionId);
048    
049            public long getGroupId();
050    
051            public void setGroupId(long groupId);
052    
053            public long getCompanyId();
054    
055            public void setCompanyId(long companyId);
056    
057            public long getUserId();
058    
059            public void setUserId(long userId);
060    
061            public String getUserUuid() throws SystemException;
062    
063            public void setUserUuid(String userUuid);
064    
065            @AutoEscape
066            public String getUserName();
067    
068            public void setUserName(String userName);
069    
070            public Date getCreateDate();
071    
072            public void setCreateDate(Date createDate);
073    
074            public long getFolderId();
075    
076            public void setFolderId(long folderId);
077    
078            @AutoEscape
079            public String getName();
080    
081            public void setName(String name);
082    
083            @AutoEscape
084            public String getExtension();
085    
086            public void setExtension(String extension);
087    
088            @AutoEscape
089            public String getTitle();
090    
091            public void setTitle(String title);
092    
093            @AutoEscape
094            public String getDescription();
095    
096            public void setDescription(String description);
097    
098            @AutoEscape
099            public String getChangeLog();
100    
101            public void setChangeLog(String changeLog);
102    
103            @AutoEscape
104            public String getExtraSettings();
105    
106            public void setExtraSettings(String extraSettings);
107    
108            @AutoEscape
109            public String getVersion();
110    
111            public void setVersion(String version);
112    
113            public long getSize();
114    
115            public void setSize(long size);
116    
117            public int getStatus();
118    
119            public void setStatus(int status);
120    
121            public long getStatusByUserId();
122    
123            public void setStatusByUserId(long statusByUserId);
124    
125            public String getStatusByUserUuid() throws SystemException;
126    
127            public void setStatusByUserUuid(String statusByUserUuid);
128    
129            @AutoEscape
130            public String getStatusByUserName();
131    
132            public void setStatusByUserName(String statusByUserName);
133    
134            public Date getStatusDate();
135    
136            public void setStatusDate(Date statusDate);
137    
138            public boolean isApproved();
139    
140            public boolean isDraft();
141    
142            public boolean isExpired();
143    
144            public boolean isPending();
145    
146            public DLFileVersion toEscapedModel();
147    
148            public boolean isNew();
149    
150            public void setNew(boolean n);
151    
152            public boolean isCachedModel();
153    
154            public void setCachedModel(boolean cachedModel);
155    
156            public boolean isEscapedModel();
157    
158            public void setEscapedModel(boolean escapedModel);
159    
160            public Serializable getPrimaryKeyObj();
161    
162            public ExpandoBridge getExpandoBridge();
163    
164            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
165    
166            public Object clone();
167    
168            public int compareTo(DLFileVersion dlFileVersion);
169    
170            public int hashCode();
171    
172            public String toString();
173    
174            public String toXmlString();
175    }