Class DDLRecordWrapper

java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<DDLRecord>
com.liferay.dynamic.data.lists.model.DDLRecordWrapper
All Implemented Interfaces:
DDLRecord, DDLRecordModel, com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<DDLRecord>, com.liferay.portal.kernel.model.change.tracking.CTModel<DDLRecord>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.GroupedModel, com.liferay.portal.kernel.model.ModelWrapper<DDLRecord>, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.PersistedModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedGroupedModel, com.liferay.portal.kernel.model.StagedModel, Serializable, Cloneable, Comparable<DDLRecord>

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.

See Also:
Generated:
  • Constructor Details

    • DDLRecordWrapper

      public DDLRecordWrapper(DDLRecord ddlRecord)
  • Method Details

    • getModelAttributes

      public Map<String,Object> getModelAttributes()
      Specified by:
      getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<DDLRecord>
    • setModelAttributes

      public void setModelAttributes(Map<String,Object> attributes)
      Specified by:
      setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<DDLRecord>
    • cloneWithOriginalValues

      public DDLRecord cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<DDLRecord>
      Specified by:
      cloneWithOriginalValues in interface DDLRecordModel
    • getClassName

      public String getClassName()
      Returns the class name of this ddl record.
      Specified by:
      getClassName in interface DDLRecordModel
      Returns:
      the class name of this ddl record
    • getClassPK

      public long getClassPK()
      Returns the class pk of this ddl record.
      Specified by:
      getClassPK in interface DDLRecordModel
      Returns:
      the class pk of this ddl record
    • getCompanyId

      public long getCompanyId()
      Returns the company ID of this ddl record.
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCompanyId in interface DDLRecordModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the company ID of this ddl record
    • getCreateDate

      public Date getCreateDate()
      Returns the create date of this ddl record.
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCreateDate in interface DDLRecordModel
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the create date of this ddl record
    • getCtCollectionId

      public long getCtCollectionId()
      Returns the ct collection ID of this ddl record.
      Specified by:
      getCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<DDLRecord>
      Specified by:
      getCtCollectionId in interface DDLRecordModel
      Returns:
      the ct collection ID of this ddl record
    • getDDMFormFieldValues

      public List<com.liferay.dynamic.data.mapping.storage.DDMFormFieldValue> getDDMFormFieldValues(String fieldName) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getDDMFormFieldValues in interface DDLRecord
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getDDMFormValues

      public com.liferay.dynamic.data.mapping.storage.DDMFormValues getDDMFormValues() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getDDMFormValues in interface DDLRecord
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getDDMStorageId

      public long getDDMStorageId()
      Returns the ddm storage ID of this ddl record.
      Specified by:
      getDDMStorageId in interface DDLRecordModel
      Returns:
      the ddm storage ID of this ddl record
    • getDisplayIndex

      public int getDisplayIndex()
      Returns the display index of this ddl record.
      Specified by:
      getDisplayIndex in interface DDLRecordModel
      Returns:
      the display index of this ddl record
    • getFieldDataType

      public Serializable getFieldDataType(String fieldName) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getFieldDataType in interface DDLRecord
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getFieldType

      public Serializable getFieldType(String fieldName) throws Exception
      Specified by:
      getFieldType in interface DDLRecord
      Throws:
      Exception
    • getGroupId

      public long getGroupId()
      Returns the group ID of this ddl record.
      Specified by:
      getGroupId in interface DDLRecordModel
      Specified by:
      getGroupId in interface com.liferay.portal.kernel.model.GroupedModel
      Returns:
      the group ID of this ddl record
    • getLastPublishDate

      public Date getLastPublishDate()
      Returns the last publish date of this ddl record.
      Specified by:
      getLastPublishDate in interface DDLRecordModel
      Specified by:
      getLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModel
      Returns:
      the last publish date of this ddl record
    • getLatestRecordVersion

      public DDLRecordVersion getLatestRecordVersion() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getLatestRecordVersion in interface DDLRecord
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getModifiedDate

      public Date getModifiedDate()
      Returns the modified date of this ddl record.
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getModifiedDate in interface DDLRecordModel
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the modified date of this ddl record
    • getMvccVersion

      public long getMvccVersion()
      Returns the mvcc version of this ddl record.
      Specified by:
      getMvccVersion in interface DDLRecordModel
      Specified by:
      getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Returns:
      the mvcc version of this ddl record
    • getPrimaryKey

      public long getPrimaryKey()
      Returns the primary key of this ddl record.
      Specified by:
      getPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<DDLRecord>
      Specified by:
      getPrimaryKey in interface DDLRecordModel
      Returns:
      the primary key of this ddl record
    • getRecordId

      public long getRecordId()
      Returns the record ID of this ddl record.
      Specified by:
      getRecordId in interface DDLRecordModel
      Returns:
      the record ID of this ddl record
    • getRecordSet

      public DDLRecordSet getRecordSet() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getRecordSet in interface DDLRecord
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getRecordSetId

      public long getRecordSetId()
      Returns the record set ID of this ddl record.
      Specified by:
      getRecordSetId in interface DDLRecordModel
      Returns:
      the record set ID of this ddl record
    • getRecordSetVersion

      public String getRecordSetVersion()
      Returns the record set version of this ddl record.
      Specified by:
      getRecordSetVersion in interface DDLRecordModel
      Returns:
      the record set version of this ddl record
    • getRecordVersion

      public DDLRecordVersion getRecordVersion() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getRecordVersion in interface DDLRecord
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getRecordVersion

      public DDLRecordVersion getRecordVersion(String version) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getRecordVersion in interface DDLRecord
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getStatus

      public int getStatus() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getStatus in interface DDLRecord
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getUserId

      public long getUserId()
      Returns the user ID of this ddl record.
      Specified by:
      getUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserId in interface DDLRecordModel
      Returns:
      the user ID of this ddl record
    • getUserName

      public String getUserName()
      Returns the user name of this ddl record.
      Specified by:
      getUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserName in interface DDLRecordModel
      Returns:
      the user name of this ddl record
    • getUserUuid

      public String getUserUuid()
      Returns the user uuid of this ddl record.
      Specified by:
      getUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserUuid in interface DDLRecordModel
      Returns:
      the user uuid of this ddl record
    • getUuid

      public String getUuid()
      Returns the uuid of this ddl record.
      Specified by:
      getUuid in interface DDLRecordModel
      Specified by:
      getUuid in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the uuid of this ddl record
    • getVersion

      public String getVersion()
      Returns the version of this ddl record.
      Specified by:
      getVersion in interface DDLRecordModel
      Returns:
      the version of this ddl record
    • getVersionUserId

      public long getVersionUserId()
      Returns the version user ID of this ddl record.
      Specified by:
      getVersionUserId in interface DDLRecordModel
      Returns:
      the version user ID of this ddl record
    • getVersionUserName

      public String getVersionUserName()
      Returns the version user name of this ddl record.
      Specified by:
      getVersionUserName in interface DDLRecordModel
      Returns:
      the version user name of this ddl record
    • getVersionUserUuid

      public String getVersionUserUuid()
      Returns the version user uuid of this ddl record.
      Specified by:
      getVersionUserUuid in interface DDLRecordModel
      Returns:
      the version user uuid of this ddl record
    • persist

      public void persist()
      Specified by:
      persist in interface com.liferay.portal.kernel.model.PersistedModel
    • setClassName

      public void setClassName(String className)
      Sets the class name of this ddl record.
      Specified by:
      setClassName in interface DDLRecordModel
      Parameters:
      className - the class name of this ddl record
    • setClassPK

      public void setClassPK(long classPK)
      Sets the class pk of this ddl record.
      Specified by:
      setClassPK in interface DDLRecordModel
      Parameters:
      classPK - the class pk of this ddl record
    • setCompanyId

      public void setCompanyId(long companyId)
      Sets the company ID of this ddl record.
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCompanyId in interface DDLRecordModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      companyId - the company ID of this ddl record
    • setCreateDate

      public void setCreateDate(Date createDate)
      Sets the create date of this ddl record.
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCreateDate in interface DDLRecordModel
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      createDate - the create date of this ddl record
    • setCtCollectionId

      public void setCtCollectionId(long ctCollectionId)
      Sets the ct collection ID of this ddl record.
      Specified by:
      setCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<DDLRecord>
      Specified by:
      setCtCollectionId in interface DDLRecordModel
      Parameters:
      ctCollectionId - the ct collection ID of this ddl record
    • setDDMStorageId

      public void setDDMStorageId(long DDMStorageId)
      Sets the ddm storage ID of this ddl record.
      Specified by:
      setDDMStorageId in interface DDLRecordModel
      Parameters:
      DDMStorageId - the ddm storage ID of this ddl record
    • setDisplayIndex

      public void setDisplayIndex(int displayIndex)
      Sets the display index of this ddl record.
      Specified by:
      setDisplayIndex in interface DDLRecordModel
      Parameters:
      displayIndex - the display index of this ddl record
    • setGroupId

      public void setGroupId(long groupId)
      Sets the group ID of this ddl record.
      Specified by:
      setGroupId in interface DDLRecordModel
      Specified by:
      setGroupId in interface com.liferay.portal.kernel.model.GroupedModel
      Parameters:
      groupId - the group ID of this ddl record
    • setLastPublishDate

      public void setLastPublishDate(Date lastPublishDate)
      Sets the last publish date of this ddl record.
      Specified by:
      setLastPublishDate in interface DDLRecordModel
      Specified by:
      setLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModel
      Parameters:
      lastPublishDate - the last publish date of this ddl record
    • setModifiedDate

      public void setModifiedDate(Date modifiedDate)
      Sets the modified date of this ddl record.
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setModifiedDate in interface DDLRecordModel
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      modifiedDate - the modified date of this ddl record
    • setMvccVersion

      public void setMvccVersion(long mvccVersion)
      Sets the mvcc version of this ddl record.
      Specified by:
      setMvccVersion in interface DDLRecordModel
      Specified by:
      setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Parameters:
      mvccVersion - the mvcc version of this ddl record
    • setPrimaryKey

      public void setPrimaryKey(long primaryKey)
      Sets the primary key of this ddl record.
      Specified by:
      setPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<DDLRecord>
      Specified by:
      setPrimaryKey in interface DDLRecordModel
      Parameters:
      primaryKey - the primary key of this ddl record
    • setRecordId

      public void setRecordId(long recordId)
      Sets the record ID of this ddl record.
      Specified by:
      setRecordId in interface DDLRecordModel
      Parameters:
      recordId - the record ID of this ddl record
    • setRecordSetId

      public void setRecordSetId(long recordSetId)
      Sets the record set ID of this ddl record.
      Specified by:
      setRecordSetId in interface DDLRecordModel
      Parameters:
      recordSetId - the record set ID of this ddl record
    • setRecordSetVersion

      public void setRecordSetVersion(String recordSetVersion)
      Sets the record set version of this ddl record.
      Specified by:
      setRecordSetVersion in interface DDLRecordModel
      Parameters:
      recordSetVersion - the record set version of this ddl record
    • setUserId

      public void setUserId(long userId)
      Sets the user ID of this ddl record.
      Specified by:
      setUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserId in interface DDLRecordModel
      Parameters:
      userId - the user ID of this ddl record
    • setUserName

      public void setUserName(String userName)
      Sets the user name of this ddl record.
      Specified by:
      setUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserName in interface DDLRecordModel
      Parameters:
      userName - the user name of this ddl record
    • setUserUuid

      public void setUserUuid(String userUuid)
      Sets the user uuid of this ddl record.
      Specified by:
      setUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserUuid in interface DDLRecordModel
      Parameters:
      userUuid - the user uuid of this ddl record
    • setUuid

      public void setUuid(String uuid)
      Sets the uuid of this ddl record.
      Specified by:
      setUuid in interface DDLRecordModel
      Specified by:
      setUuid in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      uuid - the uuid of this ddl record
    • setVersion

      public void setVersion(String version)
      Sets the version of this ddl record.
      Specified by:
      setVersion in interface DDLRecordModel
      Parameters:
      version - the version of this ddl record
    • setVersionUserId

      public void setVersionUserId(long versionUserId)
      Sets the version user ID of this ddl record.
      Specified by:
      setVersionUserId in interface DDLRecordModel
      Parameters:
      versionUserId - the version user ID of this ddl record
    • setVersionUserName

      public void setVersionUserName(String versionUserName)
      Sets the version user name of this ddl record.
      Specified by:
      setVersionUserName in interface DDLRecordModel
      Parameters:
      versionUserName - the version user name of this ddl record
    • setVersionUserUuid

      public void setVersionUserUuid(String versionUserUuid)
      Sets the version user uuid of this ddl record.
      Specified by:
      setVersionUserUuid in interface DDLRecordModel
      Parameters:
      versionUserUuid - the version user uuid of this ddl record
    • toXmlString

      public String toXmlString()
      Specified by:
      toXmlString in interface DDLRecordModel
    • getAttributeGetterFunctions

      public Map<String,Function<DDLRecord,Object>> getAttributeGetterFunctions()
      Specified by:
      getAttributeGetterFunctions in interface com.liferay.portal.kernel.model.BaseModel<DDLRecord>
    • getAttributeSetterBiConsumers

      public Map<String,BiConsumer<DDLRecord,Object>> getAttributeSetterBiConsumers()
      Specified by:
      getAttributeSetterBiConsumers in interface com.liferay.portal.kernel.model.BaseModel<DDLRecord>
    • getStagedModelType

      public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
      Specified by:
      getStagedModelType in interface com.liferay.portal.kernel.model.StagedModel
    • wrap

      protected DDLRecordWrapper wrap(DDLRecord ddlRecord)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<DDLRecord>