public class DDLRecordWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<DDLRecord> 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 |
---|---|
DDLRecord |
cloneWithOriginalValues() |
java.util.Map<java.lang.String,java.util.function.Function<DDLRecord,java.lang.Object>> |
getAttributeGetterFunctions() |
java.util.Map<java.lang.String,java.util.function.BiConsumer<DDLRecord,java.lang.Object>> |
getAttributeSetterBiConsumers() |
java.lang.String |
getClassName()
Returns the class name of this ddl record.
|
long |
getClassPK()
Returns the class pk of this ddl record.
|
long |
getCompanyId()
Returns the company ID of this ddl record.
|
java.util.Date |
getCreateDate()
Returns the create date of this ddl record.
|
long |
getCtCollectionId()
Returns the ct collection ID of this ddl 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 ddm storage ID of this ddl record.
|
int |
getDisplayIndex()
Returns the display index of this ddl record.
|
java.io.Serializable |
getFieldDataType(java.lang.String fieldName) |
java.io.Serializable |
getFieldType(java.lang.String fieldName) |
long |
getGroupId()
Returns the group ID of this ddl record.
|
java.util.Date |
getLastPublishDate()
Returns the last publish date of this ddl record.
|
DDLRecordVersion |
getLatestRecordVersion() |
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.util.Date |
getModifiedDate()
Returns the modified date of this ddl record.
|
long |
getMvccVersion()
Returns the mvcc version of this ddl record.
|
long |
getPrimaryKey()
Returns the primary key of this ddl record.
|
long |
getRecordId()
Returns the record ID of this ddl record.
|
DDLRecordSet |
getRecordSet() |
long |
getRecordSetId()
Returns the record set ID of this ddl record.
|
java.lang.String |
getRecordSetVersion()
Returns the record set version of this ddl 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 ddl record.
|
java.lang.String |
getUserName()
Returns the user name of this ddl record.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this ddl record.
|
java.lang.String |
getUuid()
Returns the uuid of this ddl record.
|
java.lang.String |
getVersion()
Returns the version of this ddl record.
|
long |
getVersionUserId()
Returns the version user ID of this ddl record.
|
java.lang.String |
getVersionUserName()
Returns the version user name of this ddl record.
|
java.lang.String |
getVersionUserUuid()
Returns the version user uuid of this ddl record.
|
void |
persist() |
void |
setClassName(java.lang.String className)
Sets the class name of this ddl record.
|
void |
setClassPK(long classPK)
Sets the class pk of this ddl record.
|
void |
setCompanyId(long companyId)
Sets the company ID of this ddl record.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this ddl record.
|
void |
setCtCollectionId(long ctCollectionId)
Sets the ct collection ID of this ddl record.
|
void |
setDDMStorageId(long DDMStorageId)
Sets the ddm storage ID of this ddl record.
|
void |
setDisplayIndex(int displayIndex)
Sets the display index of this ddl record.
|
void |
setGroupId(long groupId)
Sets the group ID of this ddl record.
|
void |
setLastPublishDate(java.util.Date lastPublishDate)
Sets the last publish date of this ddl 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 ddl record.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this ddl record.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this ddl record.
|
void |
setRecordId(long recordId)
Sets the record ID of this ddl record.
|
void |
setRecordSetId(long recordSetId)
Sets the record set ID of this ddl record.
|
void |
setRecordSetVersion(java.lang.String recordSetVersion)
Sets the record set version of this ddl record.
|
void |
setUserId(long userId)
Sets the user ID of this ddl record.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this ddl record.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this ddl record.
|
void |
setUuid(java.lang.String uuid)
Sets the uuid of this ddl record.
|
void |
setVersion(java.lang.String version)
Sets the version of this ddl record.
|
void |
setVersionUserId(long versionUserId)
Sets the version user ID of this ddl record.
|
void |
setVersionUserName(java.lang.String versionUserName)
Sets the version user name of this ddl record.
|
void |
setVersionUserUuid(java.lang.String versionUserUuid)
Sets the version user uuid of this ddl record.
|
protected DDLRecordWrapper |
wrap(DDLRecord ddlRecord) |
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlString
finalize, getClass, notify, notifyAll, wait, wait, wait
clone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
public DDLRecordWrapper(DDLRecord ddlRecord)
public 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 cloneWithOriginalValues()
cloneWithOriginalValues
in interface DDLRecordModel
cloneWithOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<DDLRecord>
public java.lang.String getClassName()
getClassName
in interface DDLRecordModel
public long getClassPK()
getClassPK
in interface DDLRecordModel
public long getCompanyId()
getCompanyId
in interface DDLRecordModel
getCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
getCompanyId
in interface com.liferay.portal.kernel.model.StagedModel
public java.util.Date getCreateDate()
getCreateDate
in interface DDLRecordModel
getCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
getCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
public long getCtCollectionId()
getCtCollectionId
in interface DDLRecordModel
getCtCollectionId
in interface com.liferay.portal.kernel.model.change.tracking.CTModel<DDLRecord>
public 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 DDLRecord
com.liferay.portal.kernel.exception.PortalException
public com.liferay.dynamic.data.mapping.storage.DDMFormValues getDDMFormValues() throws com.liferay.portal.kernel.exception.PortalException
getDDMFormValues
in interface DDLRecord
com.liferay.portal.kernel.exception.PortalException
public long getDDMStorageId()
getDDMStorageId
in interface DDLRecordModel
public int getDisplayIndex()
getDisplayIndex
in interface DDLRecordModel
public java.io.Serializable getFieldDataType(java.lang.String fieldName) throws com.liferay.portal.kernel.exception.PortalException
getFieldDataType
in interface DDLRecord
com.liferay.portal.kernel.exception.PortalException
public java.io.Serializable getFieldType(java.lang.String fieldName) throws java.lang.Exception
getFieldType
in interface DDLRecord
java.lang.Exception
public long getGroupId()
getGroupId
in interface DDLRecordModel
getGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
public java.util.Date getLastPublishDate()
getLastPublishDate
in interface DDLRecordModel
getLastPublishDate
in interface com.liferay.portal.kernel.model.StagedGroupedModel
public DDLRecordVersion getLatestRecordVersion() throws com.liferay.portal.kernel.exception.PortalException
getLatestRecordVersion
in interface DDLRecord
com.liferay.portal.kernel.exception.PortalException
public java.util.Date getModifiedDate()
getModifiedDate
in interface DDLRecordModel
getModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
getModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
public long getMvccVersion()
getMvccVersion
in interface DDLRecordModel
getMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
public long getPrimaryKey()
getPrimaryKey
in interface DDLRecordModel
getPrimaryKey
in interface com.liferay.portal.kernel.model.change.tracking.CTModel<DDLRecord>
public long getRecordId()
getRecordId
in interface DDLRecordModel
public DDLRecordSet getRecordSet() throws com.liferay.portal.kernel.exception.PortalException
getRecordSet
in interface DDLRecord
com.liferay.portal.kernel.exception.PortalException
public long getRecordSetId()
getRecordSetId
in interface DDLRecordModel
public java.lang.String getRecordSetVersion()
getRecordSetVersion
in interface DDLRecordModel
public DDLRecordVersion getRecordVersion() throws com.liferay.portal.kernel.exception.PortalException
getRecordVersion
in interface DDLRecord
com.liferay.portal.kernel.exception.PortalException
public DDLRecordVersion getRecordVersion(java.lang.String version) throws com.liferay.portal.kernel.exception.PortalException
getRecordVersion
in interface DDLRecord
com.liferay.portal.kernel.exception.PortalException
public int getStatus() throws com.liferay.portal.kernel.exception.PortalException
public long getUserId()
getUserId
in interface DDLRecordModel
getUserId
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUserName()
getUserName
in interface DDLRecordModel
getUserName
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUserUuid()
getUserUuid
in interface DDLRecordModel
getUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUuid()
getUuid
in interface DDLRecordModel
getUuid
in interface com.liferay.portal.kernel.model.StagedModel
public java.lang.String getVersion()
getVersion
in interface DDLRecordModel
public long getVersionUserId()
getVersionUserId
in interface DDLRecordModel
public java.lang.String getVersionUserName()
getVersionUserName
in interface DDLRecordModel
public java.lang.String getVersionUserUuid()
getVersionUserUuid
in interface DDLRecordModel
public void persist()
persist
in interface com.liferay.portal.kernel.model.PersistedModel
public void setClassName(java.lang.String className)
setClassName
in interface DDLRecordModel
className
- the class name of this ddl recordpublic void setClassPK(long classPK)
setClassPK
in interface DDLRecordModel
classPK
- the class pk of this ddl recordpublic void setCompanyId(long companyId)
setCompanyId
in interface DDLRecordModel
setCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
setCompanyId
in interface com.liferay.portal.kernel.model.StagedModel
companyId
- the company ID of this ddl recordpublic void setCreateDate(java.util.Date createDate)
setCreateDate
in interface DDLRecordModel
setCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
setCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
createDate
- the create date of this ddl recordpublic void setCtCollectionId(long ctCollectionId)
setCtCollectionId
in interface DDLRecordModel
setCtCollectionId
in interface com.liferay.portal.kernel.model.change.tracking.CTModel<DDLRecord>
ctCollectionId
- the ct collection ID of this ddl recordpublic void setDDMStorageId(long DDMStorageId)
setDDMStorageId
in interface DDLRecordModel
DDMStorageId
- the ddm storage ID of this ddl recordpublic void setDisplayIndex(int displayIndex)
setDisplayIndex
in interface DDLRecordModel
displayIndex
- the display index of this ddl recordpublic void setGroupId(long groupId)
setGroupId
in interface DDLRecordModel
setGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
groupId
- the group ID of this ddl recordpublic void setLastPublishDate(java.util.Date lastPublishDate)
setLastPublishDate
in interface DDLRecordModel
setLastPublishDate
in interface com.liferay.portal.kernel.model.StagedGroupedModel
lastPublishDate
- the last publish date of this ddl recordpublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate
in interface DDLRecordModel
setModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
setModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
modifiedDate
- the modified date of this ddl recordpublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface DDLRecordModel
setMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
mvccVersion
- the mvcc version of this ddl recordpublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface DDLRecordModel
setPrimaryKey
in interface com.liferay.portal.kernel.model.change.tracking.CTModel<DDLRecord>
primaryKey
- the primary key of this ddl recordpublic void setRecordId(long recordId)
setRecordId
in interface DDLRecordModel
recordId
- the record ID of this ddl recordpublic void setRecordSetId(long recordSetId)
setRecordSetId
in interface DDLRecordModel
recordSetId
- the record set ID of this ddl recordpublic void setRecordSetVersion(java.lang.String recordSetVersion)
setRecordSetVersion
in interface DDLRecordModel
recordSetVersion
- the record set version of this ddl recordpublic void setUserId(long userId)
setUserId
in interface DDLRecordModel
setUserId
in interface com.liferay.portal.kernel.model.AuditedModel
userId
- the user ID of this ddl recordpublic void setUserName(java.lang.String userName)
setUserName
in interface DDLRecordModel
setUserName
in interface com.liferay.portal.kernel.model.AuditedModel
userName
- the user name of this ddl recordpublic void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface DDLRecordModel
setUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
userUuid
- the user uuid of this ddl recordpublic void setUuid(java.lang.String uuid)
setUuid
in interface DDLRecordModel
setUuid
in interface com.liferay.portal.kernel.model.StagedModel
uuid
- the uuid of this ddl recordpublic void setVersion(java.lang.String version)
setVersion
in interface DDLRecordModel
version
- the version of this ddl recordpublic void setVersionUserId(long versionUserId)
setVersionUserId
in interface DDLRecordModel
versionUserId
- the version user ID of this ddl recordpublic void setVersionUserName(java.lang.String versionUserName)
setVersionUserName
in interface DDLRecordModel
versionUserName
- the version user name of this ddl recordpublic void setVersionUserUuid(java.lang.String versionUserUuid)
setVersionUserUuid
in interface DDLRecordModel
versionUserUuid
- the version user uuid of this ddl recordpublic java.util.Map<java.lang.String,java.util.function.Function<DDLRecord,java.lang.Object>> getAttributeGetterFunctions()
getAttributeGetterFunctions
in interface com.liferay.portal.kernel.model.BaseModel<DDLRecord>
public java.util.Map<java.lang.String,java.util.function.BiConsumer<DDLRecord,java.lang.Object>> getAttributeSetterBiConsumers()
getAttributeSetterBiConsumers
in interface com.liferay.portal.kernel.model.BaseModel<DDLRecord>
public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType
in interface com.liferay.portal.kernel.model.StagedModel
protected DDLRecordWrapper wrap(DDLRecord ddlRecord)
wrap
in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<DDLRecord>