|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.expando.model.ExpandoTableWrapper
public class ExpandoTableWrapper
This class is a wrapper for ExpandoTable.
ExpandoTable,
Serialized Form| Constructor Summary | |
|---|---|
ExpandoTableWrapper(ExpandoTable expandoTable)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(ExpandoTable expandoTable)
|
String |
getClassName()
Gets the class name of the model instance this expando table is polymorphically associated with. |
long |
getClassNameId()
Gets the class name id of this expando table. |
long |
getCompanyId()
Gets the company id of this expando table. |
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
String |
getName()
Gets the name of this expando table. |
long |
getPrimaryKey()
Gets the primary key of this expando table. |
Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
long |
getTableId()
Gets the table id of this expando table. |
ExpandoTable |
getWrappedExpandoTable()
|
int |
hashCode()
|
boolean |
isCachedModel()
Determines if this model instance was retrieved from the entity cache. |
boolean |
isDefaultTable()
|
boolean |
isEscapedModel()
Determines if this model instance is escaped. |
boolean |
isNew()
Determines if this model instance does not yet exist in the database. |
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 expando table. |
void |
setCompanyId(long companyId)
Sets the company id of this expando table. |
void |
setEscapedModel(boolean escapedModel)
Sets whether this model instance is escaped, meaning that all strings returned from getter methods are HTML safe. |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setName(String name)
Sets the name of this expando table. |
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setPrimaryKey(long pk)
Sets the primary key of this expando table |
void |
setTableId(long tableId)
Sets the table id of this expando table. |
ExpandoTable |
toEscapedModel()
Gets a copy of this expando table as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
String |
toString()
|
String |
toXmlString()
Gets 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 ExpandoTableWrapper(ExpandoTable expandoTable)
| Method Detail |
|---|
public long getPrimaryKey()
ExpandoTableModel
getPrimaryKey in interface ExpandoTableModelpublic void setPrimaryKey(long pk)
ExpandoTableModel
setPrimaryKey in interface ExpandoTableModelpk - the primary key of this expando tablepublic long getTableId()
ExpandoTableModel
getTableId in interface ExpandoTableModelpublic void setTableId(long tableId)
ExpandoTableModel
setTableId in interface ExpandoTableModeltableId - the table id of this expando tablepublic long getCompanyId()
ExpandoTableModel
getCompanyId in interface ExpandoTableModelpublic void setCompanyId(long companyId)
ExpandoTableModel
setCompanyId in interface ExpandoTableModelcompanyId - the company id of this expando tablepublic String getClassName()
ExpandoTableModel
getClassName in interface ExpandoTableModelpublic long getClassNameId()
ExpandoTableModel
getClassNameId in interface ExpandoTableModelpublic void setClassNameId(long classNameId)
ExpandoTableModel
setClassNameId in interface ExpandoTableModelclassNameId - the class name id of this expando tablepublic String getName()
ExpandoTableModel
getName in interface ExpandoTableModelpublic void setName(String name)
ExpandoTableModel
setName in interface ExpandoTableModelname - the name of this expando tablepublic ExpandoTable toEscapedModel()
ExpandoTableModelAutoEscapeBeanHandler.
toEscapedModel in interface ExpandoTableModelAutoEscapeBeanHandlerpublic boolean isNew()
BaseModel
isNew in interface BaseModel<ExpandoTable>isNew in interface ExpandoTableModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void setNew(boolean n)
BaseModel
setNew in interface BaseModel<ExpandoTable>setNew in interface ExpandoTableModeln - whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
isCachedModel in interface BaseModel<ExpandoTable>isCachedModel in interface ExpandoTableModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<ExpandoTable>setCachedModel in interface ExpandoTableModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModel
isEscapedModel in interface BaseModel<ExpandoTable>isEscapedModel in interface ExpandoTableModeltrue if this model instance is escaped;
false otherwiseBaseModel.setEscapedModel(boolean)public void setEscapedModel(boolean escapedModel)
BaseModel
A model instance can be made escaped by wrapping it with an HTML auto
escape handler using its toEscapedModel method. For example,
UserModel.toEscapedModel().
setEscapedModel in interface BaseModel<ExpandoTable>setEscapedModel in interface ExpandoTableModelescapedModel - whether this model instance is escapedAutoEscapeBeanHandlerpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<ExpandoTable>getPrimaryKeyObj in interface ExpandoTableModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<ExpandoTable>getExpandoBridge in interface ExpandoTableModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<ExpandoTable>setExpandoBridgeAttributes in interface ExpandoTableModelserviceContext - the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<ExpandoTable>clone in interface ExpandoTableModelclone in class Objectpublic int compareTo(ExpandoTable expandoTable)
compareTo in interface ExpandoTableModelcompareTo in interface Comparable<ExpandoTable>public int hashCode()
hashCode in interface ExpandoTableModelhashCode in class Objectpublic String toString()
toString in interface ExpandoTableModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<ExpandoTable>toXmlString in interface ExpandoTableModelpublic boolean isDefaultTable()
isDefaultTable in interface ExpandoTablepublic ExpandoTable getWrappedExpandoTable()
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||