Liferay 6.2.0

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

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

public interface FileVersion
extends RepositoryModel<FileVersion>


Method Summary
abstract  String getChangeLog()
           
abstract  long getCompanyId()
           
abstract  InputStream getContentStream(boolean incrementCounter)
           
abstract  Date getCreateDate()
           
abstract  String getDescription()
           
abstract  ExpandoBridge getExpandoBridge()
           
abstract  String getExtension()
           
abstract  String getExtraSettings()
           
abstract  FileEntry getFileEntry()
           
abstract  long getFileEntryId()
           
abstract  long getFileVersionId()
           
abstract  long getGroupId()
           
abstract  String getIcon()
           
abstract  String getMimeType()
           
abstract  long getRepositoryId()
           
abstract  long getSize()
           
abstract  int getStatus()
           
abstract  long getStatusByUserId()
           
abstract  String getStatusByUserName()
           
abstract  String getStatusByUserUuid()
           
abstract  Date getStatusDate()
           
abstract  String getTitle()
           
abstract  long getUserId()
           
abstract  String getUserName()
           
abstract  String getUserUuid()
           
abstract  String getUuid()
           
abstract  String getVersion()
           
abstract  boolean isApproved()
           
abstract  boolean isDefaultRepository()
           
abstract  boolean isDraft()
           
abstract  boolean isExpired()
           
abstract  boolean isPending()
           
 
Methods inherited from interface com.liferay.portal.kernel.repository.model.RepositoryModel
getAttributes, getModel, getPrimaryKey, isEscapedModel, toEscapedModel, toUnescapedModel
 
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,
                                    SystemException
Throws:
PortalException
SystemException

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,
                              SystemException
Throws:
PortalException
SystemException

getFileEntryId

long getFileEntryId()

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()
                           throws SystemException
Throws:
SystemException

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()
                   throws SystemException
Specified by:
getUserUuid in interface AuditedModel
Throws:
SystemException

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 6.2.0