@ProviderType public class DDLRecordVersionWrapper extends java.lang.Object implements DDLRecordVersion, com.liferay.portal.kernel.model.ModelWrapper<DDLRecordVersion>
This class is a wrapper for DDLRecordVersion
.
DDLRecordVersion
,
Serialized FormRECORD_VERSION_ID_ACCESSOR
Constructor and Description |
---|
DDLRecordVersionWrapper(DDLRecordVersion ddlRecordVersion) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
int |
compareTo(DDLRecordVersion ddlRecordVersion) |
boolean |
equals(java.lang.Object obj) |
long |
getCompanyId()
Returns the company ID of this ddl record version.
|
java.util.Date |
getCreateDate()
Returns the create date of this ddl record version.
|
DDMFormValues |
getDDMFormValues() |
long |
getDDMStorageId()
Returns the ddm storage ID of this ddl record version.
|
int |
getDisplayIndex()
Returns the display index of this ddl record version.
|
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
long |
getGroupId()
Returns the group ID of this ddl record version.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
long |
getPrimaryKey()
Returns the primary key of this ddl record version.
|
java.io.Serializable |
getPrimaryKeyObj() |
DDLRecord |
getRecord() |
long |
getRecordId()
Returns the record ID of this ddl record version.
|
DDLRecordSet |
getRecordSet() |
long |
getRecordSetId()
Returns the record set ID of this ddl record version.
|
long |
getRecordVersionId()
Returns the record version ID of this ddl record version.
|
int |
getStatus()
Returns the status of this ddl record version.
|
long |
getStatusByUserId()
Returns the status by user ID of this ddl record version.
|
java.lang.String |
getStatusByUserName()
Returns the status by user name of this ddl record version.
|
java.lang.String |
getStatusByUserUuid()
Returns the status by user uuid of this ddl record version.
|
java.util.Date |
getStatusDate()
Returns the status date of this ddl record version.
|
long |
getUserId()
Returns the user ID of this ddl record version.
|
java.lang.String |
getUserName()
Returns the user name of this ddl record version.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this ddl record version.
|
java.lang.String |
getVersion()
Returns the version of this ddl record version.
|
DDLRecordVersion |
getWrappedModel() |
int |
hashCode() |
boolean |
isApproved()
Returns
true if this ddl record version is approved. |
boolean |
isCachedModel() |
boolean |
isDenied()
Returns
true if this ddl record version is denied. |
boolean |
isDraft()
Returns
true if this ddl record version is a draft. |
boolean |
isEntityCacheEnabled() |
boolean |
isEscapedModel() |
boolean |
isExpired()
Returns
true if this ddl record version is expired. |
boolean |
isFinderCacheEnabled() |
boolean |
isInactive()
Returns
true if this ddl record version is inactive. |
boolean |
isIncomplete()
Returns
true if this ddl record version is incomplete. |
boolean |
isNew() |
boolean |
isPending()
Returns
true if this ddl record version is pending. |
boolean |
isScheduled()
Returns
true if this ddl record version is scheduled. |
void |
persist() |
void |
resetOriginalValues() |
void |
setCachedModel(boolean cachedModel) |
void |
setCompanyId(long companyId)
Sets the company ID of this ddl record version.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this ddl record version.
|
void |
setDDMStorageId(long DDMStorageId)
Sets the ddm storage ID of this ddl record version.
|
void |
setDisplayIndex(int displayIndex)
Sets the display index of this ddl record version.
|
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel) |
void |
setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge) |
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
setGroupId(long groupId)
Sets the group ID of this ddl record version.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setNew(boolean n) |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this ddl record version.
|
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj) |
void |
setRecordId(long recordId)
Sets the record ID of this ddl record version.
|
void |
setRecordSetId(long recordSetId)
Sets the record set ID of this ddl record version.
|
void |
setRecordVersionId(long recordVersionId)
Sets the record version ID of this ddl record version.
|
void |
setStatus(int status)
Sets the status of this ddl record version.
|
void |
setStatusByUserId(long statusByUserId)
Sets the status by user ID of this ddl record version.
|
void |
setStatusByUserName(java.lang.String statusByUserName)
Sets the status by user name of this ddl record version.
|
void |
setStatusByUserUuid(java.lang.String statusByUserUuid)
Sets the status by user uuid of this ddl record version.
|
void |
setStatusDate(java.util.Date statusDate)
Sets the status date of this ddl record version.
|
void |
setUserId(long userId)
Sets the user ID of this ddl record version.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this ddl record version.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this ddl record version.
|
void |
setVersion(java.lang.String version)
Sets the version of this ddl record version.
|
com.liferay.portal.kernel.model.CacheModel<DDLRecordVersion> |
toCacheModel() |
DDLRecordVersion |
toEscapedModel() |
java.lang.String |
toString() |
DDLRecordVersion |
toUnescapedModel() |
java.lang.String |
toXmlString() |
public DDLRecordVersionWrapper(DDLRecordVersion ddlRecordVersion)
public java.lang.Class<?> getModelClass()
getModelClass
in interface com.liferay.portal.kernel.model.ClassedModel
public java.lang.String getModelClassName()
getModelClassName
in interface com.liferay.portal.kernel.model.ClassedModel
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<DDLRecordVersion>
public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<DDLRecordVersion>
public DDLRecord getRecord() throws com.liferay.portal.kernel.exception.PortalException
getRecord
in interface DDLRecordVersion
com.liferay.portal.kernel.exception.PortalException
public DDLRecordSet getRecordSet() throws com.liferay.portal.kernel.exception.PortalException
getRecordSet
in interface DDLRecordVersion
com.liferay.portal.kernel.exception.PortalException
public DDLRecordVersion toEscapedModel()
toEscapedModel
in interface DDLRecordVersionModel
toEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<DDLRecordVersion>
public DDLRecordVersion toUnescapedModel()
toUnescapedModel
in interface DDLRecordVersionModel
toUnescapedModel
in interface com.liferay.portal.kernel.model.BaseModel<DDLRecordVersion>
public boolean isApproved()
true
if this ddl record version is approved.isApproved
in interface DDLRecordVersionModel
isApproved
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this ddl record version is approved; false
otherwisepublic boolean isCachedModel()
isCachedModel
in interface DDLRecordVersionModel
isCachedModel
in interface com.liferay.portal.kernel.model.BaseModel<DDLRecordVersion>
public boolean isDenied()
true
if this ddl record version is denied.isDenied
in interface DDLRecordVersionModel
isDenied
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this ddl record version is denied; false
otherwisepublic boolean isDraft()
true
if this ddl record version is a draft.isDraft
in interface DDLRecordVersionModel
isDraft
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this ddl record version is a draft; false
otherwisepublic boolean isEscapedModel()
isEscapedModel
in interface DDLRecordVersionModel
isEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<DDLRecordVersion>
public boolean isExpired()
true
if this ddl record version is expired.isExpired
in interface DDLRecordVersionModel
isExpired
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this ddl record version is expired; false
otherwisepublic boolean isInactive()
true
if this ddl record version is inactive.isInactive
in interface DDLRecordVersionModel
isInactive
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this ddl record version is inactive; false
otherwisepublic boolean isIncomplete()
true
if this ddl record version is incomplete.isIncomplete
in interface DDLRecordVersionModel
isIncomplete
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this ddl record version is incomplete; false
otherwisepublic boolean isNew()
isNew
in interface DDLRecordVersionModel
isNew
in interface com.liferay.portal.kernel.model.BaseModel<DDLRecordVersion>
public boolean isPending()
true
if this ddl record version is pending.isPending
in interface DDLRecordVersionModel
isPending
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this ddl record version is pending; false
otherwisepublic boolean isScheduled()
true
if this ddl record version is scheduled.isScheduled
in interface DDLRecordVersionModel
isScheduled
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this ddl record version is scheduled; false
otherwisepublic DDMFormValues getDDMFormValues() throws StorageException
getDDMFormValues
in interface DDLRecordVersion
StorageException
public com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge
in interface DDLRecordVersionModel
getExpandoBridge
in interface com.liferay.portal.kernel.model.BaseModel<DDLRecordVersion>
getExpandoBridge
in interface com.liferay.portal.kernel.model.ClassedModel
public com.liferay.portal.kernel.model.CacheModel<DDLRecordVersion> toCacheModel()
toCacheModel
in interface DDLRecordVersionModel
toCacheModel
in interface com.liferay.portal.kernel.model.BaseModel<DDLRecordVersion>
public int compareTo(DDLRecordVersion ddlRecordVersion)
compareTo
in interface DDLRecordVersionModel
compareTo
in interface java.lang.Comparable<DDLRecordVersion>
public int getDisplayIndex()
getDisplayIndex
in interface DDLRecordVersionModel
public int getStatus()
getStatus
in interface DDLRecordVersionModel
getStatus
in interface com.liferay.portal.kernel.model.WorkflowedModel
public int hashCode()
hashCode
in interface DDLRecordVersionModel
hashCode
in class java.lang.Object
public java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj
in interface DDLRecordVersionModel
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<DDLRecordVersion>
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
public java.lang.Object clone()
clone
in interface DDLRecordVersionModel
clone
in interface com.liferay.portal.kernel.model.BaseModel<DDLRecordVersion>
clone
in class java.lang.Object
public java.lang.String getStatusByUserName()
getStatusByUserName
in interface DDLRecordVersionModel
getStatusByUserName
in interface com.liferay.portal.kernel.model.WorkflowedModel
public java.lang.String getStatusByUserUuid()
getStatusByUserUuid
in interface DDLRecordVersionModel
getStatusByUserUuid
in interface com.liferay.portal.kernel.model.WorkflowedModel
public java.lang.String getUserName()
getUserName
in interface DDLRecordVersionModel
public java.lang.String getUserUuid()
getUserUuid
in interface DDLRecordVersionModel
public java.lang.String getVersion()
getVersion
in interface DDLRecordVersionModel
public java.lang.String toString()
toString
in interface DDLRecordVersionModel
toString
in class java.lang.Object
public java.lang.String toXmlString()
toXmlString
in interface DDLRecordVersionModel
toXmlString
in interface com.liferay.portal.kernel.model.BaseModel<DDLRecordVersion>
public java.util.Date getCreateDate()
getCreateDate
in interface DDLRecordVersionModel
public java.util.Date getStatusDate()
getStatusDate
in interface DDLRecordVersionModel
getStatusDate
in interface com.liferay.portal.kernel.model.WorkflowedModel
public long getCompanyId()
getCompanyId
in interface DDLRecordVersionModel
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
public long getDDMStorageId()
getDDMStorageId
in interface DDLRecordVersionModel
public long getGroupId()
getGroupId
in interface DDLRecordVersionModel
public long getPrimaryKey()
getPrimaryKey
in interface DDLRecordVersionModel
public long getRecordId()
getRecordId
in interface DDLRecordVersionModel
public long getRecordSetId()
getRecordSetId
in interface DDLRecordVersionModel
public long getRecordVersionId()
getRecordVersionId
in interface DDLRecordVersionModel
public long getStatusByUserId()
getStatusByUserId
in interface DDLRecordVersionModel
getStatusByUserId
in interface com.liferay.portal.kernel.model.WorkflowedModel
public long getUserId()
getUserId
in interface DDLRecordVersionModel
public void persist()
persist
in interface com.liferay.portal.kernel.model.PersistedModel
public void setCachedModel(boolean cachedModel)
setCachedModel
in interface DDLRecordVersionModel
setCachedModel
in interface com.liferay.portal.kernel.model.BaseModel<DDLRecordVersion>
public void setCompanyId(long companyId)
setCompanyId
in interface DDLRecordVersionModel
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
companyId
- the company ID of this ddl record versionpublic void setCreateDate(java.util.Date createDate)
setCreateDate
in interface DDLRecordVersionModel
createDate
- the create date of this ddl record versionpublic void setDDMStorageId(long DDMStorageId)
setDDMStorageId
in interface DDLRecordVersionModel
DDMStorageId
- the ddm storage ID of this ddl record versionpublic void setDisplayIndex(int displayIndex)
setDisplayIndex
in interface DDLRecordVersionModel
displayIndex
- the display index of this ddl record versionpublic void setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface DDLRecordVersionModel
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<DDLRecordVersion>
public void setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface DDLRecordVersionModel
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<DDLRecordVersion>
public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes
in interface DDLRecordVersionModel
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<DDLRecordVersion>
public void setGroupId(long groupId)
setGroupId
in interface DDLRecordVersionModel
groupId
- the group ID of this ddl record versionpublic void setNew(boolean n)
setNew
in interface DDLRecordVersionModel
setNew
in interface com.liferay.portal.kernel.model.BaseModel<DDLRecordVersion>
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface DDLRecordVersionModel
primaryKey
- the primary key of this ddl record versionpublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj
in interface DDLRecordVersionModel
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<DDLRecordVersion>
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
public void setRecordId(long recordId)
setRecordId
in interface DDLRecordVersionModel
recordId
- the record ID of this ddl record versionpublic void setRecordSetId(long recordSetId)
setRecordSetId
in interface DDLRecordVersionModel
recordSetId
- the record set ID of this ddl record versionpublic void setRecordVersionId(long recordVersionId)
setRecordVersionId
in interface DDLRecordVersionModel
recordVersionId
- the record version ID of this ddl record versionpublic void setStatus(int status)
setStatus
in interface DDLRecordVersionModel
setStatus
in interface com.liferay.portal.kernel.model.WorkflowedModel
status
- the status of this ddl record versionpublic void setStatusByUserId(long statusByUserId)
setStatusByUserId
in interface DDLRecordVersionModel
setStatusByUserId
in interface com.liferay.portal.kernel.model.WorkflowedModel
statusByUserId
- the status by user ID of this ddl record versionpublic void setStatusByUserName(java.lang.String statusByUserName)
setStatusByUserName
in interface DDLRecordVersionModel
setStatusByUserName
in interface com.liferay.portal.kernel.model.WorkflowedModel
statusByUserName
- the status by user name of this ddl record versionpublic void setStatusByUserUuid(java.lang.String statusByUserUuid)
setStatusByUserUuid
in interface DDLRecordVersionModel
setStatusByUserUuid
in interface com.liferay.portal.kernel.model.WorkflowedModel
statusByUserUuid
- the status by user uuid of this ddl record versionpublic void setStatusDate(java.util.Date statusDate)
setStatusDate
in interface DDLRecordVersionModel
setStatusDate
in interface com.liferay.portal.kernel.model.WorkflowedModel
statusDate
- the status date of this ddl record versionpublic void setUserId(long userId)
setUserId
in interface DDLRecordVersionModel
userId
- the user ID of this ddl record versionpublic void setUserName(java.lang.String userName)
setUserName
in interface DDLRecordVersionModel
userName
- the user name of this ddl record versionpublic void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface DDLRecordVersionModel
userUuid
- the user uuid of this ddl record versionpublic void setVersion(java.lang.String version)
setVersion
in interface DDLRecordVersionModel
version
- the version of this ddl record versionpublic boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public DDLRecordVersion getWrappedModel()
getWrappedModel
in interface com.liferay.portal.kernel.model.ModelWrapper<DDLRecordVersion>
public boolean isEntityCacheEnabled()
isEntityCacheEnabled
in interface com.liferay.portal.kernel.model.BaseModel<DDLRecordVersion>
public boolean isFinderCacheEnabled()
isFinderCacheEnabled
in interface com.liferay.portal.kernel.model.BaseModel<DDLRecordVersion>
public void resetOriginalValues()
resetOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<DDLRecordVersion>