|
Liferay 6.2-ce-ga3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.shopping.model.ShoppingItemFieldWrapper
@ProviderType public class ShoppingItemFieldWrapper
This class is a wrapper for ShoppingItemField.
ShoppingItemField,
Serialized Form| Constructor Summary | |
|---|---|
ShoppingItemFieldWrapper(ShoppingItemField shoppingItemField)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(ShoppingItemField shoppingItemField)
|
boolean |
equals(Object obj)
|
String |
getDescription()
Returns the description of this shopping item field. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
long |
getItemFieldId()
Returns the item field ID of this shopping item field. |
long |
getItemId()
Returns the item ID of this shopping item field. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
String |
getName()
Returns the name of this shopping item field. |
long |
getPrimaryKey()
Returns the primary key of this shopping item field. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
String |
getValues()
Returns the values of this shopping item field. |
String[] |
getValuesArray()
|
ShoppingItemField |
getWrappedModel()
|
ShoppingItemField |
getWrappedShoppingItemField()
Deprecated. As of 6.1.0, replaced by 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 |
setDescription(String description)
Sets the description of this shopping item field. |
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 |
setItemFieldId(long itemFieldId)
Sets the item field ID of this shopping item field. |
void |
setItemId(long itemId)
Sets the item ID of this shopping item field. |
void |
setModelAttributes(Map<String,Object> attributes)
|
void |
setName(String name)
Sets the name of this shopping item field. |
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 shopping item field. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setValues(String values)
Sets the values of this shopping item field. |
void |
setValuesArray(String[] valuesArray)
|
CacheModel<ShoppingItemField> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
ShoppingItemField |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
String |
toString()
|
ShoppingItemField |
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 ShoppingItemFieldWrapper(ShoppingItemField shoppingItemField)
| Method Detail |
|---|
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<ShoppingItemField>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<ShoppingItemField>public long getPrimaryKey()
getPrimaryKey in interface ShoppingItemFieldModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface ShoppingItemFieldModelprimaryKey - the primary key of this shopping item fieldpublic long getItemFieldId()
getItemFieldId in interface ShoppingItemFieldModelpublic void setItemFieldId(long itemFieldId)
setItemFieldId in interface ShoppingItemFieldModelitemFieldId - the item field ID of this shopping item fieldpublic long getItemId()
getItemId in interface ShoppingItemFieldModelpublic void setItemId(long itemId)
setItemId in interface ShoppingItemFieldModelitemId - the item ID of this shopping item fieldpublic String getName()
getName in interface ShoppingItemFieldModelpublic void setName(String name)
setName in interface ShoppingItemFieldModelname - the name of this shopping item fieldpublic String getValues()
getValues in interface ShoppingItemFieldModelpublic void setValues(String values)
setValues in interface ShoppingItemFieldModelvalues - the values of this shopping item fieldpublic String getDescription()
getDescription in interface ShoppingItemFieldModelpublic void setDescription(String description)
setDescription in interface ShoppingItemFieldModeldescription - the description of this shopping item fieldpublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.
isNew in interface BaseModel<ShoppingItemField>isNew in interface ShoppingItemFieldModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void setNew(boolean n)
BaseModel
setNew in interface BaseModel<ShoppingItemField>setNew in interface ShoppingItemFieldModeln - whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.
isCachedModel in interface BaseModel<ShoppingItemField>isCachedModel in interface ShoppingItemFieldModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<ShoppingItemField>setCachedModel in interface ShoppingItemFieldModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.
isEscapedModel in interface BaseModel<ShoppingItemField>isEscapedModel in interface ShoppingItemFieldModeltrue if this model instance is escaped;
false otherwisepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<ShoppingItemField>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface ShoppingItemFieldModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<ShoppingItemField>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface ShoppingItemFieldModelprimaryKeyObj - the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<ShoppingItemField>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface ShoppingItemFieldModelpublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<ShoppingItemField>setExpandoBridgeAttributes in interface ShoppingItemFieldModelpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<ShoppingItemField>setExpandoBridgeAttributes in interface ShoppingItemFieldModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<ShoppingItemField>setExpandoBridgeAttributes in interface ShoppingItemFieldModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<ShoppingItemField>clone in interface ShoppingItemFieldModelclone in class Objectpublic int compareTo(ShoppingItemField shoppingItemField)
compareTo in interface ShoppingItemFieldModelcompareTo in interface Comparable<ShoppingItemField>public int hashCode()
hashCode in interface ShoppingItemFieldModelhashCode in class Objectpublic CacheModel<ShoppingItemField> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<ShoppingItemField>toCacheModel in interface ShoppingItemFieldModelpublic ShoppingItemField toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<ShoppingItemField>toEscapedModel in interface ShoppingItemFieldModelAutoEscapeBeanHandlerpublic ShoppingItemField toUnescapedModel()
toUnescapedModel in interface BaseModel<ShoppingItemField>toUnescapedModel in interface ShoppingItemFieldModelpublic String toString()
toString in interface ShoppingItemFieldModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<ShoppingItemField>toXmlString in interface ShoppingItemFieldModel
public void persist()
throws SystemException
PersistedModel
persist in interface PersistedModelSystemException - if a system exception occurredpublic String[] getValuesArray()
getValuesArray in interface ShoppingItemFieldpublic void setValuesArray(String[] valuesArray)
setValuesArray in interface ShoppingItemFieldpublic boolean equals(Object obj)
equals in class Objectpublic ShoppingItemField getWrappedShoppingItemField()
getWrappedModel()
public ShoppingItemField getWrappedModel()
getWrappedModel in interface ModelWrapper<ShoppingItemField>public void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<ShoppingItemField>
|
Liferay 6.2-ce-ga3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||