|
Liferay 6.1.0-ce-ga1 | |||||||||
| 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)
|
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. |
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. Renamed to 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 |
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(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
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()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
| Methods inherited from class java.lang.Object |
|---|
equals, 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 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 AttachedModelgetClassName in interface DDMStructureLinkModelpublic long getClassNameId()
getClassNameId in interface AttachedModelgetClassNameId in interface DDMStructureLinkModelpublic void setClassNameId(long classNameId)
setClassNameId in interface AttachedModelsetClassNameId 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(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<DDMStructureLink>setExpandoBridgeAttributes in interface DDMStructureLinkModelserviceContext - the service contextServiceContext.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 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 DDMStructureLink getWrappedDDMStructureLink()
getWrappedModel()
public DDMStructureLink getWrappedModel()
getWrappedModel in interface ModelWrapper<DDMStructureLink>public void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<DDMStructureLink>
|
Liferay 6.1.0-ce-ga1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||