Class FileVersionWrapper
Object
com.liferay.portal.kernel.repository.model.FileVersionWrapper
- All Implemented Interfaces:
AuditedModel,ClassedModel,GroupedModel,ModelWrapper<FileVersion>,StagedGroupedModel,StagedModel,FileVersion,RepositoryModel<FileVersion>,Serializable
- Author:
- Alexander Chow
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanvoidexecute(RepositoryModelOperation repositoryModelOperation) longgetContentStream(boolean incrementCounter) longlonglonggetIcon()getModel()Class<?>longlonglonggetSize()intlonggetTitle()longgetUuid()inthashCode()booleanbooleanbooleanisDraft()booleanbooleanbooleanbooleanvoidsetCompanyId(long companyId) voidsetCreateDate(Date createDate) voidsetGroupId(long groupId) voidsetLastPublishDate(Date lastPublishDate) voidsetModifiedDate(Date modifiedDate) voidsetPrimaryKeyObj(Serializable primaryKeyObj) voidsetUserId(long userId) voidsetUserName(String userName) voidsetUserUuid(String userUuid) voidtoString()Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.repository.model.FileVersion
getCtCollectionId
-
Constructor Details
-
FileVersionWrapper
-
-
Method Details
-
clone
- Specified by:
clonein interfaceStagedModel- Overrides:
clonein classObject
-
equals
-
execute
- Specified by:
executein interfaceRepositoryModel<FileVersion>- Throws:
PortalException
-
getAttributes
- Specified by:
getAttributesin interfaceRepositoryModel<FileVersion>
-
getChangeLog
- Specified by:
getChangeLogin interfaceFileVersion
-
getCompanyId
public long getCompanyId()- Specified by:
getCompanyIdin interfaceAuditedModel- Specified by:
getCompanyIdin interfaceFileVersion- Specified by:
getCompanyIdin interfaceStagedModel
-
getContentStream
- Specified by:
getContentStreamin interfaceFileVersion- Throws:
PortalException
-
getCreateDate
- Specified by:
getCreateDatein interfaceAuditedModel- Specified by:
getCreateDatein interfaceFileVersion- Specified by:
getCreateDatein interfaceStagedModel
-
getDescription
- Specified by:
getDescriptionin interfaceFileVersion
-
getDisplayDate
- Specified by:
getDisplayDatein interfaceFileVersion
-
getExpandoBridge
- Specified by:
getExpandoBridgein interfaceClassedModel- Specified by:
getExpandoBridgein interfaceFileVersion
-
getExpirationDate
- Specified by:
getExpirationDatein interfaceFileVersion
-
getExtension
- Specified by:
getExtensionin interfaceFileVersion
-
getExtraSettings
- Specified by:
getExtraSettingsin interfaceFileVersion
-
getFileEntry
- Specified by:
getFileEntryin interfaceFileVersion- Throws:
PortalException
-
getFileEntryId
public long getFileEntryId()- Specified by:
getFileEntryIdin interfaceFileVersion
-
getFileName
- Specified by:
getFileNamein interfaceFileVersion
-
getFileVersionId
public long getFileVersionId()- Specified by:
getFileVersionIdin interfaceFileVersion
-
getGroupId
public long getGroupId()- Specified by:
getGroupIdin interfaceFileVersion- Specified by:
getGroupIdin interfaceGroupedModel
-
getIcon
- Specified by:
getIconin interfaceFileVersion
-
getLastPublishDate
- Specified by:
getLastPublishDatein interfaceStagedGroupedModel
-
getMimeType
- Specified by:
getMimeTypein interfaceFileVersion
-
getModel
- Specified by:
getModelin interfaceRepositoryModel<FileVersion>
-
getModelClass
- Specified by:
getModelClassin interfaceClassedModel
-
getModelClassName
- Specified by:
getModelClassNamein interfaceClassedModel
-
getModifiedDate
- Specified by:
getModifiedDatein interfaceAuditedModel- Specified by:
getModifiedDatein interfaceStagedModel
-
getPrimaryKey
public long getPrimaryKey()- Specified by:
getPrimaryKeyin interfaceRepositoryModel<FileVersion>
-
getPrimaryKeyObj
- Specified by:
getPrimaryKeyObjin interfaceClassedModel
-
getRepositoryId
public long getRepositoryId()- Specified by:
getRepositoryIdin interfaceFileVersion
-
getReviewDate
- Specified by:
getReviewDatein interfaceFileVersion
-
getSize
public long getSize()- Specified by:
getSizein interfaceFileVersion
-
getStagedModelType
- Specified by:
getStagedModelTypein interfaceStagedModel
-
getStatus
public int getStatus()- Specified by:
getStatusin interfaceFileVersion
-
getStatusByUserId
public long getStatusByUserId()- Specified by:
getStatusByUserIdin interfaceFileVersion
-
getStatusByUserName
- Specified by:
getStatusByUserNamein interfaceFileVersion
-
getStatusByUserUuid
- Specified by:
getStatusByUserUuidin interfaceFileVersion
-
getStatusDate
- Specified by:
getStatusDatein interfaceFileVersion
-
getTitle
- Specified by:
getTitlein interfaceFileVersion
-
getUserId
public long getUserId()- Specified by:
getUserIdin interfaceAuditedModel- Specified by:
getUserIdin interfaceFileVersion
-
getUserName
- Specified by:
getUserNamein interfaceAuditedModel- Specified by:
getUserNamein interfaceFileVersion
-
getUserUuid
- Specified by:
getUserUuidin interfaceAuditedModel- Specified by:
getUserUuidin interfaceFileVersion
-
getUuid
- Specified by:
getUuidin interfaceFileVersion- Specified by:
getUuidin interfaceStagedModel
-
getVersion
- Specified by:
getVersionin interfaceFileVersion
-
getWrappedModel
- Specified by:
getWrappedModelin interfaceModelWrapper<FileVersion>
-
hashCode
public int hashCode() -
isApproved
public boolean isApproved()- Specified by:
isApprovedin interfaceFileVersion
-
isDefaultRepository
public boolean isDefaultRepository()- Specified by:
isDefaultRepositoryin interfaceFileVersion
-
isDraft
public boolean isDraft()- Specified by:
isDraftin interfaceFileVersion
-
isEscapedModel
public boolean isEscapedModel()- Specified by:
isEscapedModelin interfaceRepositoryModel<FileVersion>
-
isExpired
public boolean isExpired()- Specified by:
isExpiredin interfaceFileVersion
-
isPending
public boolean isPending()- Specified by:
isPendingin interfaceFileVersion
-
isScheduled
public boolean isScheduled()- Specified by:
isScheduledin interfaceFileVersion
-
setCompanyId
public void setCompanyId(long companyId) - Specified by:
setCompanyIdin interfaceAuditedModel- Specified by:
setCompanyIdin interfaceStagedModel
-
setCreateDate
- Specified by:
setCreateDatein interfaceAuditedModel- Specified by:
setCreateDatein interfaceStagedModel
-
setGroupId
public void setGroupId(long groupId) - Specified by:
setGroupIdin interfaceGroupedModel
-
setLastPublishDate
- Specified by:
setLastPublishDatein interfaceStagedGroupedModel
-
setModifiedDate
- Specified by:
setModifiedDatein interfaceAuditedModel- Specified by:
setModifiedDatein interfaceStagedModel
-
setPrimaryKeyObj
- Specified by:
setPrimaryKeyObjin interfaceClassedModel
-
setUserId
public void setUserId(long userId) - Specified by:
setUserIdin interfaceAuditedModel
-
setUserName
- Specified by:
setUserNamein interfaceAuditedModel
-
setUserUuid
- Specified by:
setUserUuidin interfaceAuditedModel
-
setUuid
- Specified by:
setUuidin interfaceStagedModel
-
toEscapedModel
- Specified by:
toEscapedModelin interfaceRepositoryModel<FileVersion>
-
toString
-
toUnescapedModel
- Specified by:
toUnescapedModelin interfaceRepositoryModel<FileVersion>
-