|
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.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 FormField 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 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()
|
ShoppingItemField |
toUnescapedModel()
|
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, setNew |
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, setNew |
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 final long LOCK_EXPIRATION_TIME
Constructor Detail |
---|
public ShoppingItemFieldModelImpl()
Method Detail |
---|
public long getPrimaryKey()
ShoppingItemFieldModel
getPrimaryKey
in interface ShoppingItemFieldModel
public void setPrimaryKey(long primaryKey)
ShoppingItemFieldModel
setPrimaryKey
in interface ShoppingItemFieldModel
primaryKey
- the primary key of this shopping item fieldpublic 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 Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public 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 ShoppingItemFieldModel
public void setItemFieldId(long itemFieldId)
ShoppingItemFieldModel
setItemFieldId
in interface ShoppingItemFieldModel
itemFieldId
- the item field ID of this shopping item fieldpublic long getItemId()
ShoppingItemFieldModel
getItemId
in interface ShoppingItemFieldModel
public void setItemId(long itemId)
ShoppingItemFieldModel
setItemId
in interface ShoppingItemFieldModel
itemId
- the item ID of this shopping item fieldpublic long getOriginalItemId()
public String getName()
ShoppingItemFieldModel
getName
in interface ShoppingItemFieldModel
public void setName(String name)
ShoppingItemFieldModel
setName
in interface ShoppingItemFieldModel
name
- the name of this shopping item fieldpublic String getValues()
ShoppingItemFieldModel
getValues
in interface ShoppingItemFieldModel
public void setValues(String values)
ShoppingItemFieldModel
setValues
in interface ShoppingItemFieldModel
values
- the values of this shopping item fieldpublic String getDescription()
ShoppingItemFieldModel
getDescription
in interface ShoppingItemFieldModel
public void setDescription(String description)
ShoppingItemFieldModel
setDescription
in interface ShoppingItemFieldModel
description
- the description of this shopping item fieldpublic long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<ShoppingItemField>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface ShoppingItemFieldModel
getExpandoBridge
in class BaseModelImpl<ShoppingItemField>
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<ShoppingItemField>
setExpandoBridgeAttributes
in interface ShoppingItemFieldModel
setExpandoBridgeAttributes
in class BaseModelImpl<ShoppingItemField>
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
public ShoppingItemField toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<ShoppingItemField>
toEscapedModel
in interface ShoppingItemFieldModel
toEscapedModel
in class BaseModelImpl<ShoppingItemField>
AutoEscapeBeanHandler
public ShoppingItemField toUnescapedModel()
toUnescapedModel
in interface BaseModel<ShoppingItemField>
toUnescapedModel
in interface ShoppingItemFieldModel
toUnescapedModel
in class BaseModelImpl<ShoppingItemField>
public Object clone()
BaseModel
clone
in interface BaseModel<ShoppingItemField>
clone
in interface ShoppingItemFieldModel
clone
in class BaseModelImpl<ShoppingItemField>
public int compareTo(ShoppingItemField shoppingItemField)
compareTo
in interface ShoppingItemFieldModel
compareTo
in interface Comparable<ShoppingItemField>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface ShoppingItemFieldModel
hashCode
in class Object
public 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 ShoppingItemFieldModel
toCacheModel
in class BaseModelImpl<ShoppingItemField>
public String toString()
toString
in interface ShoppingItemFieldModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<ShoppingItemField>
toXmlString
in interface ShoppingItemFieldModel
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |