com.liferay.portal.kernel.repository.model
Class FileVersionWrapper
java.lang.Object
com.liferay.portal.kernel.repository.model.FileVersionWrapper
- All Implemented Interfaces:
- FileVersion, RepositoryModel<FileVersion>, AuditedModel, ClassedModel, GroupedModel, ModelWrapper<FileVersion>, StagedGroupedModel, StagedModel, java.io.Serializable
public class FileVersionWrapper
- extends java.lang.Object
- implements FileVersion, ModelWrapper<FileVersion>
- Author:
- Alexander Chow
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
FileVersionWrapper
public FileVersionWrapper(FileVersion fileVersion)
clone
public java.lang.Object clone()
- Specified by:
clone in interface StagedModel- Overrides:
clone in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object
getAttributes
public java.util.Map<java.lang.String,java.io.Serializable> getAttributes()
- Specified by:
getAttributes in interface RepositoryModel<FileVersion>
getChangeLog
public java.lang.String getChangeLog()
- Specified by:
getChangeLog in interface FileVersion
getCompanyId
public long getCompanyId()
- Specified by:
getCompanyId in interface FileVersion- Specified by:
getCompanyId in interface AuditedModel- Specified by:
getCompanyId in interface StagedModel
getContentStream
public java.io.InputStream getContentStream(boolean incrementCounter)
throws PortalException,
SystemException
- Specified by:
getContentStream in interface FileVersion
- Throws:
PortalException
SystemException
getCreateDate
public java.util.Date getCreateDate()
- Specified by:
getCreateDate in interface FileVersion- Specified by:
getCreateDate in interface AuditedModel- Specified by:
getCreateDate in interface StagedModel
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription in interface FileVersion
getExpandoBridge
public ExpandoBridge getExpandoBridge()
- Specified by:
getExpandoBridge in interface FileVersion- Specified by:
getExpandoBridge in interface ClassedModel
getExtension
public java.lang.String getExtension()
- Specified by:
getExtension in interface FileVersion
getExtraSettings
public java.lang.String getExtraSettings()
- Specified by:
getExtraSettings in interface FileVersion
getFileEntry
public FileEntry getFileEntry()
throws PortalException,
SystemException
- Specified by:
getFileEntry in interface FileVersion
- Throws:
PortalException
SystemException
getFileEntryId
public long getFileEntryId()
- Specified by:
getFileEntryId in interface FileVersion
getFileVersionId
public long getFileVersionId()
- Specified by:
getFileVersionId in interface FileVersion
getGroupId
public long getGroupId()
- Specified by:
getGroupId in interface FileVersion- Specified by:
getGroupId in interface GroupedModel
getIcon
public java.lang.String getIcon()
- Specified by:
getIcon in interface FileVersion
getMimeType
public java.lang.String getMimeType()
- Specified by:
getMimeType in interface FileVersion
getModel
public java.lang.Object getModel()
- Specified by:
getModel in interface RepositoryModel<FileVersion>
getModelClass
public java.lang.Class<?> getModelClass()
- Specified by:
getModelClass in interface ClassedModel
getModelClassName
public java.lang.String getModelClassName()
- Specified by:
getModelClassName in interface ClassedModel
getModifiedDate
public java.util.Date getModifiedDate()
- Specified by:
getModifiedDate in interface AuditedModel- Specified by:
getModifiedDate in interface StagedModel
getPrimaryKey
public long getPrimaryKey()
- Specified by:
getPrimaryKey in interface RepositoryModel<FileVersion>
getPrimaryKeyObj
public java.io.Serializable getPrimaryKeyObj()
- Specified by:
getPrimaryKeyObj in interface ClassedModel
getRepositoryId
public long getRepositoryId()
- Specified by:
getRepositoryId in interface FileVersion
getSize
public long getSize()
- Specified by:
getSize in interface FileVersion
getStagedModelType
public StagedModelType getStagedModelType()
- Specified by:
getStagedModelType in interface StagedModel
getStatus
public int getStatus()
- Specified by:
getStatus in interface FileVersion
getStatusByUserId
public long getStatusByUserId()
- Specified by:
getStatusByUserId in interface FileVersion
getStatusByUserName
public java.lang.String getStatusByUserName()
- Specified by:
getStatusByUserName in interface FileVersion
getStatusByUserUuid
public java.lang.String getStatusByUserUuid()
throws SystemException
- Specified by:
getStatusByUserUuid in interface FileVersion
- Throws:
SystemException
getStatusDate
public java.util.Date getStatusDate()
- Specified by:
getStatusDate in interface FileVersion
getTitle
public java.lang.String getTitle()
- Specified by:
getTitle in interface FileVersion
getUserId
public long getUserId()
- Specified by:
getUserId in interface FileVersion- Specified by:
getUserId in interface AuditedModel
getUserName
public java.lang.String getUserName()
- Specified by:
getUserName in interface FileVersion- Specified by:
getUserName in interface AuditedModel
getUserUuid
public java.lang.String getUserUuid()
throws SystemException
- Specified by:
getUserUuid in interface FileVersion- Specified by:
getUserUuid in interface AuditedModel
- Throws:
SystemException
getUuid
public java.lang.String getUuid()
- Specified by:
getUuid in interface FileVersion- Specified by:
getUuid in interface StagedModel
getVersion
public java.lang.String getVersion()
- Specified by:
getVersion in interface FileVersion
getWrappedModel
public FileVersion getWrappedModel()
- Specified by:
getWrappedModel in interface ModelWrapper<FileVersion>
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
isApproved
public boolean isApproved()
- Specified by:
isApproved in interface FileVersion
isDefaultRepository
public boolean isDefaultRepository()
- Specified by:
isDefaultRepository in interface FileVersion
isDraft
public boolean isDraft()
- Specified by:
isDraft in interface FileVersion
isEscapedModel
public boolean isEscapedModel()
- Specified by:
isEscapedModel in interface RepositoryModel<FileVersion>
isExpired
public boolean isExpired()
- Specified by:
isExpired in interface FileVersion
isPending
public boolean isPending()
- Specified by:
isPending in interface FileVersion
setCompanyId
public void setCompanyId(long companyId)
- Specified by:
setCompanyId in interface AuditedModel- Specified by:
setCompanyId in interface StagedModel
setCreateDate
public void setCreateDate(java.util.Date date)
- Specified by:
setCreateDate in interface AuditedModel- Specified by:
setCreateDate in interface StagedModel
setGroupId
public void setGroupId(long groupId)
- Specified by:
setGroupId in interface GroupedModel
setModifiedDate
public void setModifiedDate(java.util.Date date)
- Specified by:
setModifiedDate in interface AuditedModel- Specified by:
setModifiedDate in interface StagedModel
setPrimaryKeyObj
public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
- Specified by:
setPrimaryKeyObj in interface ClassedModel
setUserId
public void setUserId(long userId)
- Specified by:
setUserId in interface AuditedModel
setUserName
public void setUserName(java.lang.String userName)
- Specified by:
setUserName in interface AuditedModel
setUserUuid
public void setUserUuid(java.lang.String userUuid)
- Specified by:
setUserUuid in interface AuditedModel
setUuid
public void setUuid(java.lang.String uuid)
- Specified by:
setUuid in interface StagedModel
toEscapedModel
public FileVersion toEscapedModel()
- Specified by:
toEscapedModel in interface RepositoryModel<FileVersion>
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
toUnescapedModel
public FileVersion toUnescapedModel()
- Specified by:
toUnescapedModel in interface RepositoryModel<FileVersion>