Package org.exoplatform.perkstore.entity
Class ProductEntity
java.lang.Object
org.exoplatform.perkstore.entity.ProductEntity
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlonglonggetId()longlongdoubledoublegetPrice()longgetTitle()doublebooleanbooleanbooleanbooleanvoidsetAccessPermissions(List<Long> accessPermissions) voidsetAllowFraction(boolean allowFraction) voidsetCreatedDate(long createdDate) voidsetCreator(long creator) voidsetDeleted(boolean deleted) voidsetDescription(String description) voidsetEnabled(boolean enabled) voidvoidsetIllustrationURL(String illustrationURL) voidvoidsetLastModifiedDate(long lastModifiedDate) voidsetLastModifier(long lastModifier) voidsetMarchands(List<Long> marchands) voidsetMaxOrdersPerUser(double maxOrdersPerUser) voidsetOrderPeriodicity(ProductOrderPeriodType orderPeriodicity) voidsetPrice(double price) voidsetReceiverId(long receiverId) voidvoidsetTotalSupply(double totalSupply) voidsetUnlimited(boolean unlimited)
-
Field Details
-
isDeleted
protected boolean isDeleted
-
-
Constructor Details
-
ProductEntity
public ProductEntity()
-
-
Method Details
-
getId
-
setId
-
getTitle
-
setTitle
-
getDescription
-
setDescription
-
getIllustrationURL
-
setIllustrationURL
-
isEnabled
public boolean isEnabled() -
setEnabled
public void setEnabled(boolean enabled) -
isUnlimited
public boolean isUnlimited() -
setUnlimited
public void setUnlimited(boolean unlimited) -
isAllowFraction
public boolean isAllowFraction() -
setAllowFraction
public void setAllowFraction(boolean allowFraction) -
getTotalSupply
public double getTotalSupply() -
setTotalSupply
public void setTotalSupply(double totalSupply) -
getPrice
public double getPrice() -
setPrice
public void setPrice(double price) -
getReceiverId
public long getReceiverId() -
setReceiverId
public void setReceiverId(long receiverId) -
getMarchands
-
setMarchands
-
getAccessPermissions
-
setAccessPermissions
-
getOrderPeriodicity
-
setOrderPeriodicity
-
getMaxOrdersPerUser
public double getMaxOrdersPerUser() -
setMaxOrdersPerUser
public void setMaxOrdersPerUser(double maxOrdersPerUser) -
getCreatedDate
public long getCreatedDate() -
setCreatedDate
public void setCreatedDate(long createdDate) -
getLastModifiedDate
public long getLastModifiedDate() -
setLastModifiedDate
public void setLastModifiedDate(long lastModifiedDate) -
getCreator
public long getCreator() -
setCreator
public void setCreator(long creator) -
getLastModifier
public long getLastModifier() -
setLastModifier
public void setLastModifier(long lastModifier) -
getImages
-
setImages
-
isDeleted
public boolean isDeleted() -
setDeleted
public void setDeleted(boolean deleted)
-