001
014
015 package com.liferay.portal.kernel.repository.model;
016
017 import com.liferay.portal.kernel.exception.PortalException;
018 import com.liferay.portal.kernel.exception.SystemException;
019 import com.liferay.portlet.expando.model.ExpandoBridge;
020
021 import java.io.InputStream;
022
023 import java.util.Date;
024
025
028 public interface FileVersion extends RepositoryModel<FileVersion> {
029
030 public String getChangeLog();
031
032 public long getCompanyId();
033
034 public InputStream getContentStream(boolean incrementCounter)
035 throws PortalException, SystemException;
036
037 public Date getCreateDate();
038
039 public String getDescription();
040
041 public ExpandoBridge getExpandoBridge();
042
043 public String getExtension();
044
045 public String getExtraSettings();
046
047 public FileEntry getFileEntry() throws PortalException, SystemException;
048
049 public long getFileEntryId();
050
051 public long getFileVersionId();
052
053 public long getGroupId();
054
055 public String getIcon();
056
057 public String getMimeType();
058
059 public long getRepositoryId();
060
061 public long getSize();
062
063 public int getStatus();
064
065 public long getStatusByUserId();
066
067 public String getStatusByUserName();
068
069 public String getStatusByUserUuid() throws SystemException;
070
071 public Date getStatusDate();
072
073 public String getTitle();
074
075 public long getUserId();
076
077 public String getUserName();
078
079 public String getUserUuid() throws SystemException;
080
081 public String getUuid();
082
083 public String getVersion();
084
085 public boolean isApproved();
086
087 public boolean isDefaultRepository();
088
089 public boolean isDraft();
090
091 public boolean isExpired();
092
093 public boolean isPending();
094
095 }