@ProviderType public interface DLFileVersionModel extends BaseModel<DLFileVersion>, StagedGroupedModel, WorkflowedModel
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.
DLFileVersion,
com.liferay.portlet.documentlibrary.model.impl.DLFileVersionImpl,
com.liferay.portlet.documentlibrary.model.impl.DLFileVersionModelImpl| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(DLFileVersion dlFileVersion) |
boolean |
getApproved()
Deprecated.
As of 6.1.0, replaced by
isApproved() |
java.lang.String |
getChangeLog()
Returns the change log of this document library file version.
|
java.lang.String |
getChecksum()
Returns the checksum of this document library file version.
|
long |
getCompanyId()
Returns the company ID of this document library file version.
|
java.util.Date |
getCreateDate()
Returns the create date of this document library file version.
|
java.lang.String |
getDescription()
Returns the description of this document library file version.
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance.
|
java.lang.String |
getExtension()
Returns the extension of this document library file version.
|
java.lang.String |
getExtraSettings()
Returns the extra settings of this document library file version.
|
long |
getFileEntryId()
Returns the file entry ID of this document library file version.
|
long |
getFileEntryTypeId()
Returns the file entry type ID of this document library file version.
|
java.lang.String |
getFileName()
Returns the file name of this document library file version.
|
long |
getFileVersionId()
Returns the file version ID of this document library file version.
|
long |
getFolderId()
Returns the folder ID of this document library file version.
|
long |
getGroupId()
Returns the group ID of this document library file version.
|
java.util.Date |
getLastPublishDate()
Returns the last publish date of this document library file version.
|
java.lang.String |
getMimeType()
Returns the mime type of this document library file version.
|
java.util.Date |
getModifiedDate()
Returns the modified date of this document library file version.
|
long |
getPrimaryKey()
Returns the primary key of this document library file version.
|
java.io.Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
long |
getRepositoryId()
Returns the repository ID of this document library file version.
|
long |
getSize()
Returns the size of this document library file version.
|
int |
getStatus()
Returns the status of this document library file version.
|
long |
getStatusByUserId()
Returns the status by user ID of this document library file version.
|
java.lang.String |
getStatusByUserName()
Returns the status by user name of this document library file version.
|
java.lang.String |
getStatusByUserUuid()
Returns the status by user uuid of this document library file version.
|
java.util.Date |
getStatusDate()
Returns the status date of this document library file version.
|
java.lang.String |
getTitle()
Returns the title of this document library file version.
|
java.lang.String |
getTreePath()
Returns the tree path of this document library file version.
|
long |
getUserId()
Returns the user ID of this document library file version.
|
java.lang.String |
getUserName()
Returns the user name of this document library file version.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this document library file version.
|
java.lang.String |
getUuid()
Returns the uuid of this document library file version.
|
java.lang.String |
getVersion()
Returns the version of this document library file version.
|
int |
hashCode() |
boolean |
isApproved()
Returns
true if this document library file version is approved. |
boolean |
isCachedModel()
Returns
true if this model instance was retrieved from the
entity cache. |
boolean |
isDenied()
Returns
true if this document library file version is denied. |
boolean |
isDraft()
Returns
true if this document library file version is a draft. |
boolean |
isEscapedModel()
Returns
true if this model instance is escaped. |
boolean |
isExpired()
Returns
true if this document library file version is expired. |
boolean |
isInactive()
Returns
true if this document library file version is inactive. |
boolean |
isIncomplete()
Returns
true if this document library file version is incomplete. |
boolean |
isNew()
Returns
true if this model instance does not yet exist in
the database. |
boolean |
isPending()
Returns
true if this document library file version is pending. |
boolean |
isScheduled()
Returns
true if this document library file version is scheduled. |
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache.
|
void |
setChangeLog(java.lang.String changeLog)
Sets the change log of this document library file version.
|
void |
setChecksum(java.lang.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(java.util.Date createDate)
Sets the create date of this document library file version.
|
void |
setDescription(java.lang.String description)
Sets the description of this document library file version.
|
void |
setExpandoBridgeAttributes(BaseModel<?> baseModel) |
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge) |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the
attributes stored in the service context.
|
void |
setExtension(java.lang.String extension)
Sets the extension of this document library file version.
|
void |
setExtraSettings(java.lang.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(java.lang.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(java.util.Date lastPublishDate)
Sets the last publish date of this document library file version.
|
void |
setMimeType(java.lang.String mimeType)
Sets the mime type of this document library file version.
|
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this document library file version.
|
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this document library file version.
|
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
Sets the primary key of this model instance.
|
void |
setRepositoryId(long repositoryId)
Sets the repository ID 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(java.lang.String statusByUserName)
Sets the status by user name of this document library file version.
|
void |
setStatusByUserUuid(java.lang.String statusByUserUuid)
Sets the status by user uuid of this document library file version.
|
void |
setStatusDate(java.util.Date statusDate)
Sets the status date of this document library file version.
|
void |
setTitle(java.lang.String title)
Sets the title of this document library file version.
|
void |
setTreePath(java.lang.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(java.lang.String userName)
Sets the user name of this document library file version.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this document library file version.
|
void |
setUuid(java.lang.String uuid)
Sets the uuid of this document library file version.
|
void |
setVersion(java.lang.String version)
Sets the version of this document library file version.
|
CacheModel<DLFileVersion> |
toCacheModel()
Returns a cache model object for this entity used by entity cache.
|
DLFileVersion |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it
with an
AutoEscapeBeanHandler. |
java.lang.String |
toString() |
DLFileVersion |
toUnescapedModel() |
java.lang.String |
toXmlString()
Returns the XML representation of this model instance.
|
getModelAttributes, isEntityCacheEnabled, isFinderCacheEnabled, resetOriginalValues, setModelAttributesgetModelClass, getModelClassNamegetStagedModelTypelong getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey - the primary key of this document library file version@AutoEscape java.lang.String getUuid()
getUuid in interface StagedModelvoid setUuid(java.lang.String uuid)
setUuid in interface StagedModeluuid - the uuid of this document library file versionlong getFileVersionId()
void setFileVersionId(long fileVersionId)
fileVersionId - the file version ID of this document library file versionlong getGroupId()
getGroupId in interface GroupedModelvoid setGroupId(long groupId)
setGroupId in interface GroupedModelgroupId - the group ID of this document library file versionlong getCompanyId()
getCompanyId in interface AuditedModelgetCompanyId in interface StagedModelvoid setCompanyId(long companyId)
setCompanyId in interface AuditedModelsetCompanyId in interface StagedModelcompanyId - the company ID of this document library file versionlong getUserId()
getUserId in interface AuditedModelvoid setUserId(long userId)
setUserId in interface AuditedModeluserId - the user ID of this document library file versionjava.lang.String getUserUuid()
getUserUuid in interface AuditedModelvoid setUserUuid(java.lang.String userUuid)
setUserUuid in interface AuditedModeluserUuid - the user uuid of this document library file version@AutoEscape java.lang.String getUserName()
getUserName in interface AuditedModelvoid setUserName(java.lang.String userName)
setUserName in interface AuditedModeluserName - the user name of this document library file versionjava.util.Date getCreateDate()
getCreateDate in interface AuditedModelgetCreateDate in interface StagedModelvoid setCreateDate(java.util.Date createDate)
setCreateDate in interface AuditedModelsetCreateDate in interface StagedModelcreateDate - the create date of this document library file versionjava.util.Date getModifiedDate()
getModifiedDate in interface AuditedModelgetModifiedDate in interface StagedModelvoid setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface AuditedModelsetModifiedDate in interface StagedModelmodifiedDate - the modified date of this document library file versionlong getRepositoryId()
void setRepositoryId(long repositoryId)
repositoryId - the repository ID of this document library file versionlong getFolderId()
void setFolderId(long folderId)
folderId - the folder ID of this document library file versionlong getFileEntryId()
void setFileEntryId(long fileEntryId)
fileEntryId - the file entry ID of this document library file version@AutoEscape java.lang.String getTreePath()
void setTreePath(java.lang.String treePath)
treePath - the tree path of this document library file version@AutoEscape java.lang.String getFileName()
void setFileName(java.lang.String fileName)
fileName - the file name of this document library file version@AutoEscape java.lang.String getExtension()
void setExtension(java.lang.String extension)
extension - the extension of this document library file version@AutoEscape java.lang.String getMimeType()
void setMimeType(java.lang.String mimeType)
mimeType - the mime type of this document library file version@AutoEscape java.lang.String getTitle()
void setTitle(java.lang.String title)
title - the title of this document library file version@AutoEscape java.lang.String getDescription()
void setDescription(java.lang.String description)
description - the description of this document library file version@AutoEscape java.lang.String getChangeLog()
void setChangeLog(java.lang.String changeLog)
changeLog - the change log of this document library file version@AutoEscape java.lang.String getExtraSettings()
void setExtraSettings(java.lang.String extraSettings)
extraSettings - the extra settings of this document library file versionlong getFileEntryTypeId()
void setFileEntryTypeId(long fileEntryTypeId)
fileEntryTypeId - the file entry type ID of this document library file version@AutoEscape java.lang.String getVersion()
void setVersion(java.lang.String version)
version - the version of this document library file versionlong getSize()
void setSize(long size)
size - the size of this document library file version@AutoEscape java.lang.String getChecksum()
void setChecksum(java.lang.String checksum)
checksum - the checksum of this document library file versionjava.util.Date getLastPublishDate()
getLastPublishDate in interface StagedModelvoid setLastPublishDate(java.util.Date lastPublishDate)
setLastPublishDate in interface StagedModellastPublishDate - the last publish date of this document library file versionint getStatus()
getStatus in interface WorkflowedModelvoid setStatus(int status)
setStatus in interface WorkflowedModelstatus - the status of this document library file versionlong getStatusByUserId()
getStatusByUserId in interface WorkflowedModelvoid setStatusByUserId(long statusByUserId)
setStatusByUserId in interface WorkflowedModelstatusByUserId - the status by user ID of this document library file versionjava.lang.String getStatusByUserUuid()
getStatusByUserUuid in interface WorkflowedModelvoid setStatusByUserUuid(java.lang.String statusByUserUuid)
setStatusByUserUuid in interface WorkflowedModelstatusByUserUuid - the status by user uuid of this document library file version@AutoEscape java.lang.String getStatusByUserName()
getStatusByUserName in interface WorkflowedModelvoid setStatusByUserName(java.lang.String statusByUserName)
setStatusByUserName in interface WorkflowedModelstatusByUserName - the status by user name of this document library file versionjava.util.Date getStatusDate()
getStatusDate in interface WorkflowedModelvoid setStatusDate(java.util.Date statusDate)
setStatusDate in interface WorkflowedModelstatusDate - the status date of this document library file version@Deprecated boolean getApproved()
isApproved()getApproved in interface WorkflowedModelboolean isApproved()
true if this document library file version is approved.isApproved in interface WorkflowedModeltrue if this document library file version is approved; false otherwiseboolean isDenied()
true if this document library file version is denied.isDenied in interface WorkflowedModeltrue if this document library file version is denied; false otherwiseboolean isDraft()
true if this document library file version is a draft.isDraft in interface WorkflowedModeltrue if this document library file version is a draft; false otherwiseboolean isExpired()
true if this document library file version is expired.isExpired in interface WorkflowedModeltrue if this document library file version is expired; false otherwiseboolean isInactive()
true if this document library file version is inactive.isInactive in interface WorkflowedModeltrue if this document library file version is inactive; false otherwiseboolean isIncomplete()
true if this document library file version is incomplete.isIncomplete in interface WorkflowedModeltrue if this document library file version is incomplete; false otherwiseboolean isPending()
true if this document library file version is pending.isPending in interface WorkflowedModeltrue if this document library file version is pending; false otherwiseboolean isScheduled()
true if this document library file version is scheduled.isScheduled in interface WorkflowedModeltrue if this document library file version is scheduled; false otherwiseboolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.isNew in interface BaseModel<DLFileVersion>true if this model instance does not yet exist in
the database; false otherwisevoid setNew(boolean n)
BaseModelsetNew in interface BaseModel<DLFileVersion>n - whether this model instance does not yet exist in the databaseboolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.isCachedModel in interface BaseModel<DLFileVersion>true if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface BaseModel<DLFileVersion>cachedModel - whether this model instance was retrieved from the
entity cacheEntityCacheboolean isEscapedModel()
BaseModeltrue if this model instance is escaped.isEscapedModel in interface BaseModel<DLFileVersion>true if this model instance is escaped;
false otherwisejava.io.Serializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface BaseModel<DLFileVersion>getPrimaryKeyObj in interface ClassedModelvoid setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface BaseModel<DLFileVersion>setPrimaryKeyObj in interface ClassedModelprimaryKeyObj - the primary key of this model instanceExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface BaseModel<DLFileVersion>getExpandoBridge in interface ClassedModelvoid setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<DLFileVersion>void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<DLFileVersion>void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModelsetExpandoBridgeAttributes in interface BaseModel<DLFileVersion>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)java.lang.Object clone()
BaseModelclone in interface BaseModel<DLFileVersion>clone in interface StagedModelint compareTo(DLFileVersion dlFileVersion)
compareTo in interface java.lang.Comparable<DLFileVersion>int hashCode()
hashCode in class java.lang.ObjectCacheModel<DLFileVersion> toCacheModel()
BaseModeltoCacheModel in interface BaseModel<DLFileVersion>DLFileVersion toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface BaseModel<DLFileVersion>AutoEscapeBeanHandlerDLFileVersion toUnescapedModel()
toUnescapedModel in interface BaseModel<DLFileVersion>java.lang.String toString()
toString in class java.lang.Objectjava.lang.String toXmlString()
BaseModeltoXmlString in interface BaseModel<DLFileVersion>