|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@ProviderType 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
.
ShoppingCoupon
,
ShoppingCouponImpl
,
ShoppingCouponModelImpl
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(ShoppingCoupon shoppingCoupon)
|
boolean |
getActive()
Returns the active of this shopping coupon. |
String |
getCode()
Returns the code of this shopping coupon. |
long |
getCompanyId()
Returns the company ID of this shopping coupon. |
long |
getCouponId()
Returns the coupon ID of this shopping coupon. |
Date |
getCreateDate()
Returns the create date of this shopping coupon. |
String |
getDescription()
Returns the description of this shopping coupon. |
double |
getDiscount()
Returns the discount of this shopping coupon. |
String |
getDiscountType()
Returns the discount type of this shopping coupon. |
Date |
getEndDate()
Returns the end date of this shopping coupon. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
long |
getGroupId()
Returns the group ID of this shopping coupon. |
String |
getLimitCategories()
Returns the limit categories of this shopping coupon. |
String |
getLimitSkus()
Returns the limit skus of this shopping coupon. |
double |
getMinOrder()
Returns the min order of this shopping coupon. |
Date |
getModifiedDate()
Returns the modified date of this shopping coupon. |
String |
getName()
Returns the name of this shopping coupon. |
long |
getPrimaryKey()
Returns the primary key of this shopping coupon. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
Date |
getStartDate()
Returns the start date of this shopping coupon. |
long |
getUserId()
Returns the user ID of this shopping coupon. |
String |
getUserName()
Returns the user name of this shopping coupon. |
String |
getUserUuid()
Returns the user uuid of this shopping coupon. |
int |
hashCode()
|
boolean |
isActive()
Returns true if this shopping coupon is active. |
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 |
setActive(boolean active)
Sets whether this shopping coupon 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 |
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 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 primaryKey)
Sets the primary key of this shopping coupon. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
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. |
CacheModel<ShoppingCoupon> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
ShoppingCoupon |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler . |
String |
toString()
|
ShoppingCoupon |
toUnescapedModel()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
Methods inherited from interface com.liferay.portal.model.BaseModel |
---|
getModelAttributes, resetOriginalValues, setModelAttributes |
Methods inherited from interface com.liferay.portal.model.ClassedModel |
---|
getModelClass, getModelClassName |
Method Detail |
---|
long getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey
- the primary key of this shopping couponlong getCouponId()
void setCouponId(long couponId)
couponId
- the coupon ID of this shopping couponlong getGroupId()
getGroupId
in interface GroupedModel
void setGroupId(long groupId)
setGroupId
in interface GroupedModel
groupId
- the group ID of this shopping couponlong getCompanyId()
getCompanyId
in interface AuditedModel
void setCompanyId(long companyId)
setCompanyId
in interface AuditedModel
companyId
- the company ID of this shopping couponlong getUserId()
getUserId
in interface AuditedModel
void setUserId(long userId)
setUserId
in interface AuditedModel
userId
- the user ID of this shopping couponString getUserUuid() throws SystemException
getUserUuid
in interface AuditedModel
SystemException
- if a system exception occurredvoid setUserUuid(String userUuid)
setUserUuid
in interface AuditedModel
userUuid
- the user uuid of this shopping coupon@AutoEscape String getUserName()
getUserName
in interface AuditedModel
void setUserName(String userName)
setUserName
in interface AuditedModel
userName
- the user name of this shopping couponDate getCreateDate()
getCreateDate
in interface AuditedModel
void setCreateDate(Date createDate)
setCreateDate
in interface AuditedModel
createDate
- the create date of this shopping couponDate getModifiedDate()
getModifiedDate
in interface AuditedModel
void setModifiedDate(Date modifiedDate)
setModifiedDate
in interface AuditedModel
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()
true
if this shopping coupon is active.
true
if this shopping coupon is active; false
otherwisevoid 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 couponboolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.
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
true
if this model instance was retrieved from the
entity cache.
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 cacheEntityCache
boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.
isEscapedModel
in interface BaseModel<ShoppingCoupon>
true
if this model instance is escaped;
false
otherwiseSerializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<ShoppingCoupon>
getPrimaryKeyObj
in interface ClassedModel
void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<ShoppingCoupon>
setPrimaryKeyObj
in interface ClassedModel
primaryKeyObj
- the primary key of this model instanceExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<ShoppingCoupon>
getExpandoBridge
in interface ClassedModel
void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface BaseModel<ShoppingCoupon>
void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface BaseModel<ShoppingCoupon>
void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<ShoppingCoupon>
serviceContext
- the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)
Object clone()
BaseModel
clone
in interface BaseModel<ShoppingCoupon>
int compareTo(ShoppingCoupon shoppingCoupon)
compareTo
in interface Comparable<ShoppingCoupon>
int hashCode()
hashCode
in class Object
CacheModel<ShoppingCoupon> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<ShoppingCoupon>
ShoppingCoupon toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<ShoppingCoupon>
AutoEscapeBeanHandler
ShoppingCoupon toUnescapedModel()
toUnescapedModel
in interface BaseModel<ShoppingCoupon>
String toString()
toString
in class Object
String toXmlString()
BaseModel
toXmlString
in interface BaseModel<ShoppingCoupon>
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |