|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.impl.BaseModelImpl<ShoppingCoupon>
com.liferay.portlet.shopping.model.impl.ShoppingCouponModelImpl
public class ShoppingCouponModelImpl
This interface is a model that represents the ShoppingCoupon table in the database.
ShoppingCouponImpl,
ShoppingCoupon,
ShoppingCouponModel,
Serialized Form| Field 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 | |
|---|---|
ShoppingCouponModelImpl()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(ShoppingCoupon shoppingCoupon)
|
boolean |
equals(Object obj)
|
boolean |
getActive()
|
String |
getCode()
|
long |
getCompanyId()
|
long |
getCouponId()
|
Date |
getCreateDate()
|
String |
getDescription()
|
double |
getDiscount()
|
String |
getDiscountType()
|
Date |
getEndDate()
|
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
long |
getGroupId()
|
String |
getLimitCategories()
|
String |
getLimitSkus()
|
double |
getMinOrder()
|
Date |
getModifiedDate()
|
String |
getName()
|
String |
getOriginalCode()
|
long |
getPrimaryKey()
|
Serializable |
getPrimaryKeyObj()
Gets the primary key for this model instance. |
Date |
getStartDate()
|
long |
getUserId()
|
String |
getUserName()
|
String |
getUserUuid()
|
int |
hashCode()
|
boolean |
isActive()
|
void |
setActive(boolean active)
|
void |
setCode(String code)
|
void |
setCompanyId(long companyId)
|
void |
setCouponId(long couponId)
|
void |
setCreateDate(Date createDate)
|
void |
setDescription(String description)
|
void |
setDiscount(double discount)
|
void |
setDiscountType(String discountType)
|
void |
setEndDate(Date endDate)
|
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)
|
void |
setLimitCategories(String limitCategories)
|
void |
setLimitSkus(String limitSkus)
|
void |
setMinOrder(double minOrder)
|
void |
setModifiedDate(Date modifiedDate)
|
void |
setName(String name)
|
void |
setPrimaryKey(long pk)
|
void |
setStartDate(Date startDate)
|
void |
setUserId(long userId)
|
void |
setUserName(String userName)
|
void |
setUserUuid(String userUuid)
|
ShoppingCoupon |
toEscapedModel()
|
static ShoppingCoupon |
toModel(ShoppingCouponSoap soapModel)
|
static List<ShoppingCoupon> |
toModels(ShoppingCouponSoap[] soapModels)
|
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.ShoppingCouponModel |
|---|
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 ShoppingCouponModelImpl()
| Method Detail |
|---|
public static ShoppingCoupon toModel(ShoppingCouponSoap soapModel)
public static List<ShoppingCoupon> toModels(ShoppingCouponSoap[] soapModels)
public long getPrimaryKey()
getPrimaryKey in interface ShoppingCouponModelpublic void setPrimaryKey(long pk)
setPrimaryKey in interface ShoppingCouponModelpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<ShoppingCoupon>getPrimaryKeyObj in interface ShoppingCouponModelpublic long getCouponId()
getCouponId in interface ShoppingCouponModelpublic void setCouponId(long couponId)
setCouponId in interface ShoppingCouponModelpublic long getGroupId()
getGroupId in interface ShoppingCouponModelpublic void setGroupId(long groupId)
setGroupId in interface ShoppingCouponModelpublic long getCompanyId()
getCompanyId in interface ShoppingCouponModelpublic void setCompanyId(long companyId)
setCompanyId in interface ShoppingCouponModelpublic long getUserId()
getUserId in interface ShoppingCouponModelpublic void setUserId(long userId)
setUserId in interface ShoppingCouponModel
public String getUserUuid()
throws SystemException
getUserUuid in interface ShoppingCouponModelSystemExceptionpublic void setUserUuid(String userUuid)
setUserUuid in interface ShoppingCouponModelpublic String getUserName()
getUserName in interface ShoppingCouponModelpublic void setUserName(String userName)
setUserName in interface ShoppingCouponModelpublic Date getCreateDate()
getCreateDate in interface ShoppingCouponModelpublic void setCreateDate(Date createDate)
setCreateDate in interface ShoppingCouponModelpublic Date getModifiedDate()
getModifiedDate in interface ShoppingCouponModelpublic void setModifiedDate(Date modifiedDate)
setModifiedDate in interface ShoppingCouponModelpublic String getCode()
getCode in interface ShoppingCouponModelpublic void setCode(String code)
setCode in interface ShoppingCouponModelpublic String getOriginalCode()
public String getName()
getName in interface ShoppingCouponModelpublic void setName(String name)
setName in interface ShoppingCouponModelpublic String getDescription()
getDescription in interface ShoppingCouponModelpublic void setDescription(String description)
setDescription in interface ShoppingCouponModelpublic Date getStartDate()
getStartDate in interface ShoppingCouponModelpublic void setStartDate(Date startDate)
setStartDate in interface ShoppingCouponModelpublic Date getEndDate()
getEndDate in interface ShoppingCouponModelpublic void setEndDate(Date endDate)
setEndDate in interface ShoppingCouponModelpublic boolean getActive()
getActive in interface ShoppingCouponModelpublic boolean isActive()
isActive in interface ShoppingCouponModelpublic void setActive(boolean active)
setActive in interface ShoppingCouponModelpublic String getLimitCategories()
getLimitCategories in interface ShoppingCouponModelpublic void setLimitCategories(String limitCategories)
setLimitCategories in interface ShoppingCouponModelpublic String getLimitSkus()
getLimitSkus in interface ShoppingCouponModelpublic void setLimitSkus(String limitSkus)
setLimitSkus in interface ShoppingCouponModelpublic double getMinOrder()
getMinOrder in interface ShoppingCouponModelpublic void setMinOrder(double minOrder)
setMinOrder in interface ShoppingCouponModelpublic double getDiscount()
getDiscount in interface ShoppingCouponModelpublic void setDiscount(double discount)
setDiscount in interface ShoppingCouponModelpublic String getDiscountType()
getDiscountType in interface ShoppingCouponModelpublic void setDiscountType(String discountType)
setDiscountType in interface ShoppingCouponModelpublic ShoppingCoupon toEscapedModel()
toEscapedModel in interface ShoppingCouponModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<ShoppingCoupon>getExpandoBridge in interface ShoppingCouponModelgetExpandoBridge in class BaseModelImpl<ShoppingCoupon>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<ShoppingCoupon>setExpandoBridgeAttributes in interface ShoppingCouponModelsetExpandoBridgeAttributes in class BaseModelImpl<ShoppingCoupon>serviceContext - the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<ShoppingCoupon>clone in interface ShoppingCouponModelclone in class BaseModelImpl<ShoppingCoupon>public int compareTo(ShoppingCoupon shoppingCoupon)
compareTo in interface ShoppingCouponModelcompareTo in interface Comparable<ShoppingCoupon>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface ShoppingCouponModelhashCode in class Objectpublic String toString()
toString in interface ShoppingCouponModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<ShoppingCoupon>toXmlString in interface ShoppingCouponModel
|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||