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 long getCustom1ImageId();
040
041 public long getCustom2ImageId();
042
043 public String getDescription();
044
045 public ExpandoBridge getExpandoBridge();
046
047 public String getExtension();
048
049 public String getExtraSettings();
050
051 public FileEntry getFileEntry() throws PortalException, SystemException;
052
053 public long getFileEntryId();
054
055 public long getFileVersionId();
056
057 public long getGroupId();
058
059 public String getIcon();
060
061 public String getImageType();
062
063 public long getLargeImageId();
064
065 public String getMimeType();
066
067 public long getRepositoryId();
068
069 public long getSize();
070
071 public long getSmallImageId();
072
073 public int getStatus();
074
075 public long getStatusByUserId();
076
077 public String getStatusByUserName();
078
079 public String getStatusByUserUuid() throws SystemException;
080
081 public Date getStatusDate();
082
083 public String getTitle();
084
085 public long getUserId();
086
087 public String getUserName();
088
089 public String getUserUuid() throws SystemException;
090
091 public String getVersion();
092
093 public boolean isApproved();
094
095 public boolean isDefaultRepository();
096
097 public boolean isDraft();
098
099 public boolean isExpired();
100
101 public boolean isPending();
102
103 }