Liferay 7.0-ce-b4

com.liferay.portal.kernel.repository.model
Interface FileVersion

All Superinterfaces:
AuditedModel, ClassedModel, GroupedModel, RepositoryModel<FileVersion>, Serializable, StagedGroupedModel, StagedModel
All Known Implementing Classes:
FileVersionProxyBean, FileVersionWrapper, LiferayFileVersion

public interface FileVersion
extends RepositoryModel<FileVersion>


Method Summary
 String getChangeLog()
           
 long getCompanyId()
           
 InputStream getContentStream(boolean incrementCounter)
           
 Date getCreateDate()
           
 String getDescription()
           
 ExpandoBridge getExpandoBridge()
           
 String getExtension()
           
 String getExtraSettings()
           
 FileEntry getFileEntry()
           
 long getFileEntryId()
           
 String getFileName()
           
 long getFileVersionId()
           
 long getGroupId()
           
 String getIcon()
           
 String getMimeType()
           
 long getRepositoryId()
           
 long getSize()
           
 int getStatus()
           
 long getStatusByUserId()
           
 String getStatusByUserName()
           
 String getStatusByUserUuid()
           
 Date getStatusDate()
           
 String getTitle()
           
 long getUserId()
           
 String getUserName()
           
 String getUserUuid()
           
 String getUuid()
           
 String getVersion()
           
 boolean isApproved()
           
 boolean isDefaultRepository()
           
 boolean isDraft()
           
 boolean isExpired()
           
 boolean isPending()
           
 
Methods inherited from interface com.liferay.portal.kernel.repository.model.RepositoryModel
execute, getAttributes, getModel, getPrimaryKey, isEscapedModel, toEscapedModel, toUnescapedModel
 
Methods inherited from interface com.liferay.portal.model.StagedGroupedModel
getLastPublishDate, setLastPublishDate
 
Methods inherited from interface com.liferay.portal.model.GroupedModel
setGroupId
 
Methods inherited from interface com.liferay.portal.model.AuditedModel
getModifiedDate, setCompanyId, setCreateDate, setModifiedDate, setUserId, setUserName, setUserUuid
 
Methods inherited from interface com.liferay.portal.model.ClassedModel
getModelClass, getModelClassName, getPrimaryKeyObj, setPrimaryKeyObj
 
Methods inherited from interface com.liferay.portal.model.StagedModel
clone, getModifiedDate, getStagedModelType, setCompanyId, setCreateDate, setModifiedDate, setUuid
 

Method Detail

getChangeLog

String getChangeLog()

getCompanyId

long getCompanyId()
Specified by:
getCompanyId in interface AuditedModel
Specified by:
getCompanyId in interface StagedModel

getContentStream

InputStream getContentStream(boolean incrementCounter)
                             throws PortalException
Throws:
PortalException

getCreateDate

Date getCreateDate()
Specified by:
getCreateDate in interface AuditedModel
Specified by:
getCreateDate in interface StagedModel

getDescription

String getDescription()

getExpandoBridge

ExpandoBridge getExpandoBridge()
Specified by:
getExpandoBridge in interface ClassedModel

getExtension

String getExtension()

getExtraSettings

String getExtraSettings()

getFileEntry

FileEntry getFileEntry()
                       throws PortalException
Throws:
PortalException

getFileEntryId

long getFileEntryId()

getFileName

String getFileName()

getFileVersionId

long getFileVersionId()

getGroupId

long getGroupId()
Specified by:
getGroupId in interface GroupedModel

getIcon

String getIcon()

getMimeType

String getMimeType()

getRepositoryId

long getRepositoryId()

getSize

long getSize()

getStatus

int getStatus()

getStatusByUserId

long getStatusByUserId()

getStatusByUserName

String getStatusByUserName()

getStatusByUserUuid

String getStatusByUserUuid()

getStatusDate

Date getStatusDate()

getTitle

String getTitle()

getUserId

long getUserId()
Specified by:
getUserId in interface AuditedModel

getUserName

String getUserName()
Specified by:
getUserName in interface AuditedModel

getUserUuid

String getUserUuid()
Specified by:
getUserUuid in interface AuditedModel

getUuid

String getUuid()
Specified by:
getUuid in interface StagedModel

getVersion

String getVersion()

isApproved

boolean isApproved()

isDefaultRepository

boolean isDefaultRepository()

isDraft

boolean isDraft()

isExpired

boolean isExpired()

isPending

boolean isPending()

Liferay 7.0-ce-b4