@ProviderType public class DDMTemplateLinkWrapper extends java.lang.Object implements DDMTemplateLink, com.liferay.portal.kernel.model.ModelWrapper<DDMTemplateLink>
This class is a wrapper for DDMTemplateLink
.
DDMTemplateLink
,
Serialized FormTEMPLATE_LINK_ID_ACCESSOR
Constructor and Description |
---|
DDMTemplateLinkWrapper(DDMTemplateLink ddmTemplateLink) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
int |
compareTo(DDMTemplateLink ddmTemplateLink) |
boolean |
equals(java.lang.Object obj) |
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.
|
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
long |
getPrimaryKey()
Returns the primary key of this ddm template link.
|
java.io.Serializable |
getPrimaryKeyObj() |
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.
|
DDMTemplateLink |
getWrappedModel() |
int |
hashCode() |
boolean |
isCachedModel() |
boolean |
isEntityCacheEnabled() |
boolean |
isEscapedModel() |
boolean |
isFinderCacheEnabled() |
boolean |
isNew() |
void |
persist() |
void |
resetOriginalValues() |
void |
setCachedModel(boolean cachedModel) |
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 |
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 |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setNew(boolean n) |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this ddm template link.
|
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj) |
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.
|
com.liferay.portal.kernel.model.CacheModel<DDMTemplateLink> |
toCacheModel() |
DDMTemplateLink |
toEscapedModel() |
java.lang.String |
toString() |
DDMTemplateLink |
toUnescapedModel() |
java.lang.String |
toXmlString() |
public DDMTemplateLinkWrapper(DDMTemplateLink ddmTemplateLink)
public java.lang.Class<?> getModelClass()
getModelClass
in interface com.liferay.portal.kernel.model.ClassedModel
public java.lang.String getModelClassName()
getModelClassName
in interface com.liferay.portal.kernel.model.ClassedModel
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<DDMTemplateLink>
public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<DDMTemplateLink>
public DDMTemplate getTemplate() throws com.liferay.portal.kernel.exception.PortalException
getTemplate
in interface DDMTemplateLink
com.liferay.portal.kernel.exception.PortalException
public DDMTemplateLink toEscapedModel()
toEscapedModel
in interface DDMTemplateLinkModel
toEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<DDMTemplateLink>
public DDMTemplateLink toUnescapedModel()
toUnescapedModel
in interface DDMTemplateLinkModel
toUnescapedModel
in interface com.liferay.portal.kernel.model.BaseModel<DDMTemplateLink>
public boolean isCachedModel()
isCachedModel
in interface DDMTemplateLinkModel
isCachedModel
in interface com.liferay.portal.kernel.model.BaseModel<DDMTemplateLink>
public boolean isEscapedModel()
isEscapedModel
in interface DDMTemplateLinkModel
isEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<DDMTemplateLink>
public boolean isNew()
isNew
in interface DDMTemplateLinkModel
isNew
in interface com.liferay.portal.kernel.model.BaseModel<DDMTemplateLink>
public com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge
in interface DDMTemplateLinkModel
getExpandoBridge
in interface com.liferay.portal.kernel.model.BaseModel<DDMTemplateLink>
getExpandoBridge
in interface com.liferay.portal.kernel.model.ClassedModel
public com.liferay.portal.kernel.model.CacheModel<DDMTemplateLink> toCacheModel()
toCacheModel
in interface DDMTemplateLinkModel
toCacheModel
in interface com.liferay.portal.kernel.model.BaseModel<DDMTemplateLink>
public int compareTo(DDMTemplateLink ddmTemplateLink)
compareTo
in interface DDMTemplateLinkModel
compareTo
in interface java.lang.Comparable<DDMTemplateLink>
public int hashCode()
hashCode
in interface DDMTemplateLinkModel
hashCode
in class java.lang.Object
public java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj
in interface DDMTemplateLinkModel
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<DDMTemplateLink>
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
public java.lang.Object clone()
clone
in interface DDMTemplateLinkModel
clone
in interface com.liferay.portal.kernel.model.BaseModel<DDMTemplateLink>
clone
in class java.lang.Object
public java.lang.String getClassName()
getClassName
in interface DDMTemplateLinkModel
getClassName
in interface com.liferay.portal.kernel.model.TypedModel
public java.lang.String toString()
toString
in interface DDMTemplateLinkModel
toString
in class java.lang.Object
public java.lang.String toXmlString()
toXmlString
in interface DDMTemplateLinkModel
toXmlString
in interface com.liferay.portal.kernel.model.BaseModel<DDMTemplateLink>
public long getClassNameId()
getClassNameId
in interface DDMTemplateLinkModel
getClassNameId
in interface com.liferay.portal.kernel.model.TypedModel
public long getClassPK()
getClassPK
in interface DDMTemplateLinkModel
getClassPK
in interface com.liferay.portal.kernel.model.AttachedModel
public long getCompanyId()
getCompanyId
in interface DDMTemplateLinkModel
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
public long getPrimaryKey()
getPrimaryKey
in interface DDMTemplateLinkModel
public long getTemplateId()
getTemplateId
in interface DDMTemplateLinkModel
public long getTemplateLinkId()
getTemplateLinkId
in interface DDMTemplateLinkModel
public void persist()
persist
in interface com.liferay.portal.kernel.model.PersistedModel
public void setCachedModel(boolean cachedModel)
setCachedModel
in interface DDMTemplateLinkModel
setCachedModel
in interface com.liferay.portal.kernel.model.BaseModel<DDMTemplateLink>
public void setClassName(java.lang.String className)
setClassName
in interface DDMTemplateLinkModel
public void setClassNameId(long classNameId)
setClassNameId
in interface DDMTemplateLinkModel
setClassNameId
in interface com.liferay.portal.kernel.model.TypedModel
classNameId
- the class name ID of this ddm template linkpublic void setClassPK(long classPK)
setClassPK
in interface DDMTemplateLinkModel
setClassPK
in interface com.liferay.portal.kernel.model.AttachedModel
classPK
- the class pk of this ddm template linkpublic void setCompanyId(long companyId)
setCompanyId
in interface DDMTemplateLinkModel
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
companyId
- the company ID of this ddm template linkpublic void setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface DDMTemplateLinkModel
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<DDMTemplateLink>
public void setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface DDMTemplateLinkModel
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<DDMTemplateLink>
public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes
in interface DDMTemplateLinkModel
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<DDMTemplateLink>
public void setNew(boolean n)
setNew
in interface DDMTemplateLinkModel
setNew
in interface com.liferay.portal.kernel.model.BaseModel<DDMTemplateLink>
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface DDMTemplateLinkModel
primaryKey
- the primary key of this ddm template linkpublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj
in interface DDMTemplateLinkModel
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<DDMTemplateLink>
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
public void setTemplateId(long templateId)
setTemplateId
in interface DDMTemplateLinkModel
templateId
- the template ID of this ddm template linkpublic void setTemplateLinkId(long templateLinkId)
setTemplateLinkId
in interface DDMTemplateLinkModel
templateLinkId
- the template link ID of this ddm template linkpublic boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public DDMTemplateLink getWrappedModel()
getWrappedModel
in interface com.liferay.portal.kernel.model.ModelWrapper<DDMTemplateLink>
public boolean isEntityCacheEnabled()
isEntityCacheEnabled
in interface com.liferay.portal.kernel.model.BaseModel<DDMTemplateLink>
public boolean isFinderCacheEnabled()
isFinderCacheEnabled
in interface com.liferay.portal.kernel.model.BaseModel<DDMTemplateLink>
public void resetOriginalValues()
resetOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<DDMTemplateLink>