|
Liferay 6.2-ce-ga2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.impl.BaseModelImpl<ShoppingItemField>
com.liferay.portlet.shopping.model.impl.ShoppingItemFieldModelImpl
public class ShoppingItemFieldModelImpl
The base model implementation for the ShoppingItemField service. Represents a row in the "ShoppingItemField" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface ShoppingItemFieldModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in ShoppingItemFieldImpl.
ShoppingItemFieldImpl,
ShoppingItemField,
ShoppingItemFieldModel,
Serialized Form| Field Summary | |
|---|---|
static boolean |
COLUMN_BITMASK_ENABLED
|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
static long |
ITEMID_COLUMN_BITMASK
|
static long |
LOCK_EXPIRATION_TIME
|
static long |
NAME_COLUMN_BITMASK
|
static String |
ORDER_BY_JPQL
|
static String |
ORDER_BY_SQL
|
static String |
SESSION_FACTORY
|
static Object[][] |
TABLE_COLUMNS
|
static String |
TABLE_NAME
|
static String |
TABLE_SQL_CREATE
|
static String |
TABLE_SQL_DROP
|
static String |
TX_MANAGER
|
| Constructor Summary | |
|---|---|
ShoppingItemFieldModelImpl()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(ShoppingItemField shoppingItemField)
|
boolean |
equals(Object obj)
|
long |
getColumnBitmask()
|
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 |
getOriginalItemId()
|
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. |
int |
hashCode()
|
void |
resetOriginalValues()
Reset all original fields to current values. |
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 |
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. |
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()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
| Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
|---|
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.liferay.portlet.shopping.model.ShoppingItemFieldModel |
|---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
| Field Detail |
|---|
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
public static final String TABLE_SQL_CREATE
public static final String TABLE_SQL_DROP
public static final String ORDER_BY_JPQL
public static final String ORDER_BY_SQL
public static final String DATA_SOURCE
public static final String SESSION_FACTORY
public static final String TX_MANAGER
public static final boolean ENTITY_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
public static final boolean COLUMN_BITMASK_ENABLED
public static long ITEMID_COLUMN_BITMASK
public static long NAME_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
| Constructor Detail |
|---|
public ShoppingItemFieldModelImpl()
| Method Detail |
|---|
public long getPrimaryKey()
ShoppingItemFieldModel
getPrimaryKey in interface ShoppingItemFieldModelpublic void setPrimaryKey(long primaryKey)
ShoppingItemFieldModel
setPrimaryKey in interface ShoppingItemFieldModelprimaryKey - the primary key of this shopping item fieldpublic 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 Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<ShoppingItemField>getModelAttributes in class BaseModelImpl<ShoppingItemField>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<ShoppingItemField>setModelAttributes in class BaseModelImpl<ShoppingItemField>public long getItemFieldId()
ShoppingItemFieldModel
getItemFieldId in interface ShoppingItemFieldModelpublic void setItemFieldId(long itemFieldId)
ShoppingItemFieldModel
setItemFieldId in interface ShoppingItemFieldModelitemFieldId - the item field ID of this shopping item fieldpublic long getItemId()
ShoppingItemFieldModel
getItemId in interface ShoppingItemFieldModelpublic void setItemId(long itemId)
ShoppingItemFieldModel
setItemId in interface ShoppingItemFieldModelitemId - the item ID of this shopping item fieldpublic long getOriginalItemId()
public String getName()
ShoppingItemFieldModel
getName in interface ShoppingItemFieldModelpublic void setName(String name)
ShoppingItemFieldModel
setName in interface ShoppingItemFieldModelname - the name of this shopping item fieldpublic String getValues()
ShoppingItemFieldModel
getValues in interface ShoppingItemFieldModelpublic void setValues(String values)
ShoppingItemFieldModel
setValues in interface ShoppingItemFieldModelvalues - the values of this shopping item fieldpublic String getDescription()
ShoppingItemFieldModel
getDescription in interface ShoppingItemFieldModelpublic void setDescription(String description)
ShoppingItemFieldModel
setDescription in interface ShoppingItemFieldModeldescription - the description of this shopping item fieldpublic long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<ShoppingItemField>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface ShoppingItemFieldModelgetExpandoBridge in class BaseModelImpl<ShoppingItemField>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<ShoppingItemField>setExpandoBridgeAttributes in interface ShoppingItemFieldModelsetExpandoBridgeAttributes in class BaseModelImpl<ShoppingItemField>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)public ShoppingItemField toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<ShoppingItemField>toEscapedModel in interface ShoppingItemFieldModeltoEscapedModel in class BaseModelImpl<ShoppingItemField>AutoEscapeBeanHandlerpublic Object clone()
BaseModel
clone in interface BaseModel<ShoppingItemField>clone in interface ShoppingItemFieldModelclone in class BaseModelImpl<ShoppingItemField>public int compareTo(ShoppingItemField shoppingItemField)
compareTo in interface ShoppingItemFieldModelcompareTo in interface Comparable<ShoppingItemField>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface ShoppingItemFieldModelhashCode in class Objectpublic void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<ShoppingItemField>resetOriginalValues in class BaseModelImpl<ShoppingItemField>public CacheModel<ShoppingItemField> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<ShoppingItemField>toCacheModel in interface ShoppingItemFieldModeltoCacheModel in class BaseModelImpl<ShoppingItemField>public String toString()
toString in interface ShoppingItemFieldModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<ShoppingItemField>toXmlString in interface ShoppingItemFieldModel
|
Liferay 6.2-ce-ga2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||