com.liferay.portal.repository.proxy
Class FileVersionProxyBean
java.lang.Object
com.liferay.portal.repository.proxy.RepositoryModelProxyBean
com.liferay.portal.repository.proxy.FileVersionProxyBean
- All Implemented Interfaces:
- FileVersion, RepositoryModel<FileVersion>, AuditedModel, ClassedModel, GroupedModel, StagedGroupedModel, StagedModel, Serializable
public class FileVersionProxyBean
- extends RepositoryModelProxyBean
- implements FileVersion
- See Also:
- Serialized Form
| Methods inherited from class com.liferay.portal.repository.proxy.RepositoryModelProxyBean |
newFileEntryProxyBean, newFileShortcutProxyBean, newFileVersionProxyBean, newFolderProxyBean, newLocalRepositoryProxyBean, newProxyBean, newProxyInstance, toFileEntryProxyBeans, toFileVersionProxyBeans, toFolderProxyBeans, toObjectProxyBeans |
FileVersionProxyBean
public FileVersionProxyBean(FileVersion fileVersion,
ClassLoader classLoader)
clone
public Object clone()
- Specified by:
clone in interface StagedModel- Overrides:
clone in class Object
execute
public void execute(RepositoryModelOperation repositoryModelOperation)
throws PortalException
- Specified by:
execute in interface RepositoryModel<FileVersion>
- Throws:
PortalException
getAttributes
public Map<String,Serializable> getAttributes()
- Specified by:
getAttributes in interface RepositoryModel<FileVersion>
getChangeLog
public 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 InputStream getContentStream(boolean incrementCounter)
throws PortalException
- Specified by:
getContentStream in interface FileVersion
- Throws:
PortalException
getCreateDate
public Date getCreateDate()
- Specified by:
getCreateDate in interface FileVersion- Specified by:
getCreateDate in interface AuditedModel- Specified by:
getCreateDate in interface StagedModel
getDescription
public 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 String getExtension()
- Specified by:
getExtension in interface FileVersion
getExtraSettings
public String getExtraSettings()
- Specified by:
getExtraSettings in interface FileVersion
getFileEntry
public FileEntry getFileEntry()
throws PortalException
- Specified by:
getFileEntry in interface FileVersion
- Throws:
PortalException
getFileEntryId
public long getFileEntryId()
- Specified by:
getFileEntryId in interface FileVersion
getFileName
public String getFileName()
- Specified by:
getFileName 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 String getIcon()
- Specified by:
getIcon in interface FileVersion
getLastPublishDate
public Date getLastPublishDate()
- Specified by:
getLastPublishDate in interface StagedGroupedModel
getMimeType
public String getMimeType()
- Specified by:
getMimeType in interface FileVersion
getModel
public Object getModel()
- Specified by:
getModel in interface RepositoryModel<FileVersion>
getModelClass
public Class<?> getModelClass()
- Specified by:
getModelClass in interface ClassedModel
getModelClassName
public String getModelClassName()
- Specified by:
getModelClassName in interface ClassedModel
getModifiedDate
public 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 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 String getStatusByUserName()
- Specified by:
getStatusByUserName in interface FileVersion
getStatusByUserUuid
public String getStatusByUserUuid()
- Specified by:
getStatusByUserUuid in interface FileVersion
getStatusDate
public Date getStatusDate()
- Specified by:
getStatusDate in interface FileVersion
getTitle
public 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 String getUserName()
- Specified by:
getUserName in interface FileVersion- Specified by:
getUserName in interface AuditedModel
getUserUuid
public String getUserUuid()
- Specified by:
getUserUuid in interface FileVersion- Specified by:
getUserUuid in interface AuditedModel
getUuid
public String getUuid()
- Specified by:
getUuid in interface FileVersion- Specified by:
getUuid in interface StagedModel
getVersion
public String getVersion()
- Specified by:
getVersion in interface FileVersion
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(Date createDate)
- Specified by:
setCreateDate in interface AuditedModel- Specified by:
setCreateDate in interface StagedModel
setGroupId
public void setGroupId(long groupId)
- Specified by:
setGroupId in interface GroupedModel
setLastPublishDate
public void setLastPublishDate(Date lastPublishDate)
- Specified by:
setLastPublishDate in interface StagedGroupedModel
setModifiedDate
public void setModifiedDate(Date modifiedDate)
- Specified by:
setModifiedDate in interface AuditedModel- Specified by:
setModifiedDate in interface StagedModel
setPrimaryKeyObj
public void setPrimaryKeyObj(Serializable primaryKeyObj)
- Specified by:
setPrimaryKeyObj in interface ClassedModel
setUserId
public void setUserId(long userId)
- Specified by:
setUserId in interface AuditedModel
setUserName
public void setUserName(String userName)
- Specified by:
setUserName in interface AuditedModel
setUserUuid
public void setUserUuid(String userUuid)
- Specified by:
setUserUuid in interface AuditedModel
setUuid
public void setUuid(String uuid)
- Specified by:
setUuid in interface StagedModel
toEscapedModel
public FileVersion toEscapedModel()
- Specified by:
toEscapedModel in interface RepositoryModel<FileVersion>
toUnescapedModel
public FileVersion toUnescapedModel()
- Specified by:
toUnescapedModel in interface RepositoryModel<FileVersion>