|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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(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, 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()
void setCompanyId(long companyId)
companyId
- 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()
BaseModel
true
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()
BaseModel
true
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 cacheEntityCache
boolean isEscapedModel()
BaseModel
true
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 ClassedModel
void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<ExpandoColumn>
setPrimaryKeyObj
in interface ClassedModel
primaryKeyObj
- the primary key of this model instanceExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<ExpandoColumn>
getExpandoBridge
in interface ClassedModel
void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<ExpandoColumn>
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
Object clone()
BaseModel
clone
in interface BaseModel<ExpandoColumn>
int compareTo(ExpandoColumn expandoColumn)
compareTo
in interface Comparable<ExpandoColumn>
int hashCode()
hashCode
in class Object
CacheModel<ExpandoColumn> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<ExpandoColumn>
ExpandoColumn toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<ExpandoColumn>
AutoEscapeBeanHandler
ExpandoColumn toUnescapedModel()
toUnescapedModel
in interface BaseModel<ExpandoColumn>
String toString()
toString
in class Object
String toXmlString()
BaseModel
toXmlString
in interface BaseModel<ExpandoColumn>
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |