@ProviderType public interface ShoppingCategoryModel extends BaseModel<ShoppingCategory>, GroupedModel
This interface and its corresponding implementation com.liferay.portlet.shopping.model.impl.ShoppingCategoryModelImpl exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.portlet.shopping.model.impl.ShoppingCategoryImpl.
ShoppingCategory,
com.liferay.portlet.shopping.model.impl.ShoppingCategoryImpl,
com.liferay.portlet.shopping.model.impl.ShoppingCategoryModelImpl| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(ShoppingCategory shoppingCategory) |
long |
getCategoryId()
Returns the category ID of this shopping category.
|
long |
getCompanyId()
Returns the company ID of this shopping category.
|
java.util.Date |
getCreateDate()
Returns the create date of this shopping category.
|
java.lang.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.
|
java.util.Date |
getModifiedDate()
Returns the modified date of this shopping category.
|
java.lang.String |
getName()
Returns the name of this shopping category.
|
long |
getParentCategoryId()
Returns the parent category ID of this shopping category.
|
long |
getPrimaryKey()
Returns the primary key of this shopping category.
|
java.io.Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
long |
getUserId()
Returns the user ID of this shopping category.
|
java.lang.String |
getUserName()
Returns the user name of this shopping category.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this shopping category.
|
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 |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache.
|
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(java.util.Date createDate)
Sets the create date of this shopping category.
|
void |
setDescription(java.lang.String description)
Sets the description of this shopping category.
|
void |
setExpandoBridgeAttributes(BaseModel<?> baseModel) |
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge) |
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 |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this shopping category.
|
void |
setName(java.lang.String name)
Sets the name of this shopping category.
|
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database.
|
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(java.io.Serializable primaryKeyObj)
Sets the primary key of this model instance.
|
void |
setUserId(long userId)
Sets the user ID of this shopping category.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this shopping category.
|
void |
setUserUuid(java.lang.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. |
java.lang.String |
toString() |
ShoppingCategory |
toUnescapedModel() |
java.lang.String |
toXmlString()
Returns the XML representation of this model instance.
|
getModelAttributes, isEntityCacheEnabled, isFinderCacheEnabled, resetOriginalValues, setModelAttributesgetModelClass, getModelClassNamelong getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey - the primary key of this shopping categorylong getCategoryId()
void setCategoryId(long categoryId)
categoryId - the category ID of this shopping categorylong getGroupId()
getGroupId in interface GroupedModelvoid setGroupId(long groupId)
setGroupId in interface GroupedModelgroupId - the group ID of this shopping categorylong getCompanyId()
getCompanyId in interface AuditedModelvoid setCompanyId(long companyId)
setCompanyId in interface AuditedModelcompanyId - the company ID of this shopping categorylong getUserId()
getUserId in interface AuditedModelvoid setUserId(long userId)
setUserId in interface AuditedModeluserId - the user ID of this shopping categoryjava.lang.String getUserUuid()
getUserUuid in interface AuditedModelvoid setUserUuid(java.lang.String userUuid)
setUserUuid in interface AuditedModeluserUuid - the user uuid of this shopping category@AutoEscape java.lang.String getUserName()
getUserName in interface AuditedModelvoid setUserName(java.lang.String userName)
setUserName in interface AuditedModeluserName - the user name of this shopping categoryjava.util.Date getCreateDate()
getCreateDate in interface AuditedModelvoid setCreateDate(java.util.Date createDate)
setCreateDate in interface AuditedModelcreateDate - the create date of this shopping categoryjava.util.Date getModifiedDate()
getModifiedDate in interface AuditedModelvoid setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface AuditedModelmodifiedDate - the modified date of this shopping categorylong getParentCategoryId()
void setParentCategoryId(long parentCategoryId)
parentCategoryId - the parent category ID of this shopping category@AutoEscape java.lang.String getName()
void setName(java.lang.String name)
name - the name of this shopping category@AutoEscape java.lang.String getDescription()
void setDescription(java.lang.String description)
description - the description of this shopping categoryboolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.isNew in interface BaseModel<ShoppingCategory>true if this model instance does not yet exist in
the database; false otherwisevoid setNew(boolean n)
BaseModelsetNew in interface BaseModel<ShoppingCategory>n - whether this model instance does not yet exist in the databaseboolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.isCachedModel in interface BaseModel<ShoppingCategory>true if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface BaseModel<ShoppingCategory>cachedModel - whether this model instance was retrieved from the
entity cacheEntityCacheboolean isEscapedModel()
BaseModeltrue if this model instance is escaped.isEscapedModel in interface BaseModel<ShoppingCategory>true if this model instance is escaped;
false otherwisejava.io.Serializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface BaseModel<ShoppingCategory>getPrimaryKeyObj in interface ClassedModelvoid setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface BaseModel<ShoppingCategory>setPrimaryKeyObj in interface ClassedModelprimaryKeyObj - the primary key of this model instanceExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface BaseModel<ShoppingCategory>getExpandoBridge in interface ClassedModelvoid setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<ShoppingCategory>void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<ShoppingCategory>void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModelsetExpandoBridgeAttributes in interface BaseModel<ShoppingCategory>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)java.lang.Object clone()
BaseModelclone in interface BaseModel<ShoppingCategory>int compareTo(ShoppingCategory shoppingCategory)
compareTo in interface java.lang.Comparable<ShoppingCategory>int hashCode()
hashCode in class java.lang.ObjectCacheModel<ShoppingCategory> toCacheModel()
BaseModeltoCacheModel in interface BaseModel<ShoppingCategory>ShoppingCategory toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface BaseModel<ShoppingCategory>AutoEscapeBeanHandlerShoppingCategory toUnescapedModel()
toUnescapedModel in interface BaseModel<ShoppingCategory>java.lang.String toString()
toString in class java.lang.Objectjava.lang.String toXmlString()
BaseModeltoXmlString in interface BaseModel<ShoppingCategory>