|
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.DDMStructureLinkWrapper
@ProviderType public class DDMStructureLinkWrapper
This class is a wrapper for DDMStructureLink.
DDMStructureLink,
Serialized Form| Constructor Summary | |
|---|---|
DDMStructureLinkWrapper(DDMStructureLink ddmStructureLink)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(DDMStructureLink ddmStructureLink)
|
boolean |
equals(Object obj)
|
String |
getClassName()
Returns the fully qualified class name of this d d m structure link. |
long |
getClassNameId()
Returns the class name ID of this d d m structure link. |
long |
getClassPK()
Returns the class p k of this d d m structure 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 structure link. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
DDMStructure |
getStructure()
|
long |
getStructureId()
Returns the structure ID of this d d m structure link. |
long |
getStructureLinkId()
Returns the structure link ID of this d d m structure link. |
DDMStructureLink |
getWrappedDDMStructureLink()
Deprecated. As of 6.1.0, replaced by getWrappedModel() |
DDMStructureLink |
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 structure link. |
void |
setClassPK(long classPK)
Sets the class p k of this d d m structure 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 structure link. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setStructureId(long structureId)
Sets the structure ID of this d d m structure link. |
void |
setStructureLinkId(long structureLinkId)
Sets the structure link ID of this d d m structure link. |
CacheModel<DDMStructureLink> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
DDMStructureLink |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
String |
toString()
|
DDMStructureLink |
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 DDMStructureLinkWrapper(DDMStructureLink ddmStructureLink)
| Method Detail |
|---|
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<DDMStructureLink>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<DDMStructureLink>public Object clone()
BaseModel
clone in interface BaseModel<DDMStructureLink>clone in interface DDMStructureLinkModelclone in class Objectpublic int compareTo(DDMStructureLink ddmStructureLink)
compareTo in interface DDMStructureLinkModelcompareTo in interface Comparable<DDMStructureLink>public String getClassName()
getClassName in interface TypedModelgetClassName in interface DDMStructureLinkModelpublic long getClassNameId()
getClassNameId in interface TypedModelgetClassNameId in interface DDMStructureLinkModelpublic long getClassPK()
getClassPK in interface AttachedModelgetClassPK in interface DDMStructureLinkModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<DDMStructureLink>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface DDMStructureLinkModelpublic long getPrimaryKey()
getPrimaryKey in interface DDMStructureLinkModelpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<DDMStructureLink>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface DDMStructureLinkModel
public DDMStructure getStructure()
throws PortalException
getStructure in interface DDMStructureLinkPortalExceptionpublic long getStructureId()
getStructureId in interface DDMStructureLinkModelpublic long getStructureLinkId()
getStructureLinkId in interface DDMStructureLinkModelpublic int hashCode()
hashCode in interface DDMStructureLinkModelhashCode in class Objectpublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.
isCachedModel in interface BaseModel<DDMStructureLink>isCachedModel in interface DDMStructureLinkModeltrue 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<DDMStructureLink>isEscapedModel in interface DDMStructureLinkModeltrue 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<DDMStructureLink>isNew in interface DDMStructureLinkModeltrue 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<DDMStructureLink>setCachedModel in interface DDMStructureLinkModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic void setClassName(String className)
setClassName in interface DDMStructureLinkModelpublic void setClassNameId(long classNameId)
setClassNameId in interface TypedModelsetClassNameId in interface DDMStructureLinkModelclassNameId - the class name ID of this d d m structure linkpublic void setClassPK(long classPK)
setClassPK in interface AttachedModelsetClassPK in interface DDMStructureLinkModelclassPK - the class p k of this d d m structure linkpublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<DDMStructureLink>setExpandoBridgeAttributes in interface DDMStructureLinkModelpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<DDMStructureLink>setExpandoBridgeAttributes in interface DDMStructureLinkModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<DDMStructureLink>setExpandoBridgeAttributes in interface DDMStructureLinkModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)public void setNew(boolean n)
BaseModel
setNew in interface BaseModel<DDMStructureLink>setNew in interface DDMStructureLinkModeln - whether this model instance does not yet exist in the databasepublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface DDMStructureLinkModelprimaryKey - the primary key of this d d m structure linkpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<DDMStructureLink>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface DDMStructureLinkModelprimaryKeyObj - the primary key of this model instancepublic void setStructureId(long structureId)
setStructureId in interface DDMStructureLinkModelstructureId - the structure ID of this d d m structure linkpublic void setStructureLinkId(long structureLinkId)
setStructureLinkId in interface DDMStructureLinkModelstructureLinkId - the structure link ID of this d d m structure linkpublic CacheModel<DDMStructureLink> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<DDMStructureLink>toCacheModel in interface DDMStructureLinkModelpublic DDMStructureLink toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<DDMStructureLink>toEscapedModel in interface DDMStructureLinkModelAutoEscapeBeanHandlerpublic String toString()
toString in interface DDMStructureLinkModeltoString in class Objectpublic DDMStructureLink toUnescapedModel()
toUnescapedModel in interface BaseModel<DDMStructureLink>toUnescapedModel in interface DDMStructureLinkModelpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<DDMStructureLink>toXmlString in interface DDMStructureLinkModelpublic boolean equals(Object obj)
equals in class Object@Deprecated public DDMStructureLink getWrappedDDMStructureLink()
getWrappedModel()
public DDMStructureLink getWrappedModel()
getWrappedModel in interface ModelWrapper<DDMStructureLink>public boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.
isEntityCacheEnabled in interface BaseModel<DDMStructureLink>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<DDMStructureLink>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<DDMStructureLink>
|
Liferay 7.0-ce-m6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||