|
Liferay 6.0.3 | |||||||||
| 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()
|
long |
getClassNameId()
|
long |
getCompanyId()
|
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
String |
getName()
|
long |
getPrimaryKey()
|
Serializable |
getPrimaryKeyObj()
Gets the primary key for this model instance. |
long |
getTableId()
|
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 has been wrapped with an HTML auto escape handler. |
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)
|
void |
setCompanyId(long companyId)
|
void |
setEscapedModel(boolean escapedModel)
Sets whether this model instance has been wrapped with an HTML auto escape handler. |
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)
|
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setPrimaryKey(long pk)
|
void |
setTableId(long tableId)
|
ExpandoTable |
toEscapedModel()
|
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()
getPrimaryKey in interface ExpandoTableModelpublic void setPrimaryKey(long pk)
setPrimaryKey in interface ExpandoTableModelpublic long getTableId()
getTableId in interface ExpandoTableModelpublic void setTableId(long tableId)
setTableId in interface ExpandoTableModelpublic long getCompanyId()
getCompanyId in interface ExpandoTableModelpublic void setCompanyId(long companyId)
setCompanyId in interface ExpandoTableModelpublic String getClassName()
getClassName in interface ExpandoTableModelpublic long getClassNameId()
getClassNameId in interface ExpandoTableModelpublic void setClassNameId(long classNameId)
setClassNameId in interface ExpandoTableModelpublic String getName()
getName in interface ExpandoTableModelpublic void setName(String name)
setName in interface ExpandoTableModelpublic ExpandoTable toEscapedModel()
toEscapedModel in interface ExpandoTableModelpublic 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 has been wrapped with an
HTML auto escape handler; false otherwiseBaseModel.setEscapedModel(boolean)public void setEscapedModel(boolean escapedModel)
BaseModel
A model instance can be wrapped 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 has been wrapped with an
HTML auto escape handlerAutoEscapeBeanHandlerpublic 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.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||