Interface DLFileVersionModel
- All Superinterfaces:
AuditedModel
,BaseModel<DLFileVersion>
,ClassedModel
,Cloneable
,Comparable<DLFileVersion>
,CTModel<DLFileVersion>
,GroupedModel
,MVCCModel
,Serializable
,ShardedModel
,StagedGroupedModel
,StagedModel
,WorkflowedModel
- All Known Subinterfaces:
DLFileVersion
- All Known Implementing Classes:
DLFileVersionWrapper
@ProviderType
public interface DLFileVersionModel
extends BaseModel<DLFileVersion>, CTModel<DLFileVersion>, MVCCModel, ShardedModel, StagedGroupedModel, WorkflowedModel
The base model interface for the DLFileVersion service. Represents a row in the "DLFileVersion" database table, with each column mapped to a property of this class.
This interface and its corresponding implementation com.liferay.portlet.documentlibrary.model.impl.DLFileVersionModelImpl
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.portlet.documentlibrary.model.impl.DLFileVersionImpl
.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Method Summary
Modifier and TypeMethodDescriptionReturns the change log of this document library file version.Returns the checksum of this document library file version.long
Returns the company ID of this document library file version.Returns the create date of this document library file version.long
Returns the ct collection ID of this document library file version.Returns the description of this document library file version.Returns the display date of this document library file version.Returns the expiration date of this document library file version.Returns the extension of this document library file version.Returns the extra settings of this document library file version.long
Returns the file entry ID of this document library file version.long
Returns the file entry type ID of this document library file version.Returns the file name of this document library file version.long
Returns the file version ID of this document library file version.long
Returns the folder ID of this document library file version.long
Returns the group ID of this document library file version.Returns the last publish date of this document library file version.Returns the mime type of this document library file version.Returns the modified date of this document library file version.long
Returns the mvcc version of this document library file version.long
Returns the primary key of this document library file version.long
Returns the repository ID of this document library file version.Returns the review date of this document library file version.long
getSize()
Returns the size of this document library file version.int
Returns the status of this document library file version.long
Returns the status by user ID of this document library file version.Returns the status by user name of this document library file version.Returns the status by user uuid of this document library file version.Returns the status date of this document library file version.Returns the store uuid of this document library file version.getTitle()
Returns the title of this document library file version.Returns the tree path of this document library file version.long
Returns the user ID of this document library file version.Returns the user name of this document library file version.Returns the user uuid of this document library file version.getUuid()
Returns the uuid of this document library file version.Returns the version of this document library file version.boolean
Returnstrue
if this document library file version is approved.boolean
isDenied()
Returnstrue
if this document library file version is denied.boolean
isDraft()
Returnstrue
if this document library file version is a draft.boolean
Returnstrue
if this document library file version is expired.boolean
Returnstrue
if this document library file version is inactive.boolean
Returnstrue
if this document library file version is incomplete.boolean
Returnstrue
if this document library file version is pending.boolean
Returnstrue
if this document library file version is scheduled.void
setChangeLog
(String changeLog) Sets the change log of this document library file version.void
setChecksum
(String checksum) Sets the checksum of this document library file version.void
setCompanyId
(long companyId) Sets the company ID of this document library file version.void
setCreateDate
(Date createDate) Sets the create date of this document library file version.void
setCtCollectionId
(long ctCollectionId) Sets the ct collection ID of this document library file version.void
setDescription
(String description) Sets the description of this document library file version.void
setDisplayDate
(Date displayDate) Sets the display date of this document library file version.void
setExpirationDate
(Date expirationDate) Sets the expiration date of this document library file version.void
setExtension
(String extension) Sets the extension of this document library file version.void
setExtraSettings
(String extraSettings) Sets the extra settings of this document library file version.void
setFileEntryId
(long fileEntryId) Sets the file entry ID of this document library file version.void
setFileEntryTypeId
(long fileEntryTypeId) Sets the file entry type ID of this document library file version.void
setFileName
(String fileName) Sets the file name of this document library file version.void
setFileVersionId
(long fileVersionId) Sets the file version ID of this document library file version.void
setFolderId
(long folderId) Sets the folder ID of this document library file version.void
setGroupId
(long groupId) Sets the group ID of this document library file version.void
setLastPublishDate
(Date lastPublishDate) Sets the last publish date of this document library file version.void
setMimeType
(String mimeType) Sets the mime type of this document library file version.void
setModifiedDate
(Date modifiedDate) Sets the modified date of this document library file version.void
setMvccVersion
(long mvccVersion) Sets the mvcc version of this document library file version.void
setPrimaryKey
(long primaryKey) Sets the primary key of this document library file version.void
setRepositoryId
(long repositoryId) Sets the repository ID of this document library file version.void
setReviewDate
(Date reviewDate) Sets the review date of this document library file version.void
setSize
(long size) Sets the size of this document library file version.void
setStatus
(int status) Sets the status of this document library file version.void
setStatusByUserId
(long statusByUserId) Sets the status by user ID of this document library file version.void
setStatusByUserName
(String statusByUserName) Sets the status by user name of this document library file version.void
setStatusByUserUuid
(String statusByUserUuid) Sets the status by user uuid of this document library file version.void
setStatusDate
(Date statusDate) Sets the status date of this document library file version.void
setStoreUUID
(String storeUUID) Sets the store uuid of this document library file version.void
Sets the title of this document library file version.void
setTreePath
(String treePath) Sets the tree path of this document library file version.void
setUserId
(long userId) Sets the user ID of this document library file version.void
setUserName
(String userName) Sets the user name of this document library file version.void
setUserUuid
(String userUuid) Sets the user uuid of this document library file version.void
Sets the uuid of this document library file version.void
setVersion
(String version) Sets the version of this document library file version.default String
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone, getStagedModelType
-
Method Details
-
getPrimaryKey
long getPrimaryKey()Returns the primary key of this document library file version.- Specified by:
getPrimaryKey
in interfaceCTModel<DLFileVersion>
- Returns:
- the primary key of this document library file version
-
setPrimaryKey
void setPrimaryKey(long primaryKey) Sets the primary key of this document library file version.- Specified by:
setPrimaryKey
in interfaceCTModel<DLFileVersion>
- Parameters:
primaryKey
- the primary key of this document library file version
-
getMvccVersion
long getMvccVersion()Returns the mvcc version of this document library file version.- Specified by:
getMvccVersion
in interfaceMVCCModel
- Returns:
- the mvcc version of this document library file version
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this document library file version.- Specified by:
setMvccVersion
in interfaceMVCCModel
- Parameters:
mvccVersion
- the mvcc version of this document library file version
-
getCtCollectionId
long getCtCollectionId()Returns the ct collection ID of this document library file version.- Specified by:
getCtCollectionId
in interfaceCTModel<DLFileVersion>
- Returns:
- the ct collection ID of this document library file version
-
setCtCollectionId
void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this document library file version.- Specified by:
setCtCollectionId
in interfaceCTModel<DLFileVersion>
- Parameters:
ctCollectionId
- the ct collection ID of this document library file version
-
getUuid
Returns the uuid of this document library file version.- Specified by:
getUuid
in interfaceStagedModel
- Returns:
- the uuid of this document library file version
-
setUuid
Sets the uuid of this document library file version.- Specified by:
setUuid
in interfaceStagedModel
- Parameters:
uuid
- the uuid of this document library file version
-
getFileVersionId
long getFileVersionId()Returns the file version ID of this document library file version.- Returns:
- the file version ID of this document library file version
-
setFileVersionId
void setFileVersionId(long fileVersionId) Sets the file version ID of this document library file version.- Parameters:
fileVersionId
- the file version ID of this document library file version
-
getGroupId
long getGroupId()Returns the group ID of this document library file version.- Specified by:
getGroupId
in interfaceGroupedModel
- Returns:
- the group ID of this document library file version
-
setGroupId
void setGroupId(long groupId) Sets the group ID of this document library file version.- Specified by:
setGroupId
in interfaceGroupedModel
- Parameters:
groupId
- the group ID of this document library file version
-
getCompanyId
long getCompanyId()Returns the company ID of this document library file version.- Specified by:
getCompanyId
in interfaceAuditedModel
- Specified by:
getCompanyId
in interfaceShardedModel
- Specified by:
getCompanyId
in interfaceStagedModel
- Returns:
- the company ID of this document library file version
-
setCompanyId
void setCompanyId(long companyId) Sets the company ID of this document library file version.- Specified by:
setCompanyId
in interfaceAuditedModel
- Specified by:
setCompanyId
in interfaceShardedModel
- Specified by:
setCompanyId
in interfaceStagedModel
- Parameters:
companyId
- the company ID of this document library file version
-
getUserId
long getUserId()Returns the user ID of this document library file version.- Specified by:
getUserId
in interfaceAuditedModel
- Returns:
- the user ID of this document library file version
-
setUserId
void setUserId(long userId) Sets the user ID of this document library file version.- Specified by:
setUserId
in interfaceAuditedModel
- Parameters:
userId
- the user ID of this document library file version
-
getUserUuid
String getUserUuid()Returns the user uuid of this document library file version.- Specified by:
getUserUuid
in interfaceAuditedModel
- Returns:
- the user uuid of this document library file version
-
setUserUuid
Sets the user uuid of this document library file version.- Specified by:
setUserUuid
in interfaceAuditedModel
- Parameters:
userUuid
- the user uuid of this document library file version
-
getUserName
Returns the user name of this document library file version.- Specified by:
getUserName
in interfaceAuditedModel
- Returns:
- the user name of this document library file version
-
setUserName
Sets the user name of this document library file version.- Specified by:
setUserName
in interfaceAuditedModel
- Parameters:
userName
- the user name of this document library file version
-
getCreateDate
Date getCreateDate()Returns the create date of this document library file version.- Specified by:
getCreateDate
in interfaceAuditedModel
- Specified by:
getCreateDate
in interfaceStagedModel
- Returns:
- the create date of this document library file version
-
setCreateDate
Sets the create date of this document library file version.- Specified by:
setCreateDate
in interfaceAuditedModel
- Specified by:
setCreateDate
in interfaceStagedModel
- Parameters:
createDate
- the create date of this document library file version
-
getModifiedDate
Date getModifiedDate()Returns the modified date of this document library file version.- Specified by:
getModifiedDate
in interfaceAuditedModel
- Specified by:
getModifiedDate
in interfaceStagedModel
- Returns:
- the modified date of this document library file version
-
setModifiedDate
Sets the modified date of this document library file version.- Specified by:
setModifiedDate
in interfaceAuditedModel
- Specified by:
setModifiedDate
in interfaceStagedModel
- Parameters:
modifiedDate
- the modified date of this document library file version
-
getRepositoryId
long getRepositoryId()Returns the repository ID of this document library file version.- Returns:
- the repository ID of this document library file version
-
setRepositoryId
void setRepositoryId(long repositoryId) Sets the repository ID of this document library file version.- Parameters:
repositoryId
- the repository ID of this document library file version
-
getFolderId
long getFolderId()Returns the folder ID of this document library file version.- Returns:
- the folder ID of this document library file version
-
setFolderId
void setFolderId(long folderId) Sets the folder ID of this document library file version.- Parameters:
folderId
- the folder ID of this document library file version
-
getFileEntryId
long getFileEntryId()Returns the file entry ID of this document library file version.- Returns:
- the file entry ID of this document library file version
-
setFileEntryId
void setFileEntryId(long fileEntryId) Sets the file entry ID of this document library file version.- Parameters:
fileEntryId
- the file entry ID of this document library file version
-
getTreePath
Returns the tree path of this document library file version.- Returns:
- the tree path of this document library file version
-
setTreePath
Sets the tree path of this document library file version.- Parameters:
treePath
- the tree path of this document library file version
-
getFileName
Returns the file name of this document library file version.- Returns:
- the file name of this document library file version
-
setFileName
Sets the file name of this document library file version.- Parameters:
fileName
- the file name of this document library file version
-
getExtension
Returns the extension of this document library file version.- Returns:
- the extension of this document library file version
-
setExtension
Sets the extension of this document library file version.- Parameters:
extension
- the extension of this document library file version
-
getMimeType
Returns the mime type of this document library file version.- Returns:
- the mime type of this document library file version
-
setMimeType
Sets the mime type of this document library file version.- Parameters:
mimeType
- the mime type of this document library file version
-
getTitle
Returns the title of this document library file version.- Returns:
- the title of this document library file version
-
setTitle
Sets the title of this document library file version.- Parameters:
title
- the title of this document library file version
-
getDescription
Returns the description of this document library file version.- Returns:
- the description of this document library file version
-
setDescription
Sets the description of this document library file version.- Parameters:
description
- the description of this document library file version
-
getChangeLog
Returns the change log of this document library file version.- Returns:
- the change log of this document library file version
-
setChangeLog
Sets the change log of this document library file version.- Parameters:
changeLog
- the change log of this document library file version
-
getExtraSettings
Returns the extra settings of this document library file version.- Returns:
- the extra settings of this document library file version
-
setExtraSettings
Sets the extra settings of this document library file version.- Parameters:
extraSettings
- the extra settings of this document library file version
-
getFileEntryTypeId
long getFileEntryTypeId()Returns the file entry type ID of this document library file version.- Returns:
- the file entry type ID of this document library file version
-
setFileEntryTypeId
void setFileEntryTypeId(long fileEntryTypeId) Sets the file entry type ID of this document library file version.- Parameters:
fileEntryTypeId
- the file entry type ID of this document library file version
-
getVersion
Returns the version of this document library file version.- Returns:
- the version of this document library file version
-
setVersion
Sets the version of this document library file version.- Parameters:
version
- the version of this document library file version
-
getSize
long getSize()Returns the size of this document library file version.- Returns:
- the size of this document library file version
-
setSize
void setSize(long size) Sets the size of this document library file version.- Parameters:
size
- the size of this document library file version
-
getChecksum
Returns the checksum of this document library file version.- Returns:
- the checksum of this document library file version
-
setChecksum
Sets the checksum of this document library file version.- Parameters:
checksum
- the checksum of this document library file version
-
getStoreUUID
Returns the store uuid of this document library file version.- Returns:
- the store uuid of this document library file version
-
setStoreUUID
Sets the store uuid of this document library file version.- Parameters:
storeUUID
- the store uuid of this document library file version
-
getDisplayDate
Date getDisplayDate()Returns the display date of this document library file version.- Returns:
- the display date of this document library file version
-
setDisplayDate
Sets the display date of this document library file version.- Parameters:
displayDate
- the display date of this document library file version
-
getExpirationDate
Date getExpirationDate()Returns the expiration date of this document library file version.- Returns:
- the expiration date of this document library file version
-
setExpirationDate
Sets the expiration date of this document library file version.- Parameters:
expirationDate
- the expiration date of this document library file version
-
getReviewDate
Date getReviewDate()Returns the review date of this document library file version.- Returns:
- the review date of this document library file version
-
setReviewDate
Sets the review date of this document library file version.- Parameters:
reviewDate
- the review date of this document library file version
-
getLastPublishDate
Date getLastPublishDate()Returns the last publish date of this document library file version.- Specified by:
getLastPublishDate
in interfaceStagedGroupedModel
- Returns:
- the last publish date of this document library file version
-
setLastPublishDate
Sets the last publish date of this document library file version.- Specified by:
setLastPublishDate
in interfaceStagedGroupedModel
- Parameters:
lastPublishDate
- the last publish date of this document library file version
-
getStatus
int getStatus()Returns the status of this document library file version.- Specified by:
getStatus
in interfaceWorkflowedModel
- Returns:
- the status of this document library file version
-
setStatus
void setStatus(int status) Sets the status of this document library file version.- Specified by:
setStatus
in interfaceWorkflowedModel
- Parameters:
status
- the status of this document library file version
-
getStatusByUserId
long getStatusByUserId()Returns the status by user ID of this document library file version.- Specified by:
getStatusByUserId
in interfaceWorkflowedModel
- Returns:
- the status by user ID of this document library file version
-
setStatusByUserId
void setStatusByUserId(long statusByUserId) Sets the status by user ID of this document library file version.- Specified by:
setStatusByUserId
in interfaceWorkflowedModel
- Parameters:
statusByUserId
- the status by user ID of this document library file version
-
getStatusByUserUuid
String getStatusByUserUuid()Returns the status by user uuid of this document library file version.- Specified by:
getStatusByUserUuid
in interfaceWorkflowedModel
- Returns:
- the status by user uuid of this document library file version
-
setStatusByUserUuid
Sets the status by user uuid of this document library file version.- Specified by:
setStatusByUserUuid
in interfaceWorkflowedModel
- Parameters:
statusByUserUuid
- the status by user uuid of this document library file version
-
getStatusByUserName
Returns the status by user name of this document library file version.- Specified by:
getStatusByUserName
in interfaceWorkflowedModel
- Returns:
- the status by user name of this document library file version
-
setStatusByUserName
Sets the status by user name of this document library file version.- Specified by:
setStatusByUserName
in interfaceWorkflowedModel
- Parameters:
statusByUserName
- the status by user name of this document library file version
-
getStatusDate
Date getStatusDate()Returns the status date of this document library file version.- Specified by:
getStatusDate
in interfaceWorkflowedModel
- Returns:
- the status date of this document library file version
-
setStatusDate
Sets the status date of this document library file version.- Specified by:
setStatusDate
in interfaceWorkflowedModel
- Parameters:
statusDate
- the status date of this document library file version
-
isApproved
boolean isApproved()Returnstrue
if this document library file version is approved.- Specified by:
isApproved
in interfaceWorkflowedModel
- Returns:
true
if this document library file version is approved;false
otherwise
-
isDenied
boolean isDenied()Returnstrue
if this document library file version is denied.- Specified by:
isDenied
in interfaceWorkflowedModel
- Returns:
true
if this document library file version is denied;false
otherwise
-
isDraft
boolean isDraft()Returnstrue
if this document library file version is a draft.- Specified by:
isDraft
in interfaceWorkflowedModel
- Returns:
true
if this document library file version is a draft;false
otherwise
-
isExpired
boolean isExpired()Returnstrue
if this document library file version is expired.- Specified by:
isExpired
in interfaceWorkflowedModel
- Returns:
true
if this document library file version is expired;false
otherwise
-
isInactive
boolean isInactive()Returnstrue
if this document library file version is inactive.- Specified by:
isInactive
in interfaceWorkflowedModel
- Returns:
true
if this document library file version is inactive;false
otherwise
-
isIncomplete
boolean isIncomplete()Returnstrue
if this document library file version is incomplete.- Specified by:
isIncomplete
in interfaceWorkflowedModel
- Returns:
true
if this document library file version is incomplete;false
otherwise
-
isPending
boolean isPending()Returnstrue
if this document library file version is pending.- Specified by:
isPending
in interfaceWorkflowedModel
- Returns:
true
if this document library file version is pending;false
otherwise
-
isScheduled
boolean isScheduled()Returnstrue
if this document library file version is scheduled.- Specified by:
isScheduled
in interfaceWorkflowedModel
- Returns:
true
if this document library file version is scheduled;false
otherwise
-
cloneWithOriginalValues
DLFileVersion cloneWithOriginalValues()- Specified by:
cloneWithOriginalValues
in interfaceBaseModel<DLFileVersion>
-
toXmlString
-