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 Details

    • getPrimaryKey

      long getPrimaryKey()
      Returns the primary key of this document library file version.
      Specified by:
      getPrimaryKey in interface CTModel<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 interface CTModel<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 interface MVCCModel
      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 interface MVCCModel
      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 interface CTModel<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 interface CTModel<DLFileVersion>
      Parameters:
      ctCollectionId - the ct collection ID of this document library file version
    • getUuid

      @AutoEscape String getUuid()
      Returns the uuid of this document library file version.
      Specified by:
      getUuid in interface StagedModel
      Returns:
      the uuid of this document library file version
    • setUuid

      void setUuid(String uuid)
      Sets the uuid of this document library file version.
      Specified by:
      setUuid in interface StagedModel
      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 interface GroupedModel
      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 interface GroupedModel
      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 interface AuditedModel
      Specified by:
      getCompanyId in interface ShardedModel
      Specified by:
      getCompanyId in interface StagedModel
      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 interface AuditedModel
      Specified by:
      setCompanyId in interface ShardedModel
      Specified by:
      setCompanyId in interface StagedModel
      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 interface AuditedModel
      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 interface AuditedModel
      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 interface AuditedModel
      Returns:
      the user uuid of this document library file version
    • setUserUuid

      void setUserUuid(String userUuid)
      Sets the user uuid of this document library file version.
      Specified by:
      setUserUuid in interface AuditedModel
      Parameters:
      userUuid - the user uuid of this document library file version
    • getUserName

      @AutoEscape String getUserName()
      Returns the user name of this document library file version.
      Specified by:
      getUserName in interface AuditedModel
      Returns:
      the user name of this document library file version
    • setUserName

      void setUserName(String userName)
      Sets the user name of this document library file version.
      Specified by:
      setUserName in interface AuditedModel
      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 interface AuditedModel
      Specified by:
      getCreateDate in interface StagedModel
      Returns:
      the create date of this document library file version
    • setCreateDate

      void setCreateDate(Date createDate)
      Sets the create date of this document library file version.
      Specified by:
      setCreateDate in interface AuditedModel
      Specified by:
      setCreateDate in interface StagedModel
      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 interface AuditedModel
      Specified by:
      getModifiedDate in interface StagedModel
      Returns:
      the modified date of this document library file version
    • setModifiedDate

      void setModifiedDate(Date modifiedDate)
      Sets the modified date of this document library file version.
      Specified by:
      setModifiedDate in interface AuditedModel
      Specified by:
      setModifiedDate in interface StagedModel
      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

      @AutoEscape String getTreePath()
      Returns the tree path of this document library file version.
      Returns:
      the tree path of this document library file version
    • setTreePath

      void setTreePath(String treePath)
      Sets the tree path of this document library file version.
      Parameters:
      treePath - the tree path of this document library file version
    • getFileName

      @AutoEscape String getFileName()
      Returns the file name of this document library file version.
      Returns:
      the file name of this document library file version
    • setFileName

      void setFileName(String fileName)
      Sets the file name of this document library file version.
      Parameters:
      fileName - the file name of this document library file version
    • getExtension

      @AutoEscape String getExtension()
      Returns the extension of this document library file version.
      Returns:
      the extension of this document library file version
    • setExtension

      void setExtension(String extension)
      Sets the extension of this document library file version.
      Parameters:
      extension - the extension of this document library file version
    • getMimeType

      @AutoEscape String getMimeType()
      Returns the mime type of this document library file version.
      Returns:
      the mime type of this document library file version
    • setMimeType

      void setMimeType(String mimeType)
      Sets the mime type of this document library file version.
      Parameters:
      mimeType - the mime type of this document library file version
    • getTitle

      @AutoEscape String getTitle()
      Returns the title of this document library file version.
      Returns:
      the title of this document library file version
    • setTitle

      void setTitle(String title)
      Sets the title of this document library file version.
      Parameters:
      title - the title of this document library file version
    • getDescription

      @AutoEscape String getDescription()
      Returns the description of this document library file version.
      Returns:
      the description of this document library file version
    • setDescription

      void setDescription(String description)
      Sets the description of this document library file version.
      Parameters:
      description - the description of this document library file version
    • getChangeLog

      @AutoEscape String getChangeLog()
      Returns the change log of this document library file version.
      Returns:
      the change log of this document library file version
    • setChangeLog

      void setChangeLog(String changeLog)
      Sets the change log of this document library file version.
      Parameters:
      changeLog - the change log of this document library file version
    • getExtraSettings

      @AutoEscape String getExtraSettings()
      Returns the extra settings of this document library file version.
      Returns:
      the extra settings of this document library file version
    • setExtraSettings

      void setExtraSettings(String extraSettings)
      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

      @AutoEscape String getVersion()
      Returns the version of this document library file version.
      Returns:
      the version of this document library file version
    • setVersion

      void setVersion(String version)
      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

      @AutoEscape String getChecksum()
      Returns the checksum of this document library file version.
      Returns:
      the checksum of this document library file version
    • setChecksum

      void setChecksum(String checksum)
      Sets the checksum of this document library file version.
      Parameters:
      checksum - the checksum of this document library file version
    • getStoreUUID

      @AutoEscape String getStoreUUID()
      Returns the store uuid of this document library file version.
      Returns:
      the store uuid of this document library file version
    • setStoreUUID

      void setStoreUUID(String storeUUID)
      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

      void setDisplayDate(Date displayDate)
      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

      void setExpirationDate(Date expirationDate)
      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

      void setReviewDate(Date reviewDate)
      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 interface StagedGroupedModel
      Returns:
      the last publish date of this document library file version
    • setLastPublishDate

      void setLastPublishDate(Date lastPublishDate)
      Sets the last publish date of this document library file version.
      Specified by:
      setLastPublishDate in interface StagedGroupedModel
      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 interface WorkflowedModel
      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 interface WorkflowedModel
      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 interface WorkflowedModel
      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 interface WorkflowedModel
      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 interface WorkflowedModel
      Returns:
      the status by user uuid of this document library file version
    • setStatusByUserUuid

      void setStatusByUserUuid(String statusByUserUuid)
      Sets the status by user uuid of this document library file version.
      Specified by:
      setStatusByUserUuid in interface WorkflowedModel
      Parameters:
      statusByUserUuid - the status by user uuid of this document library file version
    • getStatusByUserName

      @AutoEscape String getStatusByUserName()
      Returns the status by user name of this document library file version.
      Specified by:
      getStatusByUserName in interface WorkflowedModel
      Returns:
      the status by user name of this document library file version
    • setStatusByUserName

      void setStatusByUserName(String statusByUserName)
      Sets the status by user name of this document library file version.
      Specified by:
      setStatusByUserName in interface WorkflowedModel
      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 interface WorkflowedModel
      Returns:
      the status date of this document library file version
    • setStatusDate

      void setStatusDate(Date statusDate)
      Sets the status date of this document library file version.
      Specified by:
      setStatusDate in interface WorkflowedModel
      Parameters:
      statusDate - the status date of this document library file version
    • isApproved

      boolean isApproved()
      Returns true if this document library file version is approved.
      Specified by:
      isApproved in interface WorkflowedModel
      Returns:
      true if this document library file version is approved; false otherwise
    • isDenied

      boolean isDenied()
      Returns true if this document library file version is denied.
      Specified by:
      isDenied in interface WorkflowedModel
      Returns:
      true if this document library file version is denied; false otherwise
    • isDraft

      boolean isDraft()
      Returns true if this document library file version is a draft.
      Specified by:
      isDraft in interface WorkflowedModel
      Returns:
      true if this document library file version is a draft; false otherwise
    • isExpired

      boolean isExpired()
      Returns true if this document library file version is expired.
      Specified by:
      isExpired in interface WorkflowedModel
      Returns:
      true if this document library file version is expired; false otherwise
    • isInactive

      boolean isInactive()
      Returns true if this document library file version is inactive.
      Specified by:
      isInactive in interface WorkflowedModel
      Returns:
      true if this document library file version is inactive; false otherwise
    • isIncomplete

      boolean isIncomplete()
      Returns true if this document library file version is incomplete.
      Specified by:
      isIncomplete in interface WorkflowedModel
      Returns:
      true if this document library file version is incomplete; false otherwise
    • isPending

      boolean isPending()
      Returns true if this document library file version is pending.
      Specified by:
      isPending in interface WorkflowedModel
      Returns:
      true if this document library file version is pending; false otherwise
    • isScheduled

      boolean isScheduled()
      Returns true if this document library file version is scheduled.
      Specified by:
      isScheduled in interface WorkflowedModel
      Returns:
      true if this document library file version is scheduled; false otherwise
    • cloneWithOriginalValues

      DLFileVersion cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface BaseModel<DLFileVersion>
    • toXmlString

      default String toXmlString()