|
Liferay 6.2.0-ce-rc1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.dynamicdatamapping.model.DDMStructureLinkWrapper
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 |
isEscapedModel()
Returns true if this model instance is escaped. |
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 long getPrimaryKey()
getPrimaryKey in interface DDMStructureLinkModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface DDMStructureLinkModelprimaryKey - the primary key of this d d m structure linkpublic long getStructureLinkId()
getStructureLinkId in interface DDMStructureLinkModelpublic void setStructureLinkId(long structureLinkId)
setStructureLinkId in interface DDMStructureLinkModelstructureLinkId - the structure link ID of this d d m structure linkpublic String getClassName()
getClassName in interface TypedModelgetClassName in interface DDMStructureLinkModelpublic void setClassName(String className)
setClassName in interface DDMStructureLinkModelpublic long getClassNameId()
getClassNameId in interface TypedModelgetClassNameId 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 long getClassPK()
getClassPK in interface AttachedModelgetClassPK in interface DDMStructureLinkModelpublic void setClassPK(long classPK)
setClassPK in interface AttachedModelsetClassPK in interface DDMStructureLinkModelclassPK - the class p k of this d d m structure linkpublic long getStructureId()
getStructureId in interface DDMStructureLinkModelpublic void setStructureId(long structureId)
setStructureId in interface DDMStructureLinkModelstructureId - the structure ID of this d d m structure linkpublic 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 setNew(boolean n)
BaseModel
setNew in interface BaseModel<DDMStructureLink>setNew in interface DDMStructureLinkModeln - whether this model instance does not yet exist in the databasepublic 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 void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<DDMStructureLink>setCachedModel in interface DDMStructureLinkModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic 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 Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<DDMStructureLink>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface DDMStructureLinkModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<DDMStructureLink>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface DDMStructureLinkModelprimaryKeyObj - the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<DDMStructureLink>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface DDMStructureLinkModelpublic 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 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 int hashCode()
hashCode in interface DDMStructureLinkModelhashCode in class Objectpublic 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 DDMStructureLink toUnescapedModel()
toUnescapedModel in interface BaseModel<DDMStructureLink>toUnescapedModel in interface DDMStructureLinkModelpublic String toString()
toString in interface DDMStructureLinkModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<DDMStructureLink>toXmlString in interface DDMStructureLinkModel
public void persist()
throws SystemException
PersistedModel
persist in interface PersistedModelSystemException - if a system exception occurred
public DDMStructure getStructure()
throws PortalException,
SystemException
getStructure in interface DDMStructureLinkPortalException
SystemExceptionpublic boolean equals(Object obj)
equals in class Objectpublic DDMStructureLink getWrappedDDMStructureLink()
getWrappedModel()
public DDMStructureLink getWrappedModel()
getWrappedModel in interface ModelWrapper<DDMStructureLink>public void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<DDMStructureLink>
|
Liferay 6.2.0-ce-rc1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||