|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@ProviderType public interface ExpandoColumnModel
The base model interface for the ExpandoColumn service. Represents a row in the "ExpandoColumn" database table, with each column mapped to a property of this class.
This interface and its corresponding implementation ExpandoColumnModelImpl exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in ExpandoColumnImpl.
ExpandoColumn,
ExpandoColumnImpl,
ExpandoColumnModelImpl| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(ExpandoColumn expandoColumn)
|
long |
getColumnId()
Returns the column ID of this expando column. |
long |
getCompanyId()
Returns the company ID of this expando column. |
String |
getDefaultData()
Returns the default data of this expando column. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
String |
getName()
Returns the name of this expando column. |
long |
getPrimaryKey()
Returns the primary key of this expando column. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
long |
getTableId()
Returns the table ID of this expando column. |
int |
getType()
Returns the type of this expando column. |
String |
getTypeSettings()
Returns the type settings of this expando column. |
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 |
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 |
setExpandoBridgeAttributes(BaseModel<?> baseModel)
|
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
|
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 primaryKey)
Sets the primary key of this expando column. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
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. |
CacheModel<ExpandoColumn> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
ExpandoColumn |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
String |
toString()
|
ExpandoColumn |
toUnescapedModel()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
| Methods inherited from interface com.liferay.portal.model.BaseModel |
|---|
getModelAttributes, isEntityCacheEnabled, isFinderCacheEnabled, resetOriginalValues, setModelAttributes |
| Methods inherited from interface com.liferay.portal.model.ClassedModel |
|---|
getModelClass, getModelClassName |
| Method Detail |
|---|
long getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey - the primary key of this expando columnlong getColumnId()
void setColumnId(long columnId)
columnId - the column ID of this expando columnlong getCompanyId()
getCompanyId in interface ShardedModelvoid setCompanyId(long companyId)
setCompanyId in interface ShardedModelcompanyId - the company ID of this expando columnlong getTableId()
void setTableId(long tableId)
tableId - the table ID of this expando column@AutoEscape String getName()
void setName(String name)
name - the name of this expando columnint getType()
void setType(int type)
type - the type of this expando column@AutoEscape String getDefaultData()
void setDefaultData(String defaultData)
defaultData - the default data of this expando column@AutoEscape String getTypeSettings()
void setTypeSettings(String typeSettings)
typeSettings - the type settings of this expando columnboolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.
isNew in interface BaseModel<ExpandoColumn>true if this model instance does not yet exist in
the database; false otherwisevoid setNew(boolean n)
BaseModel
setNew in interface BaseModel<ExpandoColumn>n - whether this model instance does not yet exist in the databaseboolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.
isCachedModel in interface BaseModel<ExpandoColumn>true if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<ExpandoColumn>cachedModel - whether this model instance was retrieved from the
entity cacheEntityCacheboolean isEscapedModel()
BaseModeltrue if this model instance is escaped.
isEscapedModel in interface BaseModel<ExpandoColumn>true if this model instance is escaped;
false otherwiseSerializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<ExpandoColumn>getPrimaryKeyObj in interface ClassedModelvoid setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<ExpandoColumn>setPrimaryKeyObj in interface ClassedModelprimaryKeyObj - the primary key of this model instanceExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<ExpandoColumn>getExpandoBridge in interface ClassedModelvoid setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<ExpandoColumn>void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<ExpandoColumn>void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<ExpandoColumn>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()Object clone()
BaseModel
clone in interface BaseModel<ExpandoColumn>int compareTo(ExpandoColumn expandoColumn)
compareTo in interface Comparable<ExpandoColumn>int hashCode()
hashCode in class ObjectCacheModel<ExpandoColumn> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<ExpandoColumn>ExpandoColumn toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<ExpandoColumn>AutoEscapeBeanHandlerExpandoColumn toUnescapedModel()
toUnescapedModel in interface BaseModel<ExpandoColumn>String toString()
toString in class ObjectString toXmlString()
BaseModel
toXmlString in interface BaseModel<ExpandoColumn>
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||