Class DDMTemplateLinkWrapper

java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<DDMTemplateLink>
com.liferay.dynamic.data.mapping.model.DDMTemplateLinkWrapper
All Implemented Interfaces:
DDMTemplateLink, DDMTemplateLinkModel, com.liferay.portal.kernel.model.AttachedModel, com.liferay.portal.kernel.model.BaseModel<DDMTemplateLink>, com.liferay.portal.kernel.model.change.tracking.CTModel<DDMTemplateLink>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.ModelWrapper<DDMTemplateLink>, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.PersistedModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.TypedModel, Serializable, Cloneable, Comparable<DDMTemplateLink>

public class DDMTemplateLinkWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<DDMTemplateLink> implements DDMTemplateLink, com.liferay.portal.kernel.model.ModelWrapper<DDMTemplateLink>

This class is a wrapper for DDMTemplateLink.

See Also:
Generated:
  • Constructor Details

    • DDMTemplateLinkWrapper

      public DDMTemplateLinkWrapper(DDMTemplateLink ddmTemplateLink)
  • Method Details

    • getModelAttributes

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

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

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

      public String getClassName()
      Returns the fully qualified class name of this ddm template link.
      Specified by:
      getClassName in interface DDMTemplateLinkModel
      Specified by:
      getClassName in interface com.liferay.portal.kernel.model.TypedModel
      Returns:
      the fully qualified class name of this ddm template link
    • getClassNameId

      public long getClassNameId()
      Returns the class name ID of this ddm template link.
      Specified by:
      getClassNameId in interface DDMTemplateLinkModel
      Specified by:
      getClassNameId in interface com.liferay.portal.kernel.model.TypedModel
      Returns:
      the class name ID of this ddm template link
    • getClassPK

      public long getClassPK()
      Returns the class pk of this ddm template link.
      Specified by:
      getClassPK in interface com.liferay.portal.kernel.model.AttachedModel
      Specified by:
      getClassPK in interface DDMTemplateLinkModel
      Returns:
      the class pk of this ddm template link
    • getCompanyId

      public long getCompanyId()
      Returns the company ID of this ddm template link.
      Specified by:
      getCompanyId in interface DDMTemplateLinkModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Returns:
      the company ID of this ddm template link
    • getCtCollectionId

      public long getCtCollectionId()
      Returns the ct collection ID of this ddm template link.
      Specified by:
      getCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<DDMTemplateLink>
      Specified by:
      getCtCollectionId in interface DDMTemplateLinkModel
      Returns:
      the ct collection ID of this ddm template link
    • getMvccVersion

      public long getMvccVersion()
      Returns the mvcc version of this ddm template link.
      Specified by:
      getMvccVersion in interface DDMTemplateLinkModel
      Specified by:
      getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Returns:
      the mvcc version of this ddm template link
    • getPrimaryKey

      public long getPrimaryKey()
      Returns the primary key of this ddm template link.
      Specified by:
      getPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<DDMTemplateLink>
      Specified by:
      getPrimaryKey in interface DDMTemplateLinkModel
      Returns:
      the primary key of this ddm template link
    • getTemplate

      public DDMTemplate getTemplate() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getTemplate in interface DDMTemplateLink
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getTemplateId

      public long getTemplateId()
      Returns the template ID of this ddm template link.
      Specified by:
      getTemplateId in interface DDMTemplateLinkModel
      Returns:
      the template ID of this ddm template link
    • getTemplateLinkId

      public long getTemplateLinkId()
      Returns the template link ID of this ddm template link.
      Specified by:
      getTemplateLinkId in interface DDMTemplateLinkModel
      Returns:
      the template link ID of this ddm template link
    • persist

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

      public void setClassName(String className)
      Specified by:
      setClassName in interface DDMTemplateLinkModel
    • setClassNameId

      public void setClassNameId(long classNameId)
      Sets the class name ID of this ddm template link.
      Specified by:
      setClassNameId in interface DDMTemplateLinkModel
      Specified by:
      setClassNameId in interface com.liferay.portal.kernel.model.TypedModel
      Parameters:
      classNameId - the class name ID of this ddm template link
    • setClassPK

      public void setClassPK(long classPK)
      Sets the class pk of this ddm template link.
      Specified by:
      setClassPK in interface com.liferay.portal.kernel.model.AttachedModel
      Specified by:
      setClassPK in interface DDMTemplateLinkModel
      Parameters:
      classPK - the class pk of this ddm template link
    • setCompanyId

      public void setCompanyId(long companyId)
      Sets the company ID of this ddm template link.
      Specified by:
      setCompanyId in interface DDMTemplateLinkModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Parameters:
      companyId - the company ID of this ddm template link
    • setCtCollectionId

      public void setCtCollectionId(long ctCollectionId)
      Sets the ct collection ID of this ddm template link.
      Specified by:
      setCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<DDMTemplateLink>
      Specified by:
      setCtCollectionId in interface DDMTemplateLinkModel
      Parameters:
      ctCollectionId - the ct collection ID of this ddm template link
    • setMvccVersion

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

      public void setPrimaryKey(long primaryKey)
      Sets the primary key of this ddm template link.
      Specified by:
      setPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<DDMTemplateLink>
      Specified by:
      setPrimaryKey in interface DDMTemplateLinkModel
      Parameters:
      primaryKey - the primary key of this ddm template link
    • setTemplateId

      public void setTemplateId(long templateId)
      Sets the template ID of this ddm template link.
      Specified by:
      setTemplateId in interface DDMTemplateLinkModel
      Parameters:
      templateId - the template ID of this ddm template link
    • setTemplateLinkId

      public void setTemplateLinkId(long templateLinkId)
      Sets the template link ID of this ddm template link.
      Specified by:
      setTemplateLinkId in interface DDMTemplateLinkModel
      Parameters:
      templateLinkId - the template link ID of this ddm template link
    • toXmlString

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

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

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

      protected DDMTemplateLinkWrapper wrap(DDMTemplateLink ddmTemplateLink)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<DDMTemplateLink>