|
Liferay 6.0-ee | |||||||||
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
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
.
Never modify or reference this class directly. All methods that expect a shopping category model instance should use the ShoppingCategory
interface instead.
ShoppingCategoryImpl
,
ShoppingCategory
,
ShoppingCategoryModel
,
Serialized FormField Summary | |
---|---|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
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 | |
---|---|
ShoppingCategoryModelImpl()
|
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(ShoppingCategory shoppingCategory)
|
boolean |
equals(Object obj)
|
long |
getCategoryId()
Gets the category id of this shopping category. |
long |
getCompanyId()
Gets the company id of this shopping category. |
Date |
getCreateDate()
Gets the create date of this shopping category. |
String |
getDescription()
Gets the description of this shopping category. |
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
long |
getGroupId()
Gets the group id of this shopping category. |
Date |
getModifiedDate()
Gets the modified date of this shopping category. |
String |
getName()
Gets the name of this shopping category. |
long |
getParentCategoryId()
Gets the parent category id of this shopping category. |
long |
getPrimaryKey()
Gets the primary key of this shopping category. |
Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
long |
getUserId()
Gets the user id of this shopping category. |
String |
getUserName()
Gets the user name of this shopping category. |
String |
getUserUuid()
Gets the user uuid of this shopping category. |
int |
hashCode()
|
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 |
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 pk)
Sets the primary key of this shopping category |
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. |
ShoppingCategory |
toEscapedModel()
Gets 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()
Gets the XML representation of this model instance. |
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew |
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, setEscapedModel, 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 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 ShoppingCategoryModel
public void setPrimaryKey(long pk)
ShoppingCategoryModel
setPrimaryKey
in interface ShoppingCategoryModel
pk
- the primary key of this shopping categorypublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<ShoppingCategory>
getPrimaryKeyObj
in interface ShoppingCategoryModel
public long getCategoryId()
ShoppingCategoryModel
getCategoryId
in interface ShoppingCategoryModel
public void setCategoryId(long categoryId)
ShoppingCategoryModel
setCategoryId
in interface ShoppingCategoryModel
categoryId
- the category id of this shopping categorypublic long getGroupId()
ShoppingCategoryModel
getGroupId
in interface ShoppingCategoryModel
public void setGroupId(long groupId)
ShoppingCategoryModel
setGroupId
in interface ShoppingCategoryModel
groupId
- the group id of this shopping categorypublic long getCompanyId()
ShoppingCategoryModel
getCompanyId
in interface ShoppingCategoryModel
public void setCompanyId(long companyId)
ShoppingCategoryModel
setCompanyId
in interface ShoppingCategoryModel
companyId
- the company id of this shopping categorypublic long getUserId()
ShoppingCategoryModel
getUserId
in interface ShoppingCategoryModel
public void setUserId(long userId)
ShoppingCategoryModel
setUserId
in interface ShoppingCategoryModel
userId
- the user id of this shopping categorypublic String getUserUuid() throws SystemException
ShoppingCategoryModel
getUserUuid
in interface ShoppingCategoryModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
ShoppingCategoryModel
setUserUuid
in interface ShoppingCategoryModel
userUuid
- the user uuid of this shopping categorypublic String getUserName()
ShoppingCategoryModel
getUserName
in interface ShoppingCategoryModel
public void setUserName(String userName)
ShoppingCategoryModel
setUserName
in interface ShoppingCategoryModel
userName
- the user name of this shopping categorypublic Date getCreateDate()
ShoppingCategoryModel
getCreateDate
in interface ShoppingCategoryModel
public void setCreateDate(Date createDate)
ShoppingCategoryModel
setCreateDate
in interface ShoppingCategoryModel
createDate
- the create date of this shopping categorypublic Date getModifiedDate()
ShoppingCategoryModel
getModifiedDate
in interface ShoppingCategoryModel
public void setModifiedDate(Date modifiedDate)
ShoppingCategoryModel
setModifiedDate
in interface ShoppingCategoryModel
modifiedDate
- the modified date of this shopping categorypublic long getParentCategoryId()
ShoppingCategoryModel
getParentCategoryId
in interface ShoppingCategoryModel
public void setParentCategoryId(long parentCategoryId)
ShoppingCategoryModel
setParentCategoryId
in interface ShoppingCategoryModel
parentCategoryId
- the parent category id of this shopping categorypublic String getName()
ShoppingCategoryModel
getName
in interface ShoppingCategoryModel
public void setName(String name)
ShoppingCategoryModel
setName
in interface ShoppingCategoryModel
name
- the name of this shopping categorypublic String getDescription()
ShoppingCategoryModel
getDescription
in interface ShoppingCategoryModel
public void setDescription(String description)
ShoppingCategoryModel
setDescription
in interface ShoppingCategoryModel
description
- the description of this shopping categorypublic ShoppingCategory toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<ShoppingCategory>
toEscapedModel
in interface ShoppingCategoryModel
toEscapedModel
in class BaseModelImpl<ShoppingCategory>
AutoEscapeBeanHandler
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<ShoppingCategory>
getExpandoBridge
in interface ShoppingCategoryModel
getExpandoBridge
in class BaseModelImpl<ShoppingCategory>
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<ShoppingCategory>
setExpandoBridgeAttributes
in interface ShoppingCategoryModel
setExpandoBridgeAttributes
in class BaseModelImpl<ShoppingCategory>
serviceContext
- the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)
public Object clone()
BaseModel
clone
in interface BaseModel<ShoppingCategory>
clone
in interface ShoppingCategoryModel
clone
in class BaseModelImpl<ShoppingCategory>
public int compareTo(ShoppingCategory shoppingCategory)
compareTo
in interface ShoppingCategoryModel
compareTo
in interface Comparable<ShoppingCategory>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface ShoppingCategoryModel
hashCode
in class Object
public String toString()
toString
in interface ShoppingCategoryModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<ShoppingCategory>
toXmlString
in interface ShoppingCategoryModel
|
Liferay 6.0-ee | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |