Class ProductEntity

java.lang.Object
org.exoplatform.perkstore.entity.ProductEntity
All Implemented Interfaces:
Serializable

@Entity(name="Product") public class ProductEntity extends Object implements Serializable
See Also:
  • Field Details

    • isDeleted

      protected boolean isDeleted
  • Constructor Details

    • ProductEntity

      public ProductEntity()
  • Method Details

    • getId

      public Long getId()
    • setId

      public void setId(Long id)
    • getTitle

      public String getTitle()
    • setTitle

      public void setTitle(String title)
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String description)
    • getIllustrationURL

      public String getIllustrationURL()
    • setIllustrationURL

      public void setIllustrationURL(String illustrationURL)
    • 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

      public List<Long> getMarchands()
    • setMarchands

      public void setMarchands(List<Long> marchands)
    • getAccessPermissions

      public List<Long> getAccessPermissions()
    • setAccessPermissions

      public void setAccessPermissions(List<Long> accessPermissions)
    • getOrderPeriodicity

      public ProductOrderPeriodType getOrderPeriodicity()
    • setOrderPeriodicity

      public void setOrderPeriodicity(ProductOrderPeriodType orderPeriodicity)
    • 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

      public Set<Long> getImages()
    • setImages

      public void setImages(Set<Long> images)
    • isDeleted

      public boolean isDeleted()
    • setDeleted

      public void setDeleted(boolean deleted)