|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portlet.dynamicdatamapping.model.DDMStructureLinkWrapper
public class DDMStructureLinkWrapper
This class is a wrapper for DDMStructureLink
.
DDMStructureLink
,
Serialized FormConstructor 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. 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 |
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(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 ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public 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 DDMStructureLinkModel
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface DDMStructureLinkModel
primaryKey
- the primary key of this d d m structure linkpublic long getStructureLinkId()
getStructureLinkId
in interface DDMStructureLinkModel
public void setStructureLinkId(long structureLinkId)
setStructureLinkId
in interface DDMStructureLinkModel
structureLinkId
- the structure link ID of this d d m structure linkpublic String getClassName()
getClassName
in interface AttachedModel
getClassName
in interface DDMStructureLinkModel
public void setClassName(String className)
setClassName
in interface DDMStructureLinkModel
public long getClassNameId()
getClassNameId
in interface AttachedModel
getClassNameId
in interface DDMStructureLinkModel
public void setClassNameId(long classNameId)
setClassNameId
in interface AttachedModel
setClassNameId
in interface DDMStructureLinkModel
classNameId
- the class name ID of this d d m structure linkpublic long getClassPK()
getClassPK
in interface AttachedModel
getClassPK
in interface DDMStructureLinkModel
public void setClassPK(long classPK)
setClassPK
in interface AttachedModel
setClassPK
in interface DDMStructureLinkModel
classPK
- the class p k of this d d m structure linkpublic long getStructureId()
getStructureId
in interface DDMStructureLinkModel
public void setStructureId(long structureId)
setStructureId
in interface DDMStructureLinkModel
structureId
- the structure ID of this d d m structure linkpublic boolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.
isNew
in interface BaseModel<DDMStructureLink>
isNew
in interface DDMStructureLinkModel
true
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 DDMStructureLinkModel
n
- whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.
isCachedModel
in interface BaseModel<DDMStructureLink>
isCachedModel
in interface DDMStructureLinkModel
true
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 DDMStructureLinkModel
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
public boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.
isEscapedModel
in interface BaseModel<DDMStructureLink>
isEscapedModel
in interface DDMStructureLinkModel
true
if this model instance is escaped;
false
otherwisepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<DDMStructureLink>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface DDMStructureLinkModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<DDMStructureLink>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface DDMStructureLinkModel
primaryKeyObj
- the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<DDMStructureLink>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface DDMStructureLinkModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<DDMStructureLink>
setExpandoBridgeAttributes
in interface DDMStructureLinkModel
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
public Object clone()
BaseModel
clone
in interface BaseModel<DDMStructureLink>
clone
in interface DDMStructureLinkModel
clone
in class Object
public int compareTo(DDMStructureLink ddmStructureLink)
compareTo
in interface DDMStructureLinkModel
compareTo
in interface Comparable<DDMStructureLink>
public int hashCode()
hashCode
in interface DDMStructureLinkModel
hashCode
in class Object
public CacheModel<DDMStructureLink> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<DDMStructureLink>
toCacheModel
in interface DDMStructureLinkModel
public DDMStructureLink toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<DDMStructureLink>
toEscapedModel
in interface DDMStructureLinkModel
AutoEscapeBeanHandler
public DDMStructureLink toUnescapedModel()
toUnescapedModel
in interface BaseModel<DDMStructureLink>
toUnescapedModel
in interface DDMStructureLinkModel
public String toString()
toString
in interface DDMStructureLinkModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<DDMStructureLink>
toXmlString
in interface DDMStructureLinkModel
public void persist() throws SystemException
PersistedModel
persist
in interface PersistedModel
SystemException
- if a system exception occurredpublic DDMStructure getStructure() throws PortalException, SystemException
getStructure
in interface DDMStructureLink
PortalException
SystemException
public boolean equals(Object obj)
equals
in class Object
public DDMStructureLink getWrappedDDMStructureLink()
getWrappedModel()
public DDMStructureLink getWrappedModel()
getWrappedModel
in interface ModelWrapper<DDMStructureLink>
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<DDMStructureLink>
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |