Class SkuImplTest.ProxyLikeSku

java.lang.Object
org.broadleafcommerce.core.catalog.domain.SkuImpl
org.broadleafcommerce.core.catalog.domain.SkuImplTest.ProxyLikeSku
All Implemented Interfaces:
Serializable, org.broadleafcommerce.common.copy.MultiTenantCloneable<org.broadleafcommerce.core.catalog.domain.Sku>, org.broadleafcommerce.core.catalog.domain.Indexable, org.broadleafcommerce.core.catalog.domain.Sku, org.broadleafcommerce.core.catalog.domain.SkuAdminPresentation
Enclosing class:
SkuImplTest

protected static class SkuImplTest.ProxyLikeSku extends org.broadleafcommerce.core.catalog.domain.SkuImpl
Mimics an uninitialized Hibernate proxy: the id field is never populated, but getId() returns the identifier.
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.broadleafcommerce.core.catalog.domain.SkuAdminPresentation

    org.broadleafcommerce.core.catalog.domain.SkuAdminPresentation.FieldOrder, org.broadleafcommerce.core.catalog.domain.SkuAdminPresentation.GroupName, org.broadleafcommerce.core.catalog.domain.SkuAdminPresentation.GroupOrder, org.broadleafcommerce.core.catalog.domain.SkuAdminPresentation.TabName, org.broadleafcommerce.core.catalog.domain.SkuAdminPresentation.TabOrder
  • Field Summary

    Fields inherited from class org.broadleafcommerce.core.catalog.domain.SkuImpl

    activeEndDate, activeStartDate, available, cost, currency, defaultProduct, description, dimension, discountable, displayTemplate, excludedFulfillmentOptions, externalId, fees, fulfillmentFlatRates, fulfillmentType, id, inventoryType, isMachineSortable, legacyProductOptionValues, legacySkuMedia, longDescription, name, product, productOptionValueXrefs, quantityAvailable, retailPrice, salePrice, skuAttributes, skuMedia, taxable, taxCode, upc, urlKey, weight
  • Method Summary

    Modifier and Type
    Method
    Description
     

    Methods inherited from class org.broadleafcommerce.core.catalog.domain.SkuImpl

    clearDynamicPrices, createOrRetrieveCopyInstance, equals, getActiveEndDate, getActiveStartDate, getAvailable, getBaseRetailPrice, getBaseSalePrice, getCost, getCurrency, getDefaultProduct, getDescription, getDimension, getDiscountable, getDisplayTemplate, getExcludedFulfillmentOptions, getExternalId, getFees, getFieldEntityType, getFulfillmentFlatRates, getFulfillmentType, getInventoryType, getIsMachineSortable, getListPrice, getLongDescription, getMargin, getMultiValueSkuAttributes, getName, getPrice, getPriceData, getPrimarySkuMedia, getProduct, getProductOptionValueAdjustments, getProductOptionValues, getProductOptionValuesCollection, getProductOptionValueXrefs, getQuantityAvailable, getRetailPrice, getRetailPriceInternal, getSalePrice, getSkuAttributes, getSkuMedia, getSkuMediaXref, getSkuMediaXrefIgnoreDefaultSku, getTaxable, getTaxCode, getUpc, getUrlKey, getWeight, hasDefaultSku, hashCode, hasRetailPrice, hasSalePrice, isActive, isActive, isAvailable, isDiscountable, isMachineSortable, isOnSale, isOrderedSkuMedia, isTaxable, lookupDefaultSku, setActiveEndDate, setActiveStartDate, setAvailable, setCost, setCurrency, setDefaultProduct, setDescription, setDimension, setDiscountable, setDisplayTemplate, setExcludedFulfillmentOptions, setExternalId, setFees, setFulfillmentFlatRates, setFulfillmentType, setId, setInventoryType, setIsMachineSortable, setListPrice, setLongDescription, setMachineSortable, setName, setProduct, setProductOptionValues, setProductOptionValuesCollection, setProductOptionValueXrefs, setQuantityAvailable, setRetailPrice, setSalePrice, setSkuAttributes, setSkuMedia, setSkuMediaXref, setTaxable, setTaxCode, setUpc, setUrlKey, setWeight, sortSkuMedia

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • getId

      public Long getId()
      Specified by:
      getId in interface org.broadleafcommerce.core.catalog.domain.Indexable
      Specified by:
      getId in interface org.broadleafcommerce.core.catalog.domain.Sku
      Overrides:
      getId in class org.broadleafcommerce.core.catalog.domain.SkuImpl