@ProviderType public class DDLRecordWrapper extends java.lang.Object implements DDLRecord, com.liferay.portal.kernel.model.ModelWrapper<DDLRecord>
This class is a wrapper for DDLRecord.
DDLRecord,
Serialized FormRECORD_ID_ACCESSOR| Constructor and Description |
|---|
DDLRecordWrapper(DDLRecord ddlRecord) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
int |
compareTo(DDLRecord ddlRecord) |
boolean |
equals(java.lang.Object obj) |
long |
getCompanyId()
Returns the company ID of this d d l record.
|
java.util.Date |
getCreateDate()
Returns the create date of this d d l record.
|
java.util.List<com.liferay.dynamic.data.mapping.storage.DDMFormFieldValue> |
getDDMFormFieldValues(java.lang.String fieldName) |
com.liferay.dynamic.data.mapping.storage.DDMFormValues |
getDDMFormValues() |
long |
getDDMStorageId()
Returns the d d m storage ID of this d d l record.
|
int |
getDisplayIndex()
Returns the display index of this d d l record.
|
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
java.io.Serializable |
getFieldDataType(java.lang.String fieldName) |
java.io.Serializable |
getFieldType(java.lang.String fieldName) |
long |
getGroupId()
Returns the group ID of this d d l record.
|
java.util.Date |
getLastPublishDate()
Returns the last publish date of this d d l record.
|
DDLRecordVersion |
getLatestRecordVersion() |
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
java.util.Date |
getModifiedDate()
Returns the modified date of this d d l record.
|
long |
getPrimaryKey()
Returns the primary key of this d d l record.
|
java.io.Serializable |
getPrimaryKeyObj() |
long |
getRecordId()
Returns the record ID of this d d l record.
|
DDLRecordSet |
getRecordSet() |
long |
getRecordSetId()
Returns the record set ID of this d d l record.
|
DDLRecordVersion |
getRecordVersion() |
DDLRecordVersion |
getRecordVersion(java.lang.String version) |
com.liferay.exportimport.kernel.lar.StagedModelType |
getStagedModelType() |
int |
getStatus() |
long |
getUserId()
Returns the user ID of this d d l record.
|
java.lang.String |
getUserName()
Returns the user name of this d d l record.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this d d l record.
|
java.lang.String |
getUuid()
Returns the uuid of this d d l record.
|
java.lang.String |
getVersion()
Returns the version of this d d l record.
|
long |
getVersionUserId()
Returns the version user ID of this d d l record.
|
java.lang.String |
getVersionUserName()
Returns the version user name of this d d l record.
|
java.lang.String |
getVersionUserUuid()
Returns the version user uuid of this d d l record.
|
DDLRecord |
getWrappedModel() |
int |
hashCode() |
boolean |
isCachedModel() |
boolean |
isEntityCacheEnabled() |
boolean |
isEscapedModel() |
boolean |
isFinderCacheEnabled() |
boolean |
isNew() |
void |
persist() |
void |
resetOriginalValues() |
void |
setCachedModel(boolean cachedModel) |
void |
setCompanyId(long companyId)
Sets the company ID of this d d l record.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this d d l record.
|
void |
setDDMStorageId(long DDMStorageId)
Sets the d d m storage ID of this d d l record.
|
void |
setDisplayIndex(int displayIndex)
Sets the display index of this d d l record.
|
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 d d l record.
|
void |
setLastPublishDate(java.util.Date lastPublishDate)
Sets the last publish date of this d d l record.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this d d l record.
|
void |
setNew(boolean n) |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this d d l record.
|
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj) |
void |
setRecordId(long recordId)
Sets the record ID of this d d l record.
|
void |
setRecordSetId(long recordSetId)
Sets the record set ID of this d d l record.
|
void |
setUserId(long userId)
Sets the user ID of this d d l record.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this d d l record.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this d d l record.
|
void |
setUuid(java.lang.String uuid)
Sets the uuid of this d d l record.
|
void |
setVersion(java.lang.String version)
Sets the version of this d d l record.
|
void |
setVersionUserId(long versionUserId)
Sets the version user ID of this d d l record.
|
void |
setVersionUserName(java.lang.String versionUserName)
Sets the version user name of this d d l record.
|
void |
setVersionUserUuid(java.lang.String versionUserUuid)
Sets the version user uuid of this d d l record.
|
com.liferay.portal.kernel.model.CacheModel<DDLRecord> |
toCacheModel() |
DDLRecord |
toEscapedModel() |
java.lang.String |
toString() |
DDLRecord |
toUnescapedModel() |
java.lang.String |
toXmlString() |
public DDLRecordWrapper(DDLRecord ddlRecord)
public java.lang.Class<?> getModelClass()
getModelClass in interface com.liferay.portal.kernel.model.ClassedModelpublic java.lang.String getModelClassName()
getModelClassName in interface com.liferay.portal.kernel.model.ClassedModelpublic java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<DDLRecord>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<DDLRecord>public DDLRecord toEscapedModel()
toEscapedModel in interface DDLRecordModeltoEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<DDLRecord>public DDLRecord toUnescapedModel()
toUnescapedModel in interface DDLRecordModeltoUnescapedModel in interface com.liferay.portal.kernel.model.BaseModel<DDLRecord>public DDLRecordSet getRecordSet() throws com.liferay.portal.kernel.exception.PortalException
getRecordSet in interface DDLRecordcom.liferay.portal.kernel.exception.PortalExceptionpublic DDLRecordVersion getLatestRecordVersion() throws com.liferay.portal.kernel.exception.PortalException
getLatestRecordVersion in interface DDLRecordcom.liferay.portal.kernel.exception.PortalExceptionpublic DDLRecordVersion getRecordVersion() throws com.liferay.portal.kernel.exception.PortalException
getRecordVersion in interface DDLRecordcom.liferay.portal.kernel.exception.PortalExceptionpublic DDLRecordVersion getRecordVersion(java.lang.String version) throws com.liferay.portal.kernel.exception.PortalException
getRecordVersion in interface DDLRecordcom.liferay.portal.kernel.exception.PortalExceptionpublic boolean isCachedModel()
isCachedModel in interface DDLRecordModelisCachedModel in interface com.liferay.portal.kernel.model.BaseModel<DDLRecord>public boolean isEscapedModel()
isEscapedModel in interface DDLRecordModelisEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<DDLRecord>public boolean isNew()
isNew in interface DDLRecordModelisNew in interface com.liferay.portal.kernel.model.BaseModel<DDLRecord>public com.liferay.dynamic.data.mapping.storage.DDMFormValues getDDMFormValues()
throws com.liferay.portal.kernel.exception.PortalException
getDDMFormValues in interface DDLRecordcom.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge in interface DDLRecordModelgetExpandoBridge in interface com.liferay.portal.kernel.model.BaseModel<DDLRecord>getExpandoBridge in interface com.liferay.portal.kernel.model.ClassedModelpublic com.liferay.portal.kernel.model.CacheModel<DDLRecord> toCacheModel()
toCacheModel in interface DDLRecordModeltoCacheModel in interface com.liferay.portal.kernel.model.BaseModel<DDLRecord>public int compareTo(DDLRecord ddlRecord)
compareTo in interface DDLRecordModelcompareTo in interface java.lang.Comparable<DDLRecord>public int getDisplayIndex()
getDisplayIndex in interface DDLRecordModelpublic int getStatus()
throws com.liferay.portal.kernel.exception.PortalException
public int hashCode()
hashCode in interface DDLRecordModelhashCode in class java.lang.Objectpublic java.io.Serializable getFieldDataType(java.lang.String fieldName)
throws com.liferay.portal.kernel.exception.PortalException
getFieldDataType in interface DDLRecordcom.liferay.portal.kernel.exception.PortalExceptionpublic java.io.Serializable getFieldType(java.lang.String fieldName)
throws java.lang.Exception
getFieldType in interface DDLRecordjava.lang.Exceptionpublic java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj in interface DDLRecordModelgetPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<DDLRecord>getPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelpublic java.lang.Object clone()
clone in interface DDLRecordModelclone in interface com.liferay.portal.kernel.model.BaseModel<DDLRecord>clone in interface com.liferay.portal.kernel.model.StagedModelclone in class java.lang.Objectpublic java.lang.String getUserName()
getUserName in interface DDLRecordModelgetUserName in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserUuid()
getUserUuid in interface DDLRecordModelgetUserUuid in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUuid()
getUuid in interface DDLRecordModelgetUuid in interface com.liferay.portal.kernel.model.StagedModelpublic java.lang.String getVersion()
getVersion in interface DDLRecordModelpublic java.lang.String getVersionUserName()
getVersionUserName in interface DDLRecordModelpublic java.lang.String getVersionUserUuid()
getVersionUserUuid in interface DDLRecordModelpublic java.lang.String toString()
toString in interface DDLRecordModeltoString in class java.lang.Objectpublic java.lang.String toXmlString()
toXmlString in interface DDLRecordModeltoXmlString in interface com.liferay.portal.kernel.model.BaseModel<DDLRecord>public java.util.Date getCreateDate()
getCreateDate in interface DDLRecordModelgetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelgetCreateDate in interface com.liferay.portal.kernel.model.StagedModelpublic java.util.Date getLastPublishDate()
getLastPublishDate in interface DDLRecordModelgetLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModelpublic java.util.Date getModifiedDate()
getModifiedDate in interface DDLRecordModelgetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelgetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelpublic java.util.List<com.liferay.dynamic.data.mapping.storage.DDMFormFieldValue> getDDMFormFieldValues(java.lang.String fieldName)
throws com.liferay.portal.kernel.exception.PortalException
getDDMFormFieldValues in interface DDLRecordcom.liferay.portal.kernel.exception.PortalExceptionpublic long getCompanyId()
getCompanyId in interface DDLRecordModelgetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelgetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelgetCompanyId in interface com.liferay.portal.kernel.model.StagedModelpublic long getDDMStorageId()
getDDMStorageId in interface DDLRecordModelpublic long getGroupId()
getGroupId in interface DDLRecordModelgetGroupId in interface com.liferay.portal.kernel.model.GroupedModelpublic long getPrimaryKey()
getPrimaryKey in interface DDLRecordModelpublic long getRecordId()
getRecordId in interface DDLRecordModelpublic long getRecordSetId()
getRecordSetId in interface DDLRecordModelpublic long getUserId()
getUserId in interface DDLRecordModelgetUserId in interface com.liferay.portal.kernel.model.AuditedModelpublic long getVersionUserId()
getVersionUserId in interface DDLRecordModelpublic void persist()
persist in interface com.liferay.portal.kernel.model.PersistedModelpublic void setCachedModel(boolean cachedModel)
setCachedModel in interface DDLRecordModelsetCachedModel in interface com.liferay.portal.kernel.model.BaseModel<DDLRecord>public void setCompanyId(long companyId)
setCompanyId in interface DDLRecordModelsetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelsetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelsetCompanyId in interface com.liferay.portal.kernel.model.StagedModelcompanyId - the company ID of this d d l recordpublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface DDLRecordModelsetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelsetCreateDate in interface com.liferay.portal.kernel.model.StagedModelcreateDate - the create date of this d d l recordpublic void setDDMStorageId(long DDMStorageId)
setDDMStorageId in interface DDLRecordModelDDMStorageId - the d d m storage ID of this d d l recordpublic void setDisplayIndex(int displayIndex)
setDisplayIndex in interface DDLRecordModeldisplayIndex - the display index of this d d l recordpublic void setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface DDLRecordModelsetExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<DDLRecord>public void setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface DDLRecordModelsetExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<DDLRecord>public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes in interface DDLRecordModelsetExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<DDLRecord>public void setGroupId(long groupId)
setGroupId in interface DDLRecordModelsetGroupId in interface com.liferay.portal.kernel.model.GroupedModelgroupId - the group ID of this d d l recordpublic void setLastPublishDate(java.util.Date lastPublishDate)
setLastPublishDate in interface DDLRecordModelsetLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModellastPublishDate - the last publish date of this d d l recordpublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface DDLRecordModelsetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelsetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelmodifiedDate - the modified date of this d d l recordpublic void setNew(boolean n)
setNew in interface DDLRecordModelsetNew in interface com.liferay.portal.kernel.model.BaseModel<DDLRecord>public void setPrimaryKey(long primaryKey)
setPrimaryKey in interface DDLRecordModelprimaryKey - the primary key of this d d l recordpublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj in interface DDLRecordModelsetPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<DDLRecord>setPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelpublic void setRecordId(long recordId)
setRecordId in interface DDLRecordModelrecordId - the record ID of this d d l recordpublic void setRecordSetId(long recordSetId)
setRecordSetId in interface DDLRecordModelrecordSetId - the record set ID of this d d l recordpublic void setUserId(long userId)
setUserId in interface DDLRecordModelsetUserId in interface com.liferay.portal.kernel.model.AuditedModeluserId - the user ID of this d d l recordpublic void setUserName(java.lang.String userName)
setUserName in interface DDLRecordModelsetUserName in interface com.liferay.portal.kernel.model.AuditedModeluserName - the user name of this d d l recordpublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface DDLRecordModelsetUserUuid in interface com.liferay.portal.kernel.model.AuditedModeluserUuid - the user uuid of this d d l recordpublic void setUuid(java.lang.String uuid)
setUuid in interface DDLRecordModelsetUuid in interface com.liferay.portal.kernel.model.StagedModeluuid - the uuid of this d d l recordpublic void setVersion(java.lang.String version)
setVersion in interface DDLRecordModelversion - the version of this d d l recordpublic void setVersionUserId(long versionUserId)
setVersionUserId in interface DDLRecordModelversionUserId - the version user ID of this d d l recordpublic void setVersionUserName(java.lang.String versionUserName)
setVersionUserName in interface DDLRecordModelversionUserName - the version user name of this d d l recordpublic void setVersionUserUuid(java.lang.String versionUserUuid)
setVersionUserUuid in interface DDLRecordModelversionUserUuid - the version user uuid of this d d l recordpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType in interface com.liferay.portal.kernel.model.StagedModelpublic DDLRecord getWrappedModel()
getWrappedModel in interface com.liferay.portal.kernel.model.ModelWrapper<DDLRecord>public boolean isEntityCacheEnabled()
isEntityCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<DDLRecord>public boolean isFinderCacheEnabled()
isFinderCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<DDLRecord>public void resetOriginalValues()
resetOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<DDLRecord>