public class DDMTemplateLinkWrapper extends BaseModelWrapper<DDMTemplateLink> implements DDMTemplateLink, ModelWrapper<DDMTemplateLink>
This class is a wrapper for DDMTemplateLink.
DDMTemplateLink,
Serialized FormmodelTEMPLATE_LINK_ID_ACCESSOR| Constructor and Description |
|---|
DDMTemplateLinkWrapper(DDMTemplateLink ddmTemplateLink) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,java.util.function.Function<DDMTemplateLink,java.lang.Object>> |
getAttributeGetterFunctions() |
java.util.Map<java.lang.String,java.util.function.BiConsumer<DDMTemplateLink,java.lang.Object>> |
getAttributeSetterBiConsumers() |
java.lang.String |
getClassName()
Returns the fully qualified class name of this ddm template link.
|
long |
getClassNameId()
Returns the class name ID of this ddm template link.
|
long |
getClassPK()
Returns the class pk of this ddm template link.
|
long |
getCompanyId()
Returns the company ID of this ddm template link.
|
long |
getCtCollectionId()
Returns the ct collection ID of this ddm template link.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
long |
getMvccVersion()
Returns the mvcc version of this ddm template link.
|
long |
getPrimaryKey()
Returns the primary key of this ddm template link.
|
DDMTemplate |
getTemplate() |
long |
getTemplateId()
Returns the template ID of this ddm template link.
|
long |
getTemplateLinkId()
Returns the template link ID of this ddm template link.
|
void |
persist()
Updates this model instance in the database or adds it if it does not yet
exist.
|
void |
setClassName(java.lang.String className) |
void |
setClassNameId(long classNameId)
Sets the class name ID of this ddm template link.
|
void |
setClassPK(long classPK)
Sets the class pk of this ddm template link.
|
void |
setCompanyId(long companyId)
Sets the company ID of this ddm template link.
|
void |
setCtCollectionId(long ctCollectionId)
Sets the ct collection ID of this ddm template link.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this ddm template link.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this ddm template link.
|
void |
setTemplateId(long templateId)
Sets the template ID of this ddm template link.
|
void |
setTemplateLinkId(long templateLinkId)
Sets the template link ID of this ddm template link.
|
protected DDMTemplateLinkWrapper |
wrap(DDMTemplateLink ddmTemplateLink) |
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, toXmlStringfinalize, getClass, notify, notifyAll, wait, wait, waitclone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringgetModelClass, getModelClassNamegetWrappedModelpublic DDMTemplateLinkWrapper(DDMTemplateLink ddmTemplateLink)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface BaseModel<DDMTemplateLink>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface BaseModel<DDMTemplateLink>public java.lang.String getClassName()
getClassName in interface DDMTemplateLinkModelgetClassName in interface TypedModelpublic long getClassNameId()
getClassNameId in interface DDMTemplateLinkModelgetClassNameId in interface TypedModelpublic long getClassPK()
getClassPK in interface DDMTemplateLinkModelgetClassPK in interface AttachedModelpublic long getCompanyId()
getCompanyId in interface DDMTemplateLinkModelgetCompanyId in interface ShardedModelpublic long getCtCollectionId()
getCtCollectionId in interface DDMTemplateLinkModelgetCtCollectionId in interface CTModel<DDMTemplateLink>public long getMvccVersion()
getMvccVersion in interface DDMTemplateLinkModelgetMvccVersion in interface MVCCModelpublic long getPrimaryKey()
getPrimaryKey in interface DDMTemplateLinkModelgetPrimaryKey in interface CTModel<DDMTemplateLink>public DDMTemplate getTemplate() throws PortalException
getTemplate in interface DDMTemplateLinkPortalExceptionpublic long getTemplateId()
getTemplateId in interface DDMTemplateLinkModelpublic long getTemplateLinkId()
getTemplateLinkId in interface DDMTemplateLinkModelpublic void persist()
PersistedModelpersist in interface PersistedModelpublic void setClassName(java.lang.String className)
setClassName in interface DDMTemplateLinkModelpublic void setClassNameId(long classNameId)
setClassNameId in interface DDMTemplateLinkModelsetClassNameId in interface TypedModelclassNameId - the class name ID of this ddm template linkpublic void setClassPK(long classPK)
setClassPK in interface DDMTemplateLinkModelsetClassPK in interface AttachedModelclassPK - the class pk of this ddm template linkpublic void setCompanyId(long companyId)
setCompanyId in interface DDMTemplateLinkModelsetCompanyId in interface ShardedModelcompanyId - the company ID of this ddm template linkpublic void setCtCollectionId(long ctCollectionId)
setCtCollectionId in interface DDMTemplateLinkModelsetCtCollectionId in interface CTModel<DDMTemplateLink>ctCollectionId - the ct collection ID of this ddm template linkpublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface DDMTemplateLinkModelsetMvccVersion in interface MVCCModelmvccVersion - the mvcc version of this ddm template linkpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface DDMTemplateLinkModelsetPrimaryKey in interface CTModel<DDMTemplateLink>primaryKey - the primary key of this ddm template linkpublic void setTemplateId(long templateId)
setTemplateId in interface DDMTemplateLinkModeltemplateId - the template ID of this ddm template linkpublic void setTemplateLinkId(long templateLinkId)
setTemplateLinkId in interface DDMTemplateLinkModeltemplateLinkId - the template link ID of this ddm template linkpublic java.util.Map<java.lang.String,java.util.function.Function<DDMTemplateLink,java.lang.Object>> getAttributeGetterFunctions()
getAttributeGetterFunctions in interface BaseModel<DDMTemplateLink>public java.util.Map<java.lang.String,java.util.function.BiConsumer<DDMTemplateLink,java.lang.Object>> getAttributeSetterBiConsumers()
getAttributeSetterBiConsumers in interface BaseModel<DDMTemplateLink>protected DDMTemplateLinkWrapper wrap(DDMTemplateLink ddmTemplateLink)
wrap in class BaseModelWrapper<DDMTemplateLink>