|
Liferay 7.0-ce-m3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.impl.BaseModelImpl<ShoppingCategory>
com.liferay.portlet.shopping.model.impl.ShoppingCategoryModelImpl
@JSON(strict=true) @ProviderType public class ShoppingCategoryModelImpl
The base model implementation for the ShoppingCategory service. Represents a row in the "ShoppingCategory" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface ShoppingCategoryModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in ShoppingCategoryImpl.
ShoppingCategoryImpl,
ShoppingCategory,
ShoppingCategoryModel,
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 |
GROUPID_COLUMN_BITMASK
|
static long |
LOCK_EXPIRATION_TIME
|
static long |
NAME_COLUMN_BITMASK
|
static String |
ORDER_BY_JPQL
|
static String |
ORDER_BY_SQL
|
static long |
PARENTCATEGORYID_COLUMN_BITMASK
|
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 | |
|---|---|
ShoppingCategoryModelImpl()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(ShoppingCategory shoppingCategory)
|
boolean |
equals(Object obj)
|
long |
getCategoryId()
Returns the category ID of this shopping category. |
long |
getColumnBitmask()
|
long |
getCompanyId()
Returns the company ID of this shopping category. |
Date |
getCreateDate()
Returns the create date of this shopping category. |
String |
getDescription()
Returns the description of this shopping category. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
long |
getGroupId()
Returns the group ID of this shopping category. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
Date |
getModifiedDate()
Returns the modified date of this shopping category. |
String |
getName()
Returns the name of this shopping category. |
long |
getOriginalGroupId()
|
String |
getOriginalName()
|
long |
getOriginalParentCategoryId()
|
long |
getParentCategoryId()
Returns the parent category ID of this shopping category. |
long |
getPrimaryKey()
Returns the primary key of this shopping category. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
long |
getUserId()
Returns the user ID of this shopping category. |
String |
getUserName()
Returns the user name of this shopping category. |
String |
getUserUuid()
Returns the user uuid of this shopping category. |
int |
hashCode()
|
boolean |
isEntityCacheEnabled()
Returns true if this model's entity cache is enabled. |
boolean |
isFinderCacheEnabled()
Returns true if this model's finder cache is enabled. |
void |
resetOriginalValues()
Reset all original fields to current values. |
void |
setCategoryId(long categoryId)
Sets the category ID of this shopping category. |
void |
setCompanyId(long companyId)
Sets the company ID of this shopping category. |
void |
setCreateDate(Date createDate)
Sets the create date of this shopping category. |
void |
setDescription(String description)
Sets the description of this shopping category. |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setGroupId(long groupId)
Sets the group ID of this shopping category. |
void |
setModelAttributes(Map<String,Object> attributes)
|
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this shopping category. |
void |
setName(String name)
Sets the name of this shopping category. |
void |
setParentCategoryId(long parentCategoryId)
Sets the parent category ID of this shopping category. |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this shopping category. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setUserId(long userId)
Sets the user ID of this shopping category. |
void |
setUserName(String userName)
Sets the user name of this shopping category. |
void |
setUserUuid(String userUuid)
Sets the user uuid of this shopping category. |
CacheModel<ShoppingCategory> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
ShoppingCategory |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
static ShoppingCategory |
toModel(ShoppingCategorySoap soapModel)
Converts the soap model instance into a normal model instance. |
static List<ShoppingCategory> |
toModels(ShoppingCategorySoap[] soapModels)
Converts the soap model instances into normal model instances. |
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.ShoppingCategoryModel |
|---|
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 final long GROUPID_COLUMN_BITMASK
public static final long NAME_COLUMN_BITMASK
public static final long PARENTCATEGORYID_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
| Constructor Detail |
|---|
public ShoppingCategoryModelImpl()
| Method Detail |
|---|
public static ShoppingCategory toModel(ShoppingCategorySoap soapModel)
soapModel - the soap model instance to convert
public static List<ShoppingCategory> toModels(ShoppingCategorySoap[] soapModels)
soapModels - the soap model instances to convert
public long getPrimaryKey()
ShoppingCategoryModel
getPrimaryKey in interface ShoppingCategoryModelpublic void setPrimaryKey(long primaryKey)
ShoppingCategoryModel
setPrimaryKey in interface ShoppingCategoryModelprimaryKey - the primary key of this shopping categorypublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<ShoppingCategory>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface ShoppingCategoryModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<ShoppingCategory>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface ShoppingCategoryModelprimaryKeyObj - 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<ShoppingCategory>getModelAttributes in class BaseModelImpl<ShoppingCategory>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<ShoppingCategory>setModelAttributes in class BaseModelImpl<ShoppingCategory>@JSON public long getCategoryId()
ShoppingCategoryModel
getCategoryId in interface ShoppingCategoryModelpublic void setCategoryId(long categoryId)
ShoppingCategoryModel
setCategoryId in interface ShoppingCategoryModelcategoryId - the category ID of this shopping category@JSON public long getGroupId()
ShoppingCategoryModel
getGroupId in interface GroupedModelgetGroupId in interface ShoppingCategoryModelpublic void setGroupId(long groupId)
ShoppingCategoryModel
setGroupId in interface GroupedModelsetGroupId in interface ShoppingCategoryModelgroupId - the group ID of this shopping categorypublic long getOriginalGroupId()
@JSON public long getCompanyId()
ShoppingCategoryModel
getCompanyId in interface AuditedModelgetCompanyId in interface ShoppingCategoryModelpublic void setCompanyId(long companyId)
ShoppingCategoryModel
setCompanyId in interface AuditedModelsetCompanyId in interface ShoppingCategoryModelcompanyId - the company ID of this shopping category@JSON public long getUserId()
ShoppingCategoryModel
getUserId in interface AuditedModelgetUserId in interface ShoppingCategoryModelpublic void setUserId(long userId)
ShoppingCategoryModel
setUserId in interface AuditedModelsetUserId in interface ShoppingCategoryModeluserId - the user ID of this shopping categorypublic String getUserUuid()
ShoppingCategoryModel
getUserUuid in interface AuditedModelgetUserUuid in interface ShoppingCategoryModelpublic void setUserUuid(String userUuid)
ShoppingCategoryModel
setUserUuid in interface AuditedModelsetUserUuid in interface ShoppingCategoryModeluserUuid - the user uuid of this shopping category@JSON public String getUserName()
ShoppingCategoryModel
getUserName in interface AuditedModelgetUserName in interface ShoppingCategoryModelpublic void setUserName(String userName)
ShoppingCategoryModel
setUserName in interface AuditedModelsetUserName in interface ShoppingCategoryModeluserName - the user name of this shopping category@JSON public Date getCreateDate()
ShoppingCategoryModel
getCreateDate in interface AuditedModelgetCreateDate in interface ShoppingCategoryModelpublic void setCreateDate(Date createDate)
ShoppingCategoryModel
setCreateDate in interface AuditedModelsetCreateDate in interface ShoppingCategoryModelcreateDate - the create date of this shopping category@JSON public Date getModifiedDate()
ShoppingCategoryModel
getModifiedDate in interface AuditedModelgetModifiedDate in interface ShoppingCategoryModelpublic void setModifiedDate(Date modifiedDate)
ShoppingCategoryModel
setModifiedDate in interface AuditedModelsetModifiedDate in interface ShoppingCategoryModelmodifiedDate - the modified date of this shopping category@JSON public long getParentCategoryId()
ShoppingCategoryModel
getParentCategoryId in interface ShoppingCategoryModelpublic void setParentCategoryId(long parentCategoryId)
ShoppingCategoryModel
setParentCategoryId in interface ShoppingCategoryModelparentCategoryId - the parent category ID of this shopping categorypublic long getOriginalParentCategoryId()
@JSON public String getName()
ShoppingCategoryModel
getName in interface ShoppingCategoryModelpublic void setName(String name)
ShoppingCategoryModel
setName in interface ShoppingCategoryModelname - the name of this shopping categorypublic String getOriginalName()
@JSON public String getDescription()
ShoppingCategoryModel
getDescription in interface ShoppingCategoryModelpublic void setDescription(String description)
ShoppingCategoryModel
setDescription in interface ShoppingCategoryModeldescription - the description of this shopping categorypublic long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<ShoppingCategory>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface ShoppingCategoryModelgetExpandoBridge in class BaseModelImpl<ShoppingCategory>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<ShoppingCategory>setExpandoBridgeAttributes in interface ShoppingCategoryModelsetExpandoBridgeAttributes in class BaseModelImpl<ShoppingCategory>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)public ShoppingCategory toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<ShoppingCategory>toEscapedModel in interface ShoppingCategoryModeltoEscapedModel in class BaseModelImpl<ShoppingCategory>AutoEscapeBeanHandlerpublic Object clone()
BaseModel
clone in interface BaseModel<ShoppingCategory>clone in interface ShoppingCategoryModelclone in class BaseModelImpl<ShoppingCategory>public int compareTo(ShoppingCategory shoppingCategory)
compareTo in interface ShoppingCategoryModelcompareTo in interface Comparable<ShoppingCategory>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface ShoppingCategoryModelhashCode in class Objectpublic boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.
isEntityCacheEnabled in interface BaseModel<ShoppingCategory>true if this model's entity cache is enabled;
false otherwisepublic boolean isFinderCacheEnabled()
BaseModeltrue if this model's finder cache is enabled.
isFinderCacheEnabled in interface BaseModel<ShoppingCategory>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<ShoppingCategory>resetOriginalValues in class BaseModelImpl<ShoppingCategory>public CacheModel<ShoppingCategory> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<ShoppingCategory>toCacheModel in interface ShoppingCategoryModeltoCacheModel in class BaseModelImpl<ShoppingCategory>public String toString()
toString in interface ShoppingCategoryModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<ShoppingCategory>toXmlString in interface ShoppingCategoryModel
|
Liferay 7.0-ce-m3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||