|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ShoppingCouponModel
The base model interface for the ShoppingCoupon service. Represents a row in the "ShoppingCoupon" database table, with each column mapped to a property of this class.
This interface and its corresponding implementation ShoppingCouponModelImpl exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in ShoppingCouponImpl.
Never modify or reference this interface directly. All methods that expect a shopping coupon model instance should use the ShoppingCoupon interface instead.
ShoppingCoupon,
ShoppingCouponImpl,
ShoppingCouponModelImpl| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(ShoppingCoupon shoppingCoupon)
|
boolean |
getActive()
Gets the active of this shopping coupon. |
String |
getCode()
Gets the code of this shopping coupon. |
long |
getCompanyId()
Gets the company id of this shopping coupon. |
long |
getCouponId()
Gets the coupon id of this shopping coupon. |
Date |
getCreateDate()
Gets the create date of this shopping coupon. |
String |
getDescription()
Gets the description of this shopping coupon. |
double |
getDiscount()
Gets the discount of this shopping coupon. |
String |
getDiscountType()
Gets the discount type of this shopping coupon. |
Date |
getEndDate()
Gets the end date of this shopping coupon. |
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
long |
getGroupId()
Gets the group id of this shopping coupon. |
String |
getLimitCategories()
Gets the limit categories of this shopping coupon. |
String |
getLimitSkus()
Gets the limit skus of this shopping coupon. |
double |
getMinOrder()
Gets the min order of this shopping coupon. |
Date |
getModifiedDate()
Gets the modified date of this shopping coupon. |
String |
getName()
Gets the name of this shopping coupon. |
long |
getPrimaryKey()
Gets the primary key of this shopping coupon. |
Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
Date |
getStartDate()
Gets the start date of this shopping coupon. |
long |
getUserId()
Gets the user id of this shopping coupon. |
String |
getUserName()
Gets the user name of this shopping coupon. |
String |
getUserUuid()
Gets the user uuid of this shopping coupon. |
int |
hashCode()
|
boolean |
isActive()
Determines whether this shopping coupon is active. |
boolean |
isCachedModel()
Determines if this model instance was retrieved from the entity cache. |
boolean |
isEscapedModel()
Determines if this model instance is escaped. |
boolean |
isNew()
Determines if this model instance does not yet exist in the database. |
void |
setActive(boolean active)
Sets whether this {$entity.humanName} is active. |
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
void |
setCode(String code)
Sets the code of this shopping coupon. |
void |
setCompanyId(long companyId)
Sets the company id of this shopping coupon. |
void |
setCouponId(long couponId)
Sets the coupon id of this shopping coupon. |
void |
setCreateDate(Date createDate)
Sets the create date of this shopping coupon. |
void |
setDescription(String description)
Sets the description of this shopping coupon. |
void |
setDiscount(double discount)
Sets the discount of this shopping coupon. |
void |
setDiscountType(String discountType)
Sets the discount type of this shopping coupon. |
void |
setEndDate(Date endDate)
Sets the end date of this shopping coupon. |
void |
setEscapedModel(boolean escapedModel)
Sets whether this model instance is escaped, meaning that all strings returned from getter methods are HTML safe. |
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 coupon. |
void |
setLimitCategories(String limitCategories)
Sets the limit categories of this shopping coupon. |
void |
setLimitSkus(String limitSkus)
Sets the limit skus of this shopping coupon. |
void |
setMinOrder(double minOrder)
Sets the min order of this shopping coupon. |
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this shopping coupon. |
void |
setName(String name)
Sets the name of this shopping coupon. |
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setPrimaryKey(long pk)
Sets the primary key of this shopping coupon |
void |
setStartDate(Date startDate)
Sets the start date of this shopping coupon. |
void |
setUserId(long userId)
Sets the user id of this shopping coupon. |
void |
setUserName(String userName)
Sets the user name of this shopping coupon. |
void |
setUserUuid(String userUuid)
Sets the user uuid of this shopping coupon. |
ShoppingCoupon |
toEscapedModel()
Gets a copy of this shopping coupon as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
String |
toString()
|
String |
toXmlString()
Gets the XML representation of this model instance. |
| Method Detail |
|---|
long getPrimaryKey()
void setPrimaryKey(long pk)
pk - the primary key of this shopping couponlong getCouponId()
void setCouponId(long couponId)
couponId - the coupon id of this shopping couponlong getGroupId()
void setGroupId(long groupId)
groupId - the group id of this shopping couponlong getCompanyId()
void setCompanyId(long companyId)
companyId - the company id of this shopping couponlong getUserId()
void setUserId(long userId)
userId - the user id of this shopping coupon
String getUserUuid()
throws SystemException
SystemException - if a system exception occurredvoid setUserUuid(String userUuid)
userUuid - the user uuid of this shopping coupon@AutoEscape String getUserName()
void setUserName(String userName)
userName - the user name of this shopping couponDate getCreateDate()
void setCreateDate(Date createDate)
createDate - the create date of this shopping couponDate getModifiedDate()
void setModifiedDate(Date modifiedDate)
modifiedDate - the modified date of this shopping coupon@AutoEscape String getCode()
void setCode(String code)
code - the code of this shopping coupon@AutoEscape String getName()
void setName(String name)
name - the name of this shopping coupon@AutoEscape String getDescription()
void setDescription(String description)
description - the description of this shopping couponDate getStartDate()
void setStartDate(Date startDate)
startDate - the start date of this shopping couponDate getEndDate()
void setEndDate(Date endDate)
endDate - the end date of this shopping couponboolean getActive()
boolean isActive()
void setActive(boolean active)
active - the active of this shopping coupon@AutoEscape String getLimitCategories()
void setLimitCategories(String limitCategories)
limitCategories - the limit categories of this shopping coupon@AutoEscape String getLimitSkus()
void setLimitSkus(String limitSkus)
limitSkus - the limit skus of this shopping coupondouble getMinOrder()
void setMinOrder(double minOrder)
minOrder - the min order of this shopping coupondouble getDiscount()
void setDiscount(double discount)
discount - the discount of this shopping coupon@AutoEscape String getDiscountType()
void setDiscountType(String discountType)
discountType - the discount type of this shopping couponShoppingCoupon toEscapedModel()
AutoEscapeBeanHandler.
AutoEscapeBeanHandlerboolean isNew()
BaseModel
isNew in interface BaseModel<ShoppingCoupon>true if this model instance does not yet exist in
the database; false otherwisevoid setNew(boolean n)
BaseModel
setNew in interface BaseModel<ShoppingCoupon>n - whether this model instance does not yet exist in the databaseboolean isCachedModel()
BaseModel
isCachedModel in interface BaseModel<ShoppingCoupon>true if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<ShoppingCoupon>cachedModel - whether this model instance was retrieved from the
entity cacheEntityCacheboolean isEscapedModel()
BaseModel
isEscapedModel in interface BaseModel<ShoppingCoupon>true if this model instance is escaped;
false otherwiseBaseModel.setEscapedModel(boolean)void setEscapedModel(boolean escapedModel)
BaseModel
A model instance can be made escaped by wrapping it with an HTML auto
escape handler using its toEscapedModel method. For example,
UserModel.toEscapedModel().
setEscapedModel in interface BaseModel<ShoppingCoupon>escapedModel - whether this model instance is escapedAutoEscapeBeanHandlerSerializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<ShoppingCoupon>ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<ShoppingCoupon>void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<ShoppingCoupon>serviceContext - the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)Object clone()
BaseModel
clone in interface BaseModel<ShoppingCoupon>int compareTo(ShoppingCoupon shoppingCoupon)
compareTo in interface Comparable<ShoppingCoupon>int hashCode()
hashCode in class ObjectString toString()
toString in class ObjectString toXmlString()
BaseModel
toXmlString in interface BaseModel<ShoppingCoupon>
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||