|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portlet.shopping.model.ShoppingItemFieldWrapper
public class ShoppingItemFieldWrapper
This class is a wrapper for ShoppingItemField
.
ShoppingItemField
,
Serialized FormConstructor 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. Renamed to 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(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 ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public 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 ShoppingItemFieldModel
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface ShoppingItemFieldModel
primaryKey
- the primary key of this shopping item fieldpublic long getItemFieldId()
getItemFieldId
in interface ShoppingItemFieldModel
public void setItemFieldId(long itemFieldId)
setItemFieldId
in interface ShoppingItemFieldModel
itemFieldId
- the item field ID of this shopping item fieldpublic long getItemId()
getItemId
in interface ShoppingItemFieldModel
public void setItemId(long itemId)
setItemId
in interface ShoppingItemFieldModel
itemId
- the item ID of this shopping item fieldpublic String getName()
getName
in interface ShoppingItemFieldModel
public void setName(String name)
setName
in interface ShoppingItemFieldModel
name
- the name of this shopping item fieldpublic String getValues()
getValues
in interface ShoppingItemFieldModel
public void setValues(String values)
setValues
in interface ShoppingItemField
setValues
in interface ShoppingItemFieldModel
values
- the values of this shopping item fieldpublic String getDescription()
getDescription
in interface ShoppingItemFieldModel
public void setDescription(String description)
setDescription
in interface ShoppingItemFieldModel
description
- the description of this shopping item fieldpublic boolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.
isNew
in interface BaseModel<ShoppingItemField>
isNew
in interface ShoppingItemFieldModel
true
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 ShoppingItemFieldModel
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<ShoppingItemField>
isCachedModel
in interface ShoppingItemFieldModel
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<ShoppingItemField>
setCachedModel
in interface ShoppingItemFieldModel
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<ShoppingItemField>
isEscapedModel
in interface ShoppingItemFieldModel
true
if this model instance is escaped;
false
otherwisepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<ShoppingItemField>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface ShoppingItemFieldModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<ShoppingItemField>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface ShoppingItemFieldModel
primaryKeyObj
- the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<ShoppingItemField>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface ShoppingItemFieldModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<ShoppingItemField>
setExpandoBridgeAttributes
in interface ShoppingItemFieldModel
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
public Object clone()
BaseModel
clone
in interface BaseModel<ShoppingItemField>
clone
in interface ShoppingItemFieldModel
clone
in class Object
public int compareTo(ShoppingItemField shoppingItemField)
compareTo
in interface ShoppingItemFieldModel
compareTo
in interface Comparable<ShoppingItemField>
public int hashCode()
hashCode
in interface ShoppingItemFieldModel
hashCode
in class Object
public CacheModel<ShoppingItemField> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<ShoppingItemField>
toCacheModel
in interface ShoppingItemFieldModel
public ShoppingItemField toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<ShoppingItemField>
toEscapedModel
in interface ShoppingItemFieldModel
AutoEscapeBeanHandler
public ShoppingItemField toUnescapedModel()
toUnescapedModel
in interface BaseModel<ShoppingItemField>
toUnescapedModel
in interface ShoppingItemFieldModel
public String toString()
toString
in interface ShoppingItemFieldModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<ShoppingItemField>
toXmlString
in interface ShoppingItemFieldModel
public void persist() throws SystemException
PersistedModel
persist
in interface PersistedModel
SystemException
- if a system exception occurredpublic String[] getValuesArray()
getValuesArray
in interface ShoppingItemField
public void setValuesArray(String[] valuesArray)
setValuesArray
in interface ShoppingItemField
public boolean equals(Object obj)
equals
in class Object
public ShoppingItemField getWrappedShoppingItemField()
getWrappedModel()
public ShoppingItemField getWrappedModel()
getWrappedModel
in interface ModelWrapper<ShoppingItemField>
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<ShoppingItemField>
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |