|
Liferay 7.0-ce-m6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.dynamicdatamapping.model.DDMTemplateLinkWrapper
@ProviderType public class DDMTemplateLinkWrapper
This class is a wrapper for DDMTemplateLink.
DDMTemplateLink,
Serialized Form| Constructor Summary | |
|---|---|
DDMTemplateLinkWrapper(DDMTemplateLink ddmTemplateLink)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(DDMTemplateLink ddmTemplateLink)
|
boolean |
equals(Object obj)
|
String |
getClassName()
Returns the fully qualified class name of this d d m template link. |
long |
getClassNameId()
Returns the class name ID of this d d m template link. |
long |
getClassPK()
Returns the class p k of this d d m template link. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
long |
getPrimaryKey()
Returns the primary key of this d d m template link. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
DDMTemplate |
getTemplate()
|
long |
getTemplateId()
Returns the template ID of this d d m template link. |
long |
getTemplateLinkId()
Returns the template link ID of this d d m template link. |
DDMTemplateLink |
getWrappedDDMTemplateLink()
Deprecated. As of 6.1.0, replaced by getWrappedModel() |
DDMTemplateLink |
getWrappedModel()
|
int |
hashCode()
|
boolean |
isCachedModel()
Returns true if this model instance was retrieved from the
entity cache. |
boolean |
isEntityCacheEnabled()
Returns true if this model's entity cache is enabled. |
boolean |
isEscapedModel()
Returns true if this model instance is escaped. |
boolean |
isFinderCacheEnabled()
Returns true if this model's finder cache is enabled. |
boolean |
isNew()
Returns true if this model instance does not yet exist in
the database. |
void |
persist()
Updates this model instance in the database or adds it if it does not yet exist. |
void |
resetOriginalValues()
Reset all original fields to current values. |
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
void |
setClassName(String className)
|
void |
setClassNameId(long classNameId)
Sets the class name ID of this d d m template link. |
void |
setClassPK(long classPK)
Sets the class p k of this d d m template link. |
void |
setExpandoBridgeAttributes(BaseModel<?> baseModel)
|
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
|
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setModelAttributes(Map<String,Object> attributes)
|
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this d d m template link. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setTemplateId(long templateId)
Sets the template ID of this d d m template link. |
void |
setTemplateLinkId(long templateLinkId)
Sets the template link ID of this d d m template link. |
CacheModel<DDMTemplateLink> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
DDMTemplateLink |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
String |
toString()
|
DDMTemplateLink |
toUnescapedModel()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DDMTemplateLinkWrapper(DDMTemplateLink ddmTemplateLink)
| Method Detail |
|---|
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<DDMTemplateLink>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<DDMTemplateLink>public Object clone()
BaseModel
clone in interface BaseModel<DDMTemplateLink>clone in interface DDMTemplateLinkModelclone in class Objectpublic int compareTo(DDMTemplateLink ddmTemplateLink)
compareTo in interface DDMTemplateLinkModelcompareTo in interface Comparable<DDMTemplateLink>public String getClassName()
getClassName in interface TypedModelgetClassName in interface DDMTemplateLinkModelpublic long getClassNameId()
getClassNameId in interface TypedModelgetClassNameId in interface DDMTemplateLinkModelpublic long getClassPK()
getClassPK in interface AttachedModelgetClassPK in interface DDMTemplateLinkModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<DDMTemplateLink>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface DDMTemplateLinkModelpublic long getPrimaryKey()
getPrimaryKey in interface DDMTemplateLinkModelpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<DDMTemplateLink>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface DDMTemplateLinkModel
public DDMTemplate getTemplate()
throws PortalException
getTemplate in interface DDMTemplateLinkPortalExceptionpublic long getTemplateId()
getTemplateId in interface DDMTemplateLinkModelpublic long getTemplateLinkId()
getTemplateLinkId in interface DDMTemplateLinkModelpublic int hashCode()
hashCode in interface DDMTemplateLinkModelhashCode in class Objectpublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.
isCachedModel in interface BaseModel<DDMTemplateLink>isCachedModel in interface DDMTemplateLinkModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.
isEscapedModel in interface BaseModel<DDMTemplateLink>isEscapedModel in interface DDMTemplateLinkModeltrue if this model instance is escaped;
false otherwisepublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.
isNew in interface BaseModel<DDMTemplateLink>isNew in interface DDMTemplateLinkModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void persist()
PersistedModel
persist in interface PersistedModelpublic void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<DDMTemplateLink>setCachedModel in interface DDMTemplateLinkModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic void setClassName(String className)
setClassName in interface DDMTemplateLinkModelpublic void setClassNameId(long classNameId)
setClassNameId in interface TypedModelsetClassNameId in interface DDMTemplateLinkModelclassNameId - the class name ID of this d d m template linkpublic void setClassPK(long classPK)
setClassPK in interface AttachedModelsetClassPK in interface DDMTemplateLinkModelclassPK - the class p k of this d d m template linkpublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<DDMTemplateLink>setExpandoBridgeAttributes in interface DDMTemplateLinkModelpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<DDMTemplateLink>setExpandoBridgeAttributes in interface DDMTemplateLinkModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<DDMTemplateLink>setExpandoBridgeAttributes in interface DDMTemplateLinkModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)public void setNew(boolean n)
BaseModel
setNew in interface BaseModel<DDMTemplateLink>setNew in interface DDMTemplateLinkModeln - whether this model instance does not yet exist in the databasepublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface DDMTemplateLinkModelprimaryKey - the primary key of this d d m template linkpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<DDMTemplateLink>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface DDMTemplateLinkModelprimaryKeyObj - the primary key of this model instancepublic void setTemplateId(long templateId)
setTemplateId in interface DDMTemplateLinkModeltemplateId - the template ID of this d d m template linkpublic void setTemplateLinkId(long templateLinkId)
setTemplateLinkId in interface DDMTemplateLinkModeltemplateLinkId - the template link ID of this d d m template linkpublic CacheModel<DDMTemplateLink> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<DDMTemplateLink>toCacheModel in interface DDMTemplateLinkModelpublic DDMTemplateLink toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<DDMTemplateLink>toEscapedModel in interface DDMTemplateLinkModelAutoEscapeBeanHandlerpublic String toString()
toString in interface DDMTemplateLinkModeltoString in class Objectpublic DDMTemplateLink toUnescapedModel()
toUnescapedModel in interface BaseModel<DDMTemplateLink>toUnescapedModel in interface DDMTemplateLinkModelpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<DDMTemplateLink>toXmlString in interface DDMTemplateLinkModelpublic boolean equals(Object obj)
equals in class Object@Deprecated public DDMTemplateLink getWrappedDDMTemplateLink()
getWrappedModel()
public DDMTemplateLink getWrappedModel()
getWrappedModel in interface ModelWrapper<DDMTemplateLink>public boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.
isEntityCacheEnabled in interface BaseModel<DDMTemplateLink>true if this model's entity cache is enabled;
false otherwisepublic boolean isFinderCacheEnabled()
BaseModeltrue if this model's finder cache is enabled.
isFinderCacheEnabled in interface BaseModel<DDMTemplateLink>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<DDMTemplateLink>
|
Liferay 7.0-ce-m6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||