@JSON(strict=true)
@ProviderType
public class ShoppingCategoryModelImpl
extends com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.shopping.model.ShoppingCategory>
implements com.liferay.shopping.model.ShoppingCategoryModel
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| Modifier and Type | Field and Description |
|---|---|
static boolean |
COLUMN_BITMASK_ENABLED |
static java.lang.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 java.lang.String |
ORDER_BY_JPQL |
static java.lang.String |
ORDER_BY_SQL |
static long |
PARENTCATEGORYID_COLUMN_BITMASK |
static java.lang.String |
SESSION_FACTORY |
static java.lang.Object[][] |
TABLE_COLUMNS |
static java.util.Map<java.lang.String,java.lang.Integer> |
TABLE_COLUMNS_MAP |
static java.lang.String |
TABLE_NAME |
static java.lang.String |
TABLE_SQL_CREATE |
static java.lang.String |
TABLE_SQL_DROP |
static java.lang.String |
TX_MANAGER |
| Constructor and Description |
|---|
ShoppingCategoryModelImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
int |
compareTo(com.liferay.shopping.model.ShoppingCategory shoppingCategory) |
boolean |
equals(java.lang.Object obj) |
long |
getCategoryId() |
long |
getColumnBitmask() |
long |
getCompanyId() |
java.util.Date |
getCreateDate() |
java.lang.String |
getDescription() |
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
long |
getGroupId() |
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
java.util.Date |
getModifiedDate() |
java.lang.String |
getName() |
long |
getOriginalGroupId() |
java.lang.String |
getOriginalName() |
long |
getOriginalParentCategoryId() |
long |
getParentCategoryId() |
long |
getPrimaryKey() |
java.io.Serializable |
getPrimaryKeyObj() |
long |
getUserId() |
java.lang.String |
getUserName() |
java.lang.String |
getUserUuid() |
int |
hashCode() |
boolean |
hasSetModifiedDate() |
boolean |
isEntityCacheEnabled() |
boolean |
isFinderCacheEnabled() |
void |
resetOriginalValues() |
void |
setCategoryId(long categoryId) |
void |
setCompanyId(long companyId) |
void |
setCreateDate(java.util.Date createDate) |
void |
setDescription(java.lang.String description) |
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
setGroupId(long groupId) |
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setModifiedDate(java.util.Date modifiedDate) |
void |
setName(java.lang.String name) |
void |
setParentCategoryId(long parentCategoryId) |
void |
setPrimaryKey(long primaryKey) |
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj) |
void |
setUserId(long userId) |
void |
setUserName(java.lang.String userName) |
void |
setUserUuid(java.lang.String userUuid) |
com.liferay.portal.kernel.model.CacheModel<com.liferay.shopping.model.ShoppingCategory> |
toCacheModel() |
com.liferay.shopping.model.ShoppingCategory |
toEscapedModel() |
static com.liferay.shopping.model.ShoppingCategory |
toModel(com.liferay.shopping.model.ShoppingCategorySoap soapModel)
Converts the soap model instance into a normal model instance.
|
static java.util.List<com.liferay.shopping.model.ShoppingCategory> |
toModels(com.liferay.shopping.model.ShoppingCategorySoap[] soapModels)
Converts the soap model instances into normal model instances.
|
java.lang.String |
toString() |
java.lang.String |
toXmlString() |
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModelpublic static final java.lang.String TABLE_NAME
public static final java.lang.Object[][] TABLE_COLUMNS
public static final java.util.Map<java.lang.String,java.lang.Integer> TABLE_COLUMNS_MAP
public static final java.lang.String TABLE_SQL_CREATE
public static final java.lang.String TABLE_SQL_DROP
public static final java.lang.String ORDER_BY_JPQL
public static final java.lang.String ORDER_BY_SQL
public static final java.lang.String DATA_SOURCE
public static final java.lang.String SESSION_FACTORY
public static final java.lang.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
public static com.liferay.shopping.model.ShoppingCategory toModel(com.liferay.shopping.model.ShoppingCategorySoap soapModel)
soapModel - the soap model instance to convertpublic static java.util.List<com.liferay.shopping.model.ShoppingCategory> toModels(com.liferay.shopping.model.ShoppingCategorySoap[] soapModels)
soapModels - the soap model instances to convertpublic long getPrimaryKey()
getPrimaryKey in interface com.liferay.shopping.model.ShoppingCategoryModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface com.liferay.shopping.model.ShoppingCategoryModelpublic java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.shopping.model.ShoppingCategory>getPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelgetPrimaryKeyObj in interface com.liferay.shopping.model.ShoppingCategoryModelpublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.shopping.model.ShoppingCategory>setPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelsetPrimaryKeyObj in interface com.liferay.shopping.model.ShoppingCategoryModelpublic java.lang.Class<?> getModelClass()
getModelClass in interface com.liferay.portal.kernel.model.ClassedModelpublic java.lang.String getModelClassName()
getModelClassName in interface com.liferay.portal.kernel.model.ClassedModelpublic java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.shopping.model.ShoppingCategory>getModelAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.shopping.model.ShoppingCategory>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.shopping.model.ShoppingCategory>setModelAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.shopping.model.ShoppingCategory>@JSON public long getCategoryId()
getCategoryId in interface com.liferay.shopping.model.ShoppingCategoryModelpublic void setCategoryId(long categoryId)
setCategoryId in interface com.liferay.shopping.model.ShoppingCategoryModel@JSON public long getGroupId()
getGroupId in interface com.liferay.portal.kernel.model.GroupedModelgetGroupId in interface com.liferay.shopping.model.ShoppingCategoryModelpublic void setGroupId(long groupId)
setGroupId in interface com.liferay.portal.kernel.model.GroupedModelsetGroupId in interface com.liferay.shopping.model.ShoppingCategoryModelpublic long getOriginalGroupId()
@JSON public long getCompanyId()
getCompanyId in interface com.liferay.portal.kernel.model.AuditedModelgetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelgetCompanyId in interface com.liferay.shopping.model.ShoppingCategoryModelpublic void setCompanyId(long companyId)
setCompanyId in interface com.liferay.portal.kernel.model.AuditedModelsetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelsetCompanyId in interface com.liferay.shopping.model.ShoppingCategoryModel@JSON public long getUserId()
getUserId in interface com.liferay.portal.kernel.model.AuditedModelgetUserId in interface com.liferay.shopping.model.ShoppingCategoryModelpublic void setUserId(long userId)
setUserId in interface com.liferay.portal.kernel.model.AuditedModelsetUserId in interface com.liferay.shopping.model.ShoppingCategoryModelpublic java.lang.String getUserUuid()
getUserUuid in interface com.liferay.portal.kernel.model.AuditedModelgetUserUuid in interface com.liferay.shopping.model.ShoppingCategoryModelpublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface com.liferay.portal.kernel.model.AuditedModelsetUserUuid in interface com.liferay.shopping.model.ShoppingCategoryModel@JSON public java.lang.String getUserName()
getUserName in interface com.liferay.portal.kernel.model.AuditedModelgetUserName in interface com.liferay.shopping.model.ShoppingCategoryModelpublic void setUserName(java.lang.String userName)
setUserName in interface com.liferay.portal.kernel.model.AuditedModelsetUserName in interface com.liferay.shopping.model.ShoppingCategoryModel@JSON public java.util.Date getCreateDate()
getCreateDate in interface com.liferay.portal.kernel.model.AuditedModelgetCreateDate in interface com.liferay.shopping.model.ShoppingCategoryModelpublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface com.liferay.portal.kernel.model.AuditedModelsetCreateDate in interface com.liferay.shopping.model.ShoppingCategoryModel@JSON public java.util.Date getModifiedDate()
getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelgetModifiedDate in interface com.liferay.shopping.model.ShoppingCategoryModelpublic boolean hasSetModifiedDate()
public void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelsetModifiedDate in interface com.liferay.shopping.model.ShoppingCategoryModel@JSON public long getParentCategoryId()
getParentCategoryId in interface com.liferay.shopping.model.ShoppingCategoryModelpublic void setParentCategoryId(long parentCategoryId)
setParentCategoryId in interface com.liferay.shopping.model.ShoppingCategoryModelpublic long getOriginalParentCategoryId()
@JSON public java.lang.String getName()
getName in interface com.liferay.shopping.model.ShoppingCategoryModelpublic void setName(java.lang.String name)
setName in interface com.liferay.shopping.model.ShoppingCategoryModelpublic java.lang.String getOriginalName()
@JSON public java.lang.String getDescription()
getDescription in interface com.liferay.shopping.model.ShoppingCategoryModelpublic void setDescription(java.lang.String description)
setDescription in interface com.liferay.shopping.model.ShoppingCategoryModelpublic long getColumnBitmask()
public com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.shopping.model.ShoppingCategory>getExpandoBridge in interface com.liferay.portal.kernel.model.ClassedModelgetExpandoBridge in interface com.liferay.shopping.model.ShoppingCategoryModelgetExpandoBridge in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.shopping.model.ShoppingCategory>public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.shopping.model.ShoppingCategory>setExpandoBridgeAttributes in interface com.liferay.shopping.model.ShoppingCategoryModelsetExpandoBridgeAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.shopping.model.ShoppingCategory>public com.liferay.shopping.model.ShoppingCategory toEscapedModel()
toEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.shopping.model.ShoppingCategory>toEscapedModel in interface com.liferay.shopping.model.ShoppingCategoryModeltoEscapedModel in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.shopping.model.ShoppingCategory>public java.lang.Object clone()
clone in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.shopping.model.ShoppingCategory>clone in interface com.liferay.shopping.model.ShoppingCategoryModelclone in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.shopping.model.ShoppingCategory>public int compareTo(com.liferay.shopping.model.ShoppingCategory shoppingCategory)
compareTo in interface com.liferay.shopping.model.ShoppingCategoryModelcompareTo in interface java.lang.Comparable<com.liferay.shopping.model.ShoppingCategory>public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in interface com.liferay.shopping.model.ShoppingCategoryModelhashCode in class java.lang.Objectpublic boolean isEntityCacheEnabled()
isEntityCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.shopping.model.ShoppingCategory>public boolean isFinderCacheEnabled()
isFinderCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.shopping.model.ShoppingCategory>public void resetOriginalValues()
resetOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.shopping.model.ShoppingCategory>resetOriginalValues in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.shopping.model.ShoppingCategory>public com.liferay.portal.kernel.model.CacheModel<com.liferay.shopping.model.ShoppingCategory> toCacheModel()
toCacheModel in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.shopping.model.ShoppingCategory>toCacheModel in interface com.liferay.shopping.model.ShoppingCategoryModeltoCacheModel in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.shopping.model.ShoppingCategory>public java.lang.String toString()
toString in interface com.liferay.shopping.model.ShoppingCategoryModeltoString in class java.lang.Objectpublic java.lang.String toXmlString()
toXmlString in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.shopping.model.ShoppingCategory>toXmlString in interface com.liferay.shopping.model.ShoppingCategoryModel