|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.shopping.model.ShoppingCouponWrapper
public class ShoppingCouponWrapper
This class is a wrapper for ShoppingCoupon.
ShoppingCoupon,
Serialized Form| Constructor Summary | |
|---|---|
ShoppingCouponWrapper(ShoppingCoupon shoppingCoupon)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(ShoppingCoupon shoppingCoupon)
|
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()
|
long |
getPrimaryKey()
|
Serializable |
getPrimaryKeyObj()
Gets the primary key for this model instance. |
Date |
getStartDate()
|
long |
getUserId()
|
String |
getUserName()
|
String |
getUserUuid()
|
ShoppingCoupon |
getWrappedShoppingCoupon()
|
int |
hashCode()
|
boolean |
hasValidDateRange()
|
boolean |
hasValidEndDate()
|
boolean |
hasValidStartDate()
|
boolean |
isActive()
|
boolean |
isCachedModel()
Determines if this model instance was retrieved from the entity cache. |
boolean |
isEscapedModel()
Determines if this model instance has been wrapped with an HTML auto escape handler. |
boolean |
isNew()
Determines if this model instance does not yet exist in the database. |
void |
setActive(boolean active)
|
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
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 |
setEscapedModel(boolean escapedModel)
Sets whether this model instance has been wrapped with an HTML auto escape handler. |
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 |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setPrimaryKey(long pk)
|
void |
setStartDate(Date startDate)
|
void |
setUserId(long userId)
|
void |
setUserName(String userName)
|
void |
setUserUuid(String userUuid)
|
ShoppingCoupon |
toEscapedModel()
|
String |
toString()
|
String |
toXmlString()
Gets the XML representation of this model instance. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ShoppingCouponWrapper(ShoppingCoupon shoppingCoupon)
| Method Detail |
|---|
public long getPrimaryKey()
getPrimaryKey in interface ShoppingCouponModelpublic void setPrimaryKey(long pk)
setPrimaryKey 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 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 boolean isNew()
BaseModel
isNew in interface BaseModel<ShoppingCoupon>isNew in interface ShoppingCouponModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void setNew(boolean n)
BaseModel
setNew in interface BaseModel<ShoppingCoupon>setNew in interface ShoppingCouponModeln - whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
isCachedModel in interface BaseModel<ShoppingCoupon>isCachedModel in interface ShoppingCouponModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<ShoppingCoupon>setCachedModel in interface ShoppingCouponModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModel
isEscapedModel in interface BaseModel<ShoppingCoupon>isEscapedModel in interface ShoppingCouponModeltrue if this model instance has been wrapped with an
HTML auto escape handler; false otherwiseBaseModel.setEscapedModel(boolean)public void setEscapedModel(boolean escapedModel)
BaseModel
A model instance can be wrapped with an HTML auto escape handler using
its toEscapedModel method. For example, UserModel.toEscapedModel().
setEscapedModel in interface BaseModel<ShoppingCoupon>setEscapedModel in interface ShoppingCouponModelescapedModel - whether this model instance has been wrapped with an
HTML auto escape handlerAutoEscapeBeanHandlerpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<ShoppingCoupon>getPrimaryKeyObj in interface ShoppingCouponModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<ShoppingCoupon>getExpandoBridge in interface ShoppingCouponModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<ShoppingCoupon>setExpandoBridgeAttributes in interface ShoppingCouponModelserviceContext - 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 Objectpublic int compareTo(ShoppingCoupon shoppingCoupon)
compareTo in interface ShoppingCouponModelcompareTo in interface Comparable<ShoppingCoupon>public 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 ShoppingCouponModelpublic boolean hasValidDateRange()
hasValidDateRange in interface ShoppingCouponpublic boolean hasValidEndDate()
hasValidEndDate in interface ShoppingCouponpublic boolean hasValidStartDate()
hasValidStartDate in interface ShoppingCouponpublic ShoppingCoupon getWrappedShoppingCoupon()
|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||