@JSON(strict=true)
@ProviderType
public class ShoppingCouponModelImpl
extends com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.shopping.model.ShoppingCoupon>
implements com.liferay.shopping.model.ShoppingCouponModel
This implementation and its corresponding interface ShoppingCouponModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in ShoppingCouponImpl.
ShoppingCouponImpl,
ShoppingCoupon,
ShoppingCouponModel,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
static long |
CODE_COLUMN_BITMASK |
static boolean |
COLUMN_BITMASK_ENABLED |
static long |
CREATEDATE_COLUMN_BITMASK |
static java.lang.String |
DATA_SOURCE |
static boolean |
ENTITY_CACHE_ENABLED |
static boolean |
FINDER_CACHE_ENABLED |
static long |
GROUPID_COLUMN_BITMASK |
static long |
LOCK_EXPIRATION_TIME |
static java.lang.String |
ORDER_BY_JPQL |
static java.lang.String |
ORDER_BY_SQL |
static java.lang.String |
SESSION_FACTORY |
static java.lang.Object[][] |
TABLE_COLUMNS |
static java.util.Map<java.lang.String,java.lang.Integer> |
TABLE_COLUMNS_MAP |
static java.lang.String |
TABLE_NAME |
static java.lang.String |
TABLE_SQL_CREATE |
static java.lang.String |
TABLE_SQL_DROP |
static java.lang.String |
TX_MANAGER |
| Constructor and Description |
|---|
ShoppingCouponModelImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
int |
compareTo(com.liferay.shopping.model.ShoppingCoupon shoppingCoupon) |
boolean |
equals(java.lang.Object obj) |
boolean |
getActive() |
java.lang.String |
getCode() |
long |
getColumnBitmask() |
long |
getCompanyId() |
long |
getCouponId() |
java.util.Date |
getCreateDate() |
java.lang.String |
getDescription() |
double |
getDiscount() |
java.lang.String |
getDiscountType() |
java.util.Date |
getEndDate() |
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
long |
getGroupId() |
java.lang.String |
getLimitCategories() |
java.lang.String |
getLimitSkus() |
double |
getMinOrder() |
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
java.util.Date |
getModifiedDate() |
java.lang.String |
getName() |
java.lang.String |
getOriginalCode() |
long |
getOriginalGroupId() |
long |
getPrimaryKey() |
java.io.Serializable |
getPrimaryKeyObj() |
java.util.Date |
getStartDate() |
long |
getUserId() |
java.lang.String |
getUserName() |
java.lang.String |
getUserUuid() |
int |
hashCode() |
boolean |
hasSetModifiedDate() |
boolean |
isActive() |
boolean |
isEntityCacheEnabled() |
boolean |
isFinderCacheEnabled() |
void |
resetOriginalValues() |
void |
setActive(boolean active) |
void |
setCode(java.lang.String code) |
void |
setCompanyId(long companyId) |
void |
setCouponId(long couponId) |
void |
setCreateDate(java.util.Date createDate) |
void |
setDescription(java.lang.String description) |
void |
setDiscount(double discount) |
void |
setDiscountType(java.lang.String discountType) |
void |
setEndDate(java.util.Date endDate) |
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
setGroupId(long groupId) |
void |
setLimitCategories(java.lang.String limitCategories) |
void |
setLimitSkus(java.lang.String limitSkus) |
void |
setMinOrder(double minOrder) |
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setModifiedDate(java.util.Date modifiedDate) |
void |
setName(java.lang.String name) |
void |
setPrimaryKey(long primaryKey) |
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj) |
void |
setStartDate(java.util.Date startDate) |
void |
setUserId(long userId) |
void |
setUserName(java.lang.String userName) |
void |
setUserUuid(java.lang.String userUuid) |
com.liferay.portal.kernel.model.CacheModel<com.liferay.shopping.model.ShoppingCoupon> |
toCacheModel() |
com.liferay.shopping.model.ShoppingCoupon |
toEscapedModel() |
static com.liferay.shopping.model.ShoppingCoupon |
toModel(com.liferay.shopping.model.ShoppingCouponSoap soapModel)
Converts the soap model instance into a normal model instance.
|
static java.util.List<com.liferay.shopping.model.ShoppingCoupon> |
toModels(com.liferay.shopping.model.ShoppingCouponSoap[] soapModels)
Converts the soap model instances into normal model instances.
|
java.lang.String |
toString() |
java.lang.String |
toXmlString() |
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModelpublic static final java.lang.String TABLE_NAME
public static final java.lang.Object[][] TABLE_COLUMNS
public static final java.util.Map<java.lang.String,java.lang.Integer> TABLE_COLUMNS_MAP
public static final java.lang.String TABLE_SQL_CREATE
public static final java.lang.String TABLE_SQL_DROP
public static final java.lang.String ORDER_BY_JPQL
public static final java.lang.String ORDER_BY_SQL
public static final java.lang.String DATA_SOURCE
public static final java.lang.String SESSION_FACTORY
public static final java.lang.String TX_MANAGER
public static final boolean ENTITY_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
public static final boolean COLUMN_BITMASK_ENABLED
public static final long CODE_COLUMN_BITMASK
public static final long GROUPID_COLUMN_BITMASK
public static final long CREATEDATE_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
public static com.liferay.shopping.model.ShoppingCoupon toModel(com.liferay.shopping.model.ShoppingCouponSoap soapModel)
soapModel - the soap model instance to convertpublic static java.util.List<com.liferay.shopping.model.ShoppingCoupon> toModels(com.liferay.shopping.model.ShoppingCouponSoap[] soapModels)
soapModels - the soap model instances to convertpublic long getPrimaryKey()
getPrimaryKey in interface com.liferay.shopping.model.ShoppingCouponModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface com.liferay.shopping.model.ShoppingCouponModelpublic java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.shopping.model.ShoppingCoupon>getPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelgetPrimaryKeyObj in interface com.liferay.shopping.model.ShoppingCouponModelpublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.shopping.model.ShoppingCoupon>setPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelsetPrimaryKeyObj in interface com.liferay.shopping.model.ShoppingCouponModelpublic java.lang.Class<?> getModelClass()
getModelClass in interface com.liferay.portal.kernel.model.ClassedModelpublic java.lang.String getModelClassName()
getModelClassName in interface com.liferay.portal.kernel.model.ClassedModelpublic java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.shopping.model.ShoppingCoupon>getModelAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.shopping.model.ShoppingCoupon>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.shopping.model.ShoppingCoupon>setModelAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.shopping.model.ShoppingCoupon>@JSON public long getCouponId()
getCouponId in interface com.liferay.shopping.model.ShoppingCouponModelpublic void setCouponId(long couponId)
setCouponId in interface com.liferay.shopping.model.ShoppingCouponModel@JSON public long getGroupId()
getGroupId in interface com.liferay.portal.kernel.model.GroupedModelgetGroupId in interface com.liferay.shopping.model.ShoppingCouponModelpublic void setGroupId(long groupId)
setGroupId in interface com.liferay.portal.kernel.model.GroupedModelsetGroupId in interface com.liferay.shopping.model.ShoppingCouponModelpublic long getOriginalGroupId()
@JSON public long getCompanyId()
getCompanyId in interface com.liferay.portal.kernel.model.AuditedModelgetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelgetCompanyId in interface com.liferay.shopping.model.ShoppingCouponModelpublic void setCompanyId(long companyId)
setCompanyId in interface com.liferay.portal.kernel.model.AuditedModelsetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelsetCompanyId in interface com.liferay.shopping.model.ShoppingCouponModel@JSON public long getUserId()
getUserId in interface com.liferay.portal.kernel.model.AuditedModelgetUserId in interface com.liferay.shopping.model.ShoppingCouponModelpublic void setUserId(long userId)
setUserId in interface com.liferay.portal.kernel.model.AuditedModelsetUserId in interface com.liferay.shopping.model.ShoppingCouponModelpublic java.lang.String getUserUuid()
getUserUuid in interface com.liferay.portal.kernel.model.AuditedModelgetUserUuid in interface com.liferay.shopping.model.ShoppingCouponModelpublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface com.liferay.portal.kernel.model.AuditedModelsetUserUuid in interface com.liferay.shopping.model.ShoppingCouponModel@JSON public java.lang.String getUserName()
getUserName in interface com.liferay.portal.kernel.model.AuditedModelgetUserName in interface com.liferay.shopping.model.ShoppingCouponModelpublic void setUserName(java.lang.String userName)
setUserName in interface com.liferay.portal.kernel.model.AuditedModelsetUserName in interface com.liferay.shopping.model.ShoppingCouponModel@JSON public java.util.Date getCreateDate()
getCreateDate in interface com.liferay.portal.kernel.model.AuditedModelgetCreateDate in interface com.liferay.shopping.model.ShoppingCouponModelpublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface com.liferay.portal.kernel.model.AuditedModelsetCreateDate in interface com.liferay.shopping.model.ShoppingCouponModel@JSON public java.util.Date getModifiedDate()
getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelgetModifiedDate in interface com.liferay.shopping.model.ShoppingCouponModelpublic boolean hasSetModifiedDate()
public void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelsetModifiedDate in interface com.liferay.shopping.model.ShoppingCouponModel@JSON public java.lang.String getCode()
getCode in interface com.liferay.shopping.model.ShoppingCouponModelpublic void setCode(java.lang.String code)
setCode in interface com.liferay.shopping.model.ShoppingCouponModelpublic java.lang.String getOriginalCode()
@JSON public java.lang.String getName()
getName in interface com.liferay.shopping.model.ShoppingCouponModelpublic void setName(java.lang.String name)
setName in interface com.liferay.shopping.model.ShoppingCouponModel@JSON public java.lang.String getDescription()
getDescription in interface com.liferay.shopping.model.ShoppingCouponModelpublic void setDescription(java.lang.String description)
setDescription in interface com.liferay.shopping.model.ShoppingCouponModel@JSON public java.util.Date getStartDate()
getStartDate in interface com.liferay.shopping.model.ShoppingCouponModelpublic void setStartDate(java.util.Date startDate)
setStartDate in interface com.liferay.shopping.model.ShoppingCouponModel@JSON public java.util.Date getEndDate()
getEndDate in interface com.liferay.shopping.model.ShoppingCouponModelpublic void setEndDate(java.util.Date endDate)
setEndDate in interface com.liferay.shopping.model.ShoppingCouponModel@JSON public boolean getActive()
getActive in interface com.liferay.shopping.model.ShoppingCouponModelpublic boolean isActive()
isActive in interface com.liferay.shopping.model.ShoppingCouponModelpublic void setActive(boolean active)
setActive in interface com.liferay.shopping.model.ShoppingCouponModel@JSON public java.lang.String getLimitCategories()
getLimitCategories in interface com.liferay.shopping.model.ShoppingCouponModelpublic void setLimitCategories(java.lang.String limitCategories)
setLimitCategories in interface com.liferay.shopping.model.ShoppingCouponModel@JSON public java.lang.String getLimitSkus()
getLimitSkus in interface com.liferay.shopping.model.ShoppingCouponModelpublic void setLimitSkus(java.lang.String limitSkus)
setLimitSkus in interface com.liferay.shopping.model.ShoppingCouponModel@JSON public double getMinOrder()
getMinOrder in interface com.liferay.shopping.model.ShoppingCouponModelpublic void setMinOrder(double minOrder)
setMinOrder in interface com.liferay.shopping.model.ShoppingCouponModel@JSON public double getDiscount()
getDiscount in interface com.liferay.shopping.model.ShoppingCouponModelpublic void setDiscount(double discount)
setDiscount in interface com.liferay.shopping.model.ShoppingCouponModel@JSON public java.lang.String getDiscountType()
getDiscountType in interface com.liferay.shopping.model.ShoppingCouponModelpublic void setDiscountType(java.lang.String discountType)
setDiscountType in interface com.liferay.shopping.model.ShoppingCouponModelpublic long getColumnBitmask()
public com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.shopping.model.ShoppingCoupon>getExpandoBridge in interface com.liferay.portal.kernel.model.ClassedModelgetExpandoBridge in interface com.liferay.shopping.model.ShoppingCouponModelgetExpandoBridge in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.shopping.model.ShoppingCoupon>public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.shopping.model.ShoppingCoupon>setExpandoBridgeAttributes in interface com.liferay.shopping.model.ShoppingCouponModelsetExpandoBridgeAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.shopping.model.ShoppingCoupon>public com.liferay.shopping.model.ShoppingCoupon toEscapedModel()
toEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.shopping.model.ShoppingCoupon>toEscapedModel in interface com.liferay.shopping.model.ShoppingCouponModeltoEscapedModel in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.shopping.model.ShoppingCoupon>public java.lang.Object clone()
clone in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.shopping.model.ShoppingCoupon>clone in interface com.liferay.shopping.model.ShoppingCouponModelclone in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.shopping.model.ShoppingCoupon>public int compareTo(com.liferay.shopping.model.ShoppingCoupon shoppingCoupon)
compareTo in interface com.liferay.shopping.model.ShoppingCouponModelcompareTo in interface java.lang.Comparable<com.liferay.shopping.model.ShoppingCoupon>public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in interface com.liferay.shopping.model.ShoppingCouponModelhashCode in class java.lang.Objectpublic boolean isEntityCacheEnabled()
isEntityCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.shopping.model.ShoppingCoupon>public boolean isFinderCacheEnabled()
isFinderCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.shopping.model.ShoppingCoupon>public void resetOriginalValues()
resetOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.shopping.model.ShoppingCoupon>resetOriginalValues in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.shopping.model.ShoppingCoupon>public com.liferay.portal.kernel.model.CacheModel<com.liferay.shopping.model.ShoppingCoupon> toCacheModel()
toCacheModel in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.shopping.model.ShoppingCoupon>toCacheModel in interface com.liferay.shopping.model.ShoppingCouponModeltoCacheModel in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.shopping.model.ShoppingCoupon>public java.lang.String toString()
toString in interface com.liferay.shopping.model.ShoppingCouponModeltoString in class java.lang.Objectpublic java.lang.String toXmlString()
toXmlString in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.shopping.model.ShoppingCoupon>toXmlString in interface com.liferay.shopping.model.ShoppingCouponModel