|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portlet.expando.model.ExpandoColumnWrapper
@ProviderType public class ExpandoColumnWrapper
This class is a wrapper for ExpandoColumn
.
ExpandoColumn
,
Serialized FormConstructor Summary | |
---|---|
ExpandoColumnWrapper(ExpandoColumn expandoColumn)
|
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(ExpandoColumn expandoColumn)
|
boolean |
equals(Object obj)
|
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. |
Serializable |
getDefaultValue()
|
String |
getDisplayName(Locale locale)
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
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. |
UnicodeProperties |
getTypeSettingsProperties()
|
ExpandoColumn |
getWrappedExpandoColumn()
Deprecated. As of 6.1.0, replaced by getWrappedModel() |
ExpandoColumn |
getWrappedModel()
|
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 |
persist()
Updates this model instance in the database or adds it if it does not yet exist. |
void |
resetOriginalValues()
Reset all original fields to current values. |
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 |
setModelAttributes(Map<String,Object> attributes)
|
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. |
void |
setTypeSettingsProperties(UnicodeProperties typeSettingsProperties)
|
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 class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ExpandoColumnWrapper(ExpandoColumn expandoColumn)
Method Detail |
---|
public Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<ExpandoColumn>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<ExpandoColumn>
public long getPrimaryKey()
getPrimaryKey
in interface ExpandoColumnModel
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface ExpandoColumnModel
primaryKey
- the primary key of this expando columnpublic long getColumnId()
getColumnId
in interface ExpandoColumnModel
public void setColumnId(long columnId)
setColumnId
in interface ExpandoColumnModel
columnId
- the column ID of this expando columnpublic long getCompanyId()
getCompanyId
in interface ExpandoColumnModel
public void setCompanyId(long companyId)
setCompanyId
in interface ExpandoColumnModel
companyId
- the company ID of this expando columnpublic long getTableId()
getTableId
in interface ExpandoColumnModel
public void setTableId(long tableId)
setTableId
in interface ExpandoColumnModel
tableId
- the table ID of this expando columnpublic String getName()
getName
in interface ExpandoColumnModel
public void setName(String name)
setName
in interface ExpandoColumnModel
name
- the name of this expando columnpublic int getType()
getType
in interface ExpandoColumnModel
public void setType(int type)
setType
in interface ExpandoColumnModel
type
- the type of this expando columnpublic String getDefaultData()
getDefaultData
in interface ExpandoColumnModel
public void setDefaultData(String defaultData)
setDefaultData
in interface ExpandoColumnModel
defaultData
- the default data of this expando columnpublic String getTypeSettings()
getTypeSettings
in interface ExpandoColumnModel
public void setTypeSettings(String typeSettings)
setTypeSettings
in interface ExpandoColumnModel
typeSettings
- the type settings of this expando columnpublic boolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.
isNew
in interface BaseModel<ExpandoColumn>
isNew
in interface ExpandoColumnModel
true
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 ExpandoColumnModel
n
- whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.
isCachedModel
in interface BaseModel<ExpandoColumn>
isCachedModel
in interface ExpandoColumnModel
true
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 ExpandoColumnModel
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
public boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.
isEscapedModel
in interface BaseModel<ExpandoColumn>
isEscapedModel
in interface ExpandoColumnModel
true
if this model instance is escaped;
false
otherwisepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<ExpandoColumn>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface ExpandoColumnModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<ExpandoColumn>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface ExpandoColumnModel
primaryKeyObj
- the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<ExpandoColumn>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface ExpandoColumnModel
public void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface BaseModel<ExpandoColumn>
setExpandoBridgeAttributes
in interface ExpandoColumnModel
public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface BaseModel<ExpandoColumn>
setExpandoBridgeAttributes
in interface ExpandoColumnModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<ExpandoColumn>
setExpandoBridgeAttributes
in interface ExpandoColumnModel
serviceContext
- the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)
public Object clone()
BaseModel
clone
in interface BaseModel<ExpandoColumn>
clone
in interface ExpandoColumnModel
clone
in class Object
public int compareTo(ExpandoColumn expandoColumn)
compareTo
in interface ExpandoColumnModel
compareTo
in interface Comparable<ExpandoColumn>
public int hashCode()
hashCode
in interface ExpandoColumnModel
hashCode
in class Object
public CacheModel<ExpandoColumn> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<ExpandoColumn>
toCacheModel
in interface ExpandoColumnModel
public ExpandoColumn toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<ExpandoColumn>
toEscapedModel
in interface ExpandoColumnModel
AutoEscapeBeanHandler
public ExpandoColumn toUnescapedModel()
toUnescapedModel
in interface BaseModel<ExpandoColumn>
toUnescapedModel
in interface ExpandoColumnModel
public String toString()
toString
in interface ExpandoColumnModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<ExpandoColumn>
toXmlString
in interface ExpandoColumnModel
public void persist() throws SystemException
PersistedModel
persist
in interface PersistedModel
SystemException
- if a system exception occurredpublic Serializable getDefaultValue()
getDefaultValue
in interface ExpandoColumn
public String getDisplayName(Locale locale)
getDisplayName
in interface ExpandoColumn
public UnicodeProperties getTypeSettingsProperties()
getTypeSettingsProperties
in interface ExpandoColumn
public void setTypeSettingsProperties(UnicodeProperties typeSettingsProperties)
setTypeSettingsProperties
in interface ExpandoColumn
public boolean equals(Object obj)
equals
in class Object
public ExpandoColumn getWrappedExpandoColumn()
getWrappedModel()
public ExpandoColumn getWrappedModel()
getWrappedModel
in interface ModelWrapper<ExpandoColumn>
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<ExpandoColumn>
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |