|
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.ExpandoColumnWrapper
public class ExpandoColumnWrapper
This class is a wrapper for ExpandoColumn.
ExpandoColumn,
Serialized Form| Constructor Summary | |
|---|---|
ExpandoColumnWrapper(ExpandoColumn expandoColumn)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(ExpandoColumn expandoColumn)
|
long |
getColumnId()
Gets the column id of this expando column. |
long |
getCompanyId()
Gets the company id of this expando column. |
String |
getDefaultData()
Gets the default data of this expando column. |
Serializable |
getDefaultValue()
|
String |
getDisplayName(Locale locale)
|
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
String |
getName()
Gets the name of this expando column. |
long |
getPrimaryKey()
Gets the primary key of this expando column. |
Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
long |
getTableId()
Gets the table id of this expando column. |
int |
getType()
Gets the type of this expando column. |
String |
getTypeSettings()
Gets the type settings of this expando column. |
UnicodeProperties |
getTypeSettingsProperties()
|
ExpandoColumn |
getWrappedExpandoColumn()
|
int |
hashCode()
|
boolean |
isCachedModel()
Determines if this model instance was retrieved from the entity cache. |
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 |
setColumnId(long columnId)
Sets the column id of this expando column. |
void |
setCompanyId(long companyId)
Sets the company id of this expando column. |
void |
setDefaultData(String defaultData)
Sets the default data of this expando column. |
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 column. |
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 column |
void |
setTableId(long tableId)
Sets the table id of this expando column. |
void |
setType(int type)
Sets the type of this expando column. |
void |
setTypeSettings(String typeSettings)
Sets the type settings of this expando column. |
void |
setTypeSettingsProperties(UnicodeProperties typeSettingsProperties)
|
ExpandoColumn |
toEscapedModel()
Gets a copy of this expando column 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 ExpandoColumnWrapper(ExpandoColumn expandoColumn)
| Method Detail |
|---|
public long getPrimaryKey()
ExpandoColumnModel
getPrimaryKey in interface ExpandoColumnModelpublic void setPrimaryKey(long pk)
ExpandoColumnModel
setPrimaryKey in interface ExpandoColumnModelpk - the primary key of this expando columnpublic long getColumnId()
ExpandoColumnModel
getColumnId in interface ExpandoColumnModelpublic void setColumnId(long columnId)
ExpandoColumnModel
setColumnId in interface ExpandoColumnModelcolumnId - the column id of this expando columnpublic long getCompanyId()
ExpandoColumnModel
getCompanyId in interface ExpandoColumnModelpublic void setCompanyId(long companyId)
ExpandoColumnModel
setCompanyId in interface ExpandoColumnModelcompanyId - the company id of this expando columnpublic long getTableId()
ExpandoColumnModel
getTableId in interface ExpandoColumnModelpublic void setTableId(long tableId)
ExpandoColumnModel
setTableId in interface ExpandoColumnModeltableId - the table id of this expando columnpublic String getName()
ExpandoColumnModel
getName in interface ExpandoColumnModelpublic void setName(String name)
ExpandoColumnModel
setName in interface ExpandoColumnModelname - the name of this expando columnpublic int getType()
ExpandoColumnModel
getType in interface ExpandoColumnModelpublic void setType(int type)
ExpandoColumnModel
setType in interface ExpandoColumnModeltype - the type of this expando columnpublic String getDefaultData()
ExpandoColumnModel
getDefaultData in interface ExpandoColumnModelpublic void setDefaultData(String defaultData)
ExpandoColumnModel
setDefaultData in interface ExpandoColumnModeldefaultData - the default data of this expando columnpublic String getTypeSettings()
ExpandoColumnModel
getTypeSettings in interface ExpandoColumngetTypeSettings in interface ExpandoColumnModelpublic void setTypeSettings(String typeSettings)
ExpandoColumnModel
setTypeSettings in interface ExpandoColumnsetTypeSettings in interface ExpandoColumnModeltypeSettings - the type settings of this expando columnpublic ExpandoColumn toEscapedModel()
ExpandoColumnModelAutoEscapeBeanHandler.
toEscapedModel in interface ExpandoColumnModelAutoEscapeBeanHandlerpublic boolean isNew()
BaseModel
isNew in interface BaseModel<ExpandoColumn>isNew in interface ExpandoColumnModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void setNew(boolean n)
BaseModel
setNew in interface BaseModel<ExpandoColumn>setNew in interface ExpandoColumnModeln - whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
isCachedModel in interface BaseModel<ExpandoColumn>isCachedModel in interface ExpandoColumnModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<ExpandoColumn>setCachedModel in interface ExpandoColumnModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModel
isEscapedModel in interface BaseModel<ExpandoColumn>isEscapedModel in interface ExpandoColumnModeltrue 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<ExpandoColumn>setEscapedModel in interface ExpandoColumnModelescapedModel - whether this model instance is escapedAutoEscapeBeanHandlerpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<ExpandoColumn>getPrimaryKeyObj in interface ExpandoColumnModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<ExpandoColumn>getExpandoBridge in interface ExpandoColumnModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<ExpandoColumn>setExpandoBridgeAttributes in interface ExpandoColumnModelserviceContext - the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<ExpandoColumn>clone in interface ExpandoColumnModelclone in class Objectpublic int compareTo(ExpandoColumn expandoColumn)
compareTo in interface ExpandoColumnModelcompareTo in interface Comparable<ExpandoColumn>public int hashCode()
hashCode in interface ExpandoColumnModelhashCode in class Objectpublic String toString()
toString in interface ExpandoColumnModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<ExpandoColumn>toXmlString in interface ExpandoColumnModelpublic Serializable getDefaultValue()
getDefaultValue in interface ExpandoColumnpublic String getDisplayName(Locale locale)
getDisplayName in interface ExpandoColumnpublic UnicodeProperties getTypeSettingsProperties()
getTypeSettingsProperties in interface ExpandoColumnpublic void setTypeSettingsProperties(UnicodeProperties typeSettingsProperties)
setTypeSettingsProperties in interface ExpandoColumnpublic ExpandoColumn getWrappedExpandoColumn()
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||